| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final UnresolvedType | |
| private int | |
| private String | factoryMethodName
When created to represent a mixed in method for @DeclareMixin, these hold the signature of the factory method |
| private String | |
| private UnresolvedType | |
| private volatile int | |
| private final String | implClassName
The mixin implementation (which should have a no-argument constructor) |
| private static final int | |
| private final TypePattern | typePattern
Type pattern this munger applies to |
| Access | Constructor and Description |
|---|---|
| public | MethodDelegateTypeMunger(ResolvedMember signature, UnresolvedType aspect, String implClassName, TypePattern typePattern)
Construct a new type munger for @AspectJ ITD |
| public | MethodDelegateTypeMunger(ResolvedMember signature, UnresolvedType aspect, String implClassName, TypePattern typePattern, String factoryMethodName, String factoryMethodSignature)
|
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: trueOverrides org. |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public boolean | existsToSupportShadowMunging()
Overrides org. |
| public UnresolvedType | |
| public ResolvedMember | |
| public ResolvedMember | |
| public String | |
| public String | |
| public String | |
| public int | |
| public boolean | |
| public boolean | Returns: true if match |
| public static ResolvedTypeMunger | |
| public void | |
| public boolean | |
| public void | |
| public void | write(CompressingDataOutputStream s)
Implements abstract org. |
| aspect | back to summary |
|---|---|
| private final UnresolvedType aspect | |
| bitflags | back to summary |
|---|---|
| private int bitflags | |
| factoryMethodName | back to summary |
|---|---|
| private String factoryMethodName When created to represent a mixed in method for @DeclareMixin, these hold the signature of the factory method | |
| factoryMethodSignature | back to summary |
|---|---|
| private String factoryMethodSignature | |
| fieldType | back to summary |
|---|---|
| private UnresolvedType fieldType | |
| hashCode | back to summary |
|---|---|
| private volatile int hashCode | |
| implClassName | back to summary |
|---|---|
| private final String implClassName The mixin implementation (which should have a no-argument constructor) | |
| REPLACING_EXISTING_METHOD | back to summary |
|---|---|
| private static final int REPLACING_EXISTING_METHOD | |
| typePattern | back to summary |
|---|---|
| private final TypePattern typePattern Type pattern this munger applies to | |
| MethodDelegateTypeMunger | back to summary |
|---|---|
| public MethodDelegateTypeMunger(ResolvedMember signature, UnresolvedType aspect, String implClassName, TypePattern typePattern) Construct a new type munger for @AspectJ ITD | |
| MethodDelegateTypeMunger | back to summary |
|---|---|
| public MethodDelegateTypeMunger(ResolvedMember signature, UnresolvedType aspect, String implClassName, TypePattern typePattern, String factoryMethodName, String factoryMethodSignature) | |
| changesPublicSignature | back to summary |
|---|---|
| public boolean changesPublicSignature() Overrides org. Needed for reweavable
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| existsToSupportShadowMunging | back to summary |
|---|---|
| public boolean existsToSupportShadowMunging() Overrides org. Doc from org. Some type mungers are created purely to help with the implementation of shadow mungers. For example to support the cflow() pointcut we create a new cflow field in the aspect, and that is added via a BcelCflowCounterFieldAdder. During compilation we need to compare sets of type mungers, and if some only come into existence after the 'shadowy' type things have been processed, we need to ignore them during the comparison. Returning true from this method indicates the type munger exists to support 'shadowy' stuff - and so can be ignored in some comparison. | |
| getAspect | back to summary |
|---|---|
| public UnresolvedType getAspect() | |
| getDelegate | back to summary |
|---|---|
| public ResolvedMember getDelegate(ResolvedType targetType) | |
| getDelegateFactoryMethod | back to summary |
|---|---|
| public ResolvedMember getDelegateFactoryMethod(World w) | |
| getFactoryMethodName | back to summary |
|---|---|
| public String getFactoryMethodName() | |
| getFactoryMethodSignature | back to summary |
|---|---|
| public String getFactoryMethodSignature() | |
| getImplClassName | back to summary |
|---|---|
| public String getImplClassName() | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isReplacingExistingMethod | back to summary |
|---|---|
| public boolean isReplacingExistingMethod() | |
| matches | back to summary |
|---|---|
| public boolean matches(ResolvedType matchType, ResolvedType aspectType) Overrides org. Match based on given type pattern, only classes can be matched
| |
| readMethod | back to summary |
|---|---|
| public static ResolvedTypeMunger readMethod(VersionedDataInputStream s, ISourceContext context, boolean isEnhanced) throws IOException | |
| setFieldType | back to summary |
|---|---|
| public void setFieldType(UnresolvedType fieldType) | |
| specifiesDelegateFactoryMethod | back to summary |
|---|---|
| public boolean specifiesDelegateFactoryMethod() | |
| tagAsReplacingExistingMethod | back to summary |
|---|---|
| public void tagAsReplacingExistingMethod() | |
| write | back to summary |
|---|---|
| public void write(CompressingDataOutputStream s) throws IOException Implements abstract org. | |
| Modifier and Type | Field and Description |
|---|---|
| private final UnresolvedType | |
| private final TypePattern | typePattern
Type pattern this munger applies to |
| Access | Constructor and Description |
|---|---|
| public | FieldHostTypeMunger(ResolvedMember field, UnresolvedType aspect, TypePattern typePattern)
Construct a new type munger for @AspectJ ITD |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | |
| public boolean | equals(Object
the reference object with which to compare. other)Overrides java. |
| public boolean | existsToSupportShadowMunging()
Overrides org. |
| public int | |
| public boolean | Returns: true if match |
| public static ResolvedTypeMunger | |
| public void | write(CompressingDataOutputStream s)
Implements abstract org. |
| aspect | back to summary |
|---|---|
| private final UnresolvedType aspect | |
| typePattern | back to summary |
|---|---|
| private final TypePattern typePattern Type pattern this munger applies to | |
| FieldHostTypeMunger | back to summary |
|---|---|
| public FieldHostTypeMunger(ResolvedMember field, UnresolvedType aspect, TypePattern typePattern) Construct a new type munger for @AspectJ ITD | |
| changesPublicSignature | back to summary |
|---|---|
| public boolean changesPublicSignature() Overrides org. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object other) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| existsToSupportShadowMunging | back to summary |
|---|---|
| public boolean existsToSupportShadowMunging() Overrides org. Doc from org. Some type mungers are created purely to help with the implementation of shadow mungers. For example to support the cflow() pointcut we create a new cflow field in the aspect, and that is added via a BcelCflowCounterFieldAdder. During compilation we need to compare sets of type mungers, and if some only come into existence after the 'shadowy' type things have been processed, we need to ignore them during the comparison. Returning true from this method indicates the type munger exists to support 'shadowy' stuff - and so can be ignored in some comparison. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| matches | back to summary |
|---|---|
| public boolean matches(ResolvedType matchType, ResolvedType aspectType) Overrides org. Match based on given type pattern, only classes can be matched
| |
| readFieldHost | back to summary |
|---|---|
| public static ResolvedTypeMunger readFieldHost(VersionedDataInputStream s, ISourceContext context) throws IOException | |
| write | back to summary |
|---|---|
| public void write(CompressingDataOutputStream s) throws IOException Implements abstract org. | |