Class EclipseTypeMunger
java.lang.Object
org.aspectj.weaver.ConcreteTypeMunger
org.aspectj.ajdt.internal.compiler.lookup.EclipseTypeMunger
- All Implemented Interfaces:
PartialOrder.PartialComparable
-
Field Summary
FieldsFields inherited from class ConcreteTypeMunger
aspectType, munger -
Constructor Summary
ConstructorsConstructorDescriptionEclipseTypeMunger(EclipseFactory world, ResolvedTypeMunger munger, ResolvedType aspectType, AbstractMethodDeclaration sourceMethod) -
Method Summary
Modifier and TypeMethodDescriptionbooleanmunge(SourceTypeBinding sourceType, ResolvedType onType) Modifies signatures of a TypeBinding through its ClassScope, i.e.parameterizedFor(ResolvedType target) 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.parameterizeWith(Map<String, UnresolvedType> m, World w) voidsetSourceLocation(ISourceLocation sourceLocation) static booleantoString()Methods inherited from class ConcreteTypeMunger
compareTo, equivalentTo, existsToSupportShadowMunging, fallbackCompareTo, getAspectType, getMatchingSyntheticMember, getMunger, getSignature, getWorld, isLateMunger, isTargetTypeParameterized, matches, shouldOverwriteModifier and TypeMethodDescriptionintbooleanequivalentTo(Object other) Equivalence can be true for an EclipseTypeMunger and a BcelTypeMunger that represent the same transformation (just at different points in the pipeline).booleanSome type mungers are created purely to help with the implementation of shadow mungers.intfallbackCompareTo(Object other) This method can provide a deterministic ordering for elements that are strictly not comparable.getMatchingSyntheticMember(Member member) returns null for mungers that are used internally, but were not part of a declared thing in source code.getWorld()booleanbooleanreturns true if the ITD target type used type variables, for example I<T>.booleanmatches(ResolvedType onType) boolean
-
Field Details
-
sourceMethod
-
-
Constructor Details
-
EclipseTypeMunger
public EclipseTypeMunger(EclipseFactory world, ResolvedTypeMunger munger, ResolvedType aspectType, AbstractMethodDeclaration sourceMethod)
-
-
Method Details
-
supportsKind
-
toString
-
munge
Modifies signatures of a TypeBinding through its ClassScope, i.e. adds Method|FieldBindings, plays with inheritance, ... -
getSourceLocation
- Overrides:
getSourceLocationin classConcreteTypeMunger
-
setSourceLocation
-
getSourceMethod
- Returns:
- AbstractMethodDeclaration
-
parameterizedFor
Description copied from class:ConcreteTypeMungerFor 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:
parameterizedForin classConcreteTypeMunger
-
parameterizeWith
- Specified by:
parameterizeWithin classConcreteTypeMunger
-