Package org.aspectj.weaver
Class MethodDelegateTypeMunger
- java.lang.Object
-
- org.aspectj.weaver.ResolvedTypeMunger
-
- org.aspectj.weaver.MethodDelegateTypeMunger
-
public class MethodDelegateTypeMunger extends ResolvedTypeMunger
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMethodDelegateTypeMunger.FieldHostTypeMunger-
Nested classes/interfaces inherited from class org.aspectj.weaver.ResolvedTypeMunger
ResolvedTypeMunger.Kind
-
-
Field Summary
-
Fields inherited from class org.aspectj.weaver.ResolvedTypeMunger
AnnotationOnType, Constructor, declaredSignature, Field, FieldHost, InnerClass, kind, Method, MethodDelegate, MethodDelegate2, Parent, PerObjectInterface, PerTypeWithinInterface, PrivilegedAccess, signature, SUPER_DISPATCH_NAME, typeVariableAliases
-
-
Constructor Summary
Constructors Constructor Description MethodDelegateTypeMunger(ResolvedMember signature, UnresolvedType aspect, String implClassName, TypePattern typePattern)MethodDelegateTypeMunger(ResolvedMember signature, UnresolvedType aspect, String implClassName, TypePattern typePattern, String factoryMethodName, String factoryMethodSignature)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanchangesPublicSignature()booleanequals(Object other)booleanexistsToSupportShadowMunging()UnresolvedTypegetAspect()ResolvedMembergetDelegate(ResolvedType targetType)ResolvedMembergetDelegateFactoryMethod(World w)StringgetFactoryMethodName()StringgetFactoryMethodSignature()StringgetImplClassName()inthashCode()booleanisReplacingExistingMethod()booleanmatches(ResolvedType matchType, ResolvedType aspectType)static ResolvedTypeMungerreadMethod(VersionedDataInputStream s, ISourceContext context, boolean isEnhanced)voidsetFieldType(UnresolvedType fieldType)booleanspecifiesDelegateFactoryMethod()voidtagAsReplacingExistingMethod()voidwrite(CompressingDataOutputStream s)-
Methods inherited from class org.aspectj.weaver.ResolvedTypeMunger
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
-
-
-
-
Constructor Detail
-
MethodDelegateTypeMunger
public MethodDelegateTypeMunger(ResolvedMember signature, UnresolvedType aspect, String implClassName, TypePattern typePattern)
-
MethodDelegateTypeMunger
public MethodDelegateTypeMunger(ResolvedMember signature, UnresolvedType aspect, String implClassName, TypePattern typePattern, String factoryMethodName, String factoryMethodSignature)
-
-
Method Detail
-
getDelegate
public ResolvedMember getDelegate(ResolvedType targetType)
-
getDelegateFactoryMethod
public ResolvedMember getDelegateFactoryMethod(World w)
-
getImplClassName
public String getImplClassName()
-
write
public void write(CompressingDataOutputStream s) throws IOException
- Specified by:
writein classResolvedTypeMunger- Throws:
IOException
-
readMethod
public static ResolvedTypeMunger readMethod(VersionedDataInputStream s, ISourceContext context, boolean isEnhanced) throws IOException
- Throws:
IOException
-
matches
public boolean matches(ResolvedType matchType, ResolvedType aspectType)
- Overrides:
matchesin classResolvedTypeMunger
-
changesPublicSignature
public boolean changesPublicSignature()
- Overrides:
changesPublicSignaturein classResolvedTypeMunger
-
setFieldType
public void setFieldType(UnresolvedType fieldType)
-
specifiesDelegateFactoryMethod
public boolean specifiesDelegateFactoryMethod()
-
getFactoryMethodName
public String getFactoryMethodName()
-
getFactoryMethodSignature
public String getFactoryMethodSignature()
-
getAspect
public UnresolvedType getAspect()
-
existsToSupportShadowMunging
public boolean existsToSupportShadowMunging()
- Overrides:
existsToSupportShadowMungingin classResolvedTypeMunger
-
tagAsReplacingExistingMethod
public void tagAsReplacingExistingMethod()
-
isReplacingExistingMethod
public boolean isReplacingExistingMethod()
-
-