org.aspectj.ajdt.internal.compiler.lookup
Class EclipseTypeMunger
java.lang.Object
org.aspectj.weaver.ConcreteTypeMunger
org.aspectj.ajdt.internal.compiler.lookup.EclipseTypeMunger
- All Implemented Interfaces:
- PartialOrder.PartialComparable
public class EclipseTypeMunger
- extends ConcreteTypeMunger
| Methods inherited from class org.aspectj.weaver.ConcreteTypeMunger |
compareTo, equivalentTo, existsToSupportShadowMunging, fallbackCompareTo, getAspectType, getMatchingSyntheticMember, getMunger, getSignature, getWorld, isLateMunger, isTargetTypeParameterized, matches, shouldOverwrite |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
sourceMethod
public AbstractMethodDeclaration sourceMethod
EclipseTypeMunger
public EclipseTypeMunger(EclipseFactory world,
ResolvedTypeMunger munger,
ResolvedType aspectType,
AbstractMethodDeclaration sourceMethod)
supportsKind
public static boolean supportsKind(ResolvedTypeMunger.Kind kind)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
munge
public boolean munge(SourceTypeBinding sourceType,
ResolvedType onType)
- Modifies signatures of a TypeBinding through its ClassScope, i.e. adds Method|FieldBindings, plays with inheritance, ...
getSourceLocation
public ISourceLocation getSourceLocation()
- Overrides:
getSourceLocation in class ConcreteTypeMunger
setSourceLocation
public void setSourceLocation(ISourceLocation sourceLocation)
getSourceMethod
public AbstractMethodDeclaration getSourceMethod()
- Returns:
- AbstractMethodDeclaration
parameterizedFor
public ConcreteTypeMunger parameterizedFor(ResolvedType target)
- Description copied from class:
ConcreteTypeMunger
- For an ITD made on a generic type that shares type variables with that target type, this method will tailor the ITD for a
particular usage of the generic type - either in its raw or parameterized form.
- Specified by:
parameterizedFor in class ConcreteTypeMunger
parameterizeWith
public ConcreteTypeMunger parameterizeWith(java.util.Map m,
World w)
- Specified by:
parameterizeWith in class ConcreteTypeMunger