public class MethodDelegateTypeMunger extends ResolvedTypeMunger
| Modifier and Type | Class and Description |
|---|---|
static class |
MethodDelegateTypeMunger.FieldHostTypeMunger |
ResolvedTypeMunger.KindAnnotationOnType, Constructor, declaredSignature, Field, FieldHost, InnerClass, kind, Method, MethodDelegate, MethodDelegate2, Parent, PerObjectInterface, PerTypeWithinInterface, PrivilegedAccess, signature, SUPER_DISPATCH_NAME, typeVariableAliases| Constructor and Description |
|---|
MethodDelegateTypeMunger(ResolvedMember signature,
UnresolvedType aspect,
java.lang.String implClassName,
TypePattern typePattern)
Construct a new type munger for @AspectJ ITD
|
MethodDelegateTypeMunger(ResolvedMember signature,
UnresolvedType aspect,
java.lang.String implClassName,
TypePattern typePattern,
java.lang.String factoryMethodName,
java.lang.String factoryMethodSignature) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
changesPublicSignature()
Needed for reweavable
|
boolean |
equals(java.lang.Object other) |
boolean |
existsToSupportShadowMunging()
Some type mungers are created purely to help with the implementation of shadow mungers.
|
UnresolvedType |
getAspect() |
ResolvedMember |
getDelegate(ResolvedType targetType) |
ResolvedMember |
getDelegateFactoryMethod(World w) |
java.lang.String |
getFactoryMethodName() |
java.lang.String |
getFactoryMethodSignature() |
java.lang.String |
getImplClassName() |
int |
hashCode() |
boolean |
isReplacingExistingMethod() |
boolean |
matches(ResolvedType matchType,
ResolvedType aspectType)
Match based on given type pattern, only classes can be matched
|
static ResolvedTypeMunger |
readMethod(VersionedDataInputStream s,
ISourceContext context,
boolean isEnhanced) |
void |
setFieldType(UnresolvedType fieldType) |
boolean |
specifiesDelegateFactoryMethod() |
void |
tagAsReplacingExistingMethod() |
void |
write(CompressingDataOutputStream s) |
getDeclaredSignature, getDeclaringType, getKind, getMatchingSyntheticMember, getSignature, getSourceLocation, getSuperMethodsCalled, getTypeVariableAliases, hasTypeVariableAliases, isLateMunger, needsAccessToTopmostImplementor, parameterizedFor, parameterizeWith, read, readInTypeAliases, readSourceLocation, readSuperMethodsCalled, setDeclaredSignature, setSourceLocation, setSuperMethodsCalled, setTypeVariableAliases, sharesTypeVariablesWithGenericType, toString, writeOutTypeAliases, writeSourceLocation, writeSuperMethodsCalledpublic MethodDelegateTypeMunger(ResolvedMember signature, UnresolvedType aspect, java.lang.String implClassName, TypePattern typePattern)
signature - aspect - implClassName - typePattern - public MethodDelegateTypeMunger(ResolvedMember signature, UnresolvedType aspect, java.lang.String implClassName, TypePattern typePattern, java.lang.String factoryMethodName, java.lang.String factoryMethodSignature)
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic ResolvedMember getDelegate(ResolvedType targetType)
public ResolvedMember getDelegateFactoryMethod(World w)
public java.lang.String getImplClassName()
public void write(CompressingDataOutputStream s) throws java.io.IOException
write in class ResolvedTypeMungerjava.io.IOExceptionpublic static ResolvedTypeMunger readMethod(VersionedDataInputStream s, ISourceContext context, boolean isEnhanced) throws java.io.IOException
java.io.IOExceptionpublic boolean matches(ResolvedType matchType, ResolvedType aspectType)
matches in class ResolvedTypeMungermatchType - aspectType - public boolean changesPublicSignature()
changesPublicSignature in class ResolvedTypeMungerpublic void setFieldType(UnresolvedType fieldType)
public boolean specifiesDelegateFactoryMethod()
public java.lang.String getFactoryMethodName()
public java.lang.String getFactoryMethodSignature()
public UnresolvedType getAspect()
public boolean existsToSupportShadowMunging()
ResolvedTypeMungerexistsToSupportShadowMunging in class ResolvedTypeMungerpublic void tagAsReplacingExistingMethod()
public boolean isReplacingExistingMethod()