Package org.aspectj.weaver
Class ResolvedTypeMunger
- java.lang.Object
-
- org.aspectj.weaver.ResolvedTypeMunger
-
- Direct Known Subclasses:
AnnotationOnTypeMunger,MethodDelegateTypeMunger,MethodDelegateTypeMunger.FieldHostTypeMunger,NewConstructorTypeMunger,NewFieldTypeMunger,NewMemberClassTypeMunger,NewMethodTypeMunger,NewParentTypeMunger,PerObjectInterfaceTypeMunger,PerTypeWithinTargetTypeMunger,PrivilegedAccessMunger
public abstract class ResolvedTypeMunger extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classResolvedTypeMunger.Kind
-
Field Summary
Fields Modifier and Type Field Description static ResolvedTypeMunger.KindAnnotationOnTypestatic ResolvedTypeMunger.KindConstructorprotected ResolvedMemberdeclaredSignaturestatic ResolvedTypeMunger.KindFieldstatic ResolvedTypeMunger.KindFieldHoststatic ResolvedTypeMunger.KindInnerClassprotected ResolvedTypeMunger.Kindkindstatic ResolvedTypeMunger.KindMethodstatic ResolvedTypeMunger.KindMethodDelegatestatic ResolvedTypeMunger.KindMethodDelegate2static ResolvedTypeMunger.KindParentstatic ResolvedTypeMunger.KindPerObjectInterfacestatic ResolvedTypeMunger.KindPerTypeWithinInterfacestatic ResolvedTypeMunger.KindPrivilegedAccessprotected ResolvedMembersignaturestatic StringSUPER_DISPATCH_NAMEprotected List<String>typeVariableAliases
-
Constructor Summary
Constructors Constructor Description ResolvedTypeMunger(ResolvedTypeMunger.Kind kind, ResolvedMember signature)
-
Method Summary
-
-
-
Field Detail
-
kind
protected ResolvedTypeMunger.Kind kind
-
signature
protected ResolvedMember signature
-
declaredSignature
protected ResolvedMember declaredSignature
-
Field
public static final ResolvedTypeMunger.Kind Field
-
Method
public static final ResolvedTypeMunger.Kind Method
-
Constructor
public static final ResolvedTypeMunger.Kind Constructor
-
PerObjectInterface
public static final ResolvedTypeMunger.Kind PerObjectInterface
-
PrivilegedAccess
public static final ResolvedTypeMunger.Kind PrivilegedAccess
-
Parent
public static final ResolvedTypeMunger.Kind Parent
-
PerTypeWithinInterface
public static final ResolvedTypeMunger.Kind PerTypeWithinInterface
-
AnnotationOnType
public static final ResolvedTypeMunger.Kind AnnotationOnType
-
MethodDelegate
public static final ResolvedTypeMunger.Kind MethodDelegate
-
FieldHost
public static final ResolvedTypeMunger.Kind FieldHost
-
MethodDelegate2
public static final ResolvedTypeMunger.Kind MethodDelegate2
-
InnerClass
public static final ResolvedTypeMunger.Kind InnerClass
-
SUPER_DISPATCH_NAME
public static final String SUPER_DISPATCH_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ResolvedTypeMunger
public ResolvedTypeMunger(ResolvedTypeMunger.Kind kind, ResolvedMember signature)
-
-
Method Detail
-
setSourceLocation
public void setSourceLocation(ISourceLocation isl)
-
getSourceLocation
public ISourceLocation getSourceLocation()
-
matches
public boolean matches(ResolvedType matchType, ResolvedType aspectType)
-
read
public static ResolvedTypeMunger read(VersionedDataInputStream s, ISourceContext context) throws IOException
- Throws:
IOException
-
readSuperMethodsCalled
protected static Set<ResolvedMember> readSuperMethodsCalled(VersionedDataInputStream s) throws IOException
- Throws:
IOException
-
writeSuperMethodsCalled
protected final void writeSuperMethodsCalled(CompressingDataOutputStream s) throws IOException
- Throws:
IOException
-
readSourceLocation
protected static ISourceLocation readSourceLocation(VersionedDataInputStream s) throws IOException
- Throws:
IOException
-
writeSourceLocation
protected final void writeSourceLocation(CompressingDataOutputStream s) throws IOException
- Throws:
IOException
-
write
public abstract void write(CompressingDataOutputStream s) throws IOException
- Throws:
IOException
-
getKind
public ResolvedTypeMunger.Kind getKind()
-
setSuperMethodsCalled
public void setSuperMethodsCalled(Set<ResolvedMember> c)
-
getSuperMethodsCalled
public Set<ResolvedMember> getSuperMethodsCalled()
-
getSignature
public ResolvedMember getSignature()
-
getMatchingSyntheticMember
public ResolvedMember getMatchingSyntheticMember(Member member, ResolvedType aspectType)
-
changesPublicSignature
public boolean changesPublicSignature()
-
needsAccessToTopmostImplementor
public boolean needsAccessToTopmostImplementor()
-
readInTypeAliases
protected static List<String> readInTypeAliases(VersionedDataInputStream s) throws IOException
- Throws:
IOException
-
writeOutTypeAliases
protected final void writeOutTypeAliases(DataOutputStream s) throws IOException
- Throws:
IOException
-
hasTypeVariableAliases
public boolean hasTypeVariableAliases()
-
sharesTypeVariablesWithGenericType
public boolean sharesTypeVariablesWithGenericType()
-
parameterizedFor
public ResolvedTypeMunger parameterizedFor(ResolvedType target)
-
setDeclaredSignature
public void setDeclaredSignature(ResolvedMember rm)
-
getDeclaredSignature
public ResolvedMember getDeclaredSignature()
-
isLateMunger
public boolean isLateMunger()
-
existsToSupportShadowMunging
public boolean existsToSupportShadowMunging()
-
parameterizeWith
public ResolvedTypeMunger parameterizeWith(Map<String,UnresolvedType> m, World w)
-
getDeclaringType
public UnresolvedType getDeclaringType()
-
-