|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.aspectj.weaver.ConcreteTypeMunger
public abstract class ConcreteTypeMunger
Field Summary | |
---|---|
protected ResolvedType |
aspectType
|
protected ResolvedTypeMunger |
munger
|
Constructor Summary | |
---|---|
ConcreteTypeMunger(ResolvedTypeMunger munger,
ResolvedType aspectType)
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object other)
|
boolean |
equivalentTo(java.lang.Object other)
Equivalence can be true for an EclipseTypeMunger and a BcelTypeMunger that represent the same transformation (just at different points in the pipeline). |
boolean |
existsToSupportShadowMunging()
Some type mungers are created purely to help with the implementation of shadow mungers. |
int |
fallbackCompareTo(java.lang.Object other)
This method can provide a deterministic ordering for elements that are strictly not comparable. |
ResolvedType |
getAspectType()
|
ResolvedMember |
getMatchingSyntheticMember(Member member)
|
ResolvedTypeMunger |
getMunger()
returns null for mungers that are used internally, but were not part of a declared thing in source code. |
ResolvedMember |
getSignature()
|
ISourceLocation |
getSourceLocation()
|
World |
getWorld()
|
boolean |
isLateMunger()
|
boolean |
isTargetTypeParameterized()
returns true if the ITD target type used type variables, for example I |
boolean |
matches(ResolvedType onType)
|
abstract ConcreteTypeMunger |
parameterizedFor(ResolvedType targetType)
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. |
abstract ConcreteTypeMunger |
parameterizeWith(java.util.Map<java.lang.String,UnresolvedType> parameterizationMap,
World world)
|
boolean |
shouldOverwrite()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ResolvedTypeMunger munger
protected ResolvedType aspectType
Constructor Detail |
---|
public ConcreteTypeMunger(ResolvedTypeMunger munger, ResolvedType aspectType)
Method Detail |
---|
public boolean equivalentTo(java.lang.Object other)
public ResolvedTypeMunger getMunger()
public ResolvedType getAspectType()
public ResolvedMember getSignature()
public World getWorld()
public ISourceLocation getSourceLocation()
public boolean matches(ResolvedType onType)
public ResolvedMember getMatchingSyntheticMember(Member member)
public int compareTo(java.lang.Object other)
compareTo
in interface PartialOrder.PartialComparable
public int fallbackCompareTo(java.lang.Object other)
PartialOrder.PartialComparable
fallbackCompareTo
in interface PartialOrder.PartialComparable
public boolean isTargetTypeParameterized()
interface I {}
aspect X implements I {
List I.foo { return null; }
}
In this case the munger matches X but it matches with the form
List foo() { return null; }
public abstract ConcreteTypeMunger parameterizedFor(ResolvedType targetType)
public boolean isLateMunger()
public abstract ConcreteTypeMunger parameterizeWith(java.util.Map<java.lang.String,UnresolvedType> parameterizationMap, World world)
public boolean existsToSupportShadowMunging()
public boolean shouldOverwrite()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |