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) |
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()