public class MethodDelegateTypeMunger extends ResolvedTypeMunger
Modifier and Type | Class and Description |
---|---|
static class |
MethodDelegateTypeMunger.FieldHostTypeMunger |
ResolvedTypeMunger.Kind
AnnotationOnType, 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) |
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, writeSuperMethodsCalled
public 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.Object
public int hashCode()
hashCode
in class java.lang.Object
public 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 ResolvedTypeMunger
java.io.IOException
public static ResolvedTypeMunger readMethod(VersionedDataInputStream s, ISourceContext context, boolean isEnhanced) throws java.io.IOException
java.io.IOException
public boolean matches(ResolvedType matchType, ResolvedType aspectType)
matches
in class ResolvedTypeMunger
matchType
- aspectType
- public boolean changesPublicSignature()
changesPublicSignature
in class ResolvedTypeMunger
public void setFieldType(UnresolvedType fieldType)
public boolean specifiesDelegateFactoryMethod()
public java.lang.String getFactoryMethodName()
public java.lang.String getFactoryMethodSignature()
public UnresolvedType getAspect()
public boolean existsToSupportShadowMunging()
ResolvedTypeMunger
existsToSupportShadowMunging
in class ResolvedTypeMunger
public void tagAsReplacingExistingMethod()
public boolean isReplacingExistingMethod()