Class NewFieldTypeMunger
java.lang.Object
org.aspectj.weaver.ResolvedTypeMunger
org.aspectj.weaver.NewFieldTypeMunger
Code that created version one style ITD type mungers will be using direct field access from the dispatchers
- Author:
- Andy
-
Nested Class Summary
Nested classes/interfaces inherited from class ResolvedTypeMunger
ResolvedTypeMunger.Kind -
Field Summary
FieldsModifier and TypeFieldDescriptionintstatic final intstatic final intFields inherited from class ResolvedTypeMunger
AnnotationOnType, Constructor, declaredSignature, Field, FieldHost, InnerClass, kind, Method, MethodDelegate, MethodDelegate2, Parent, PerObjectInterface, PerTypeWithinInterface, PrivilegedAccess, signature, SUPER_DISPATCH_NAME, typeVariableAliasesModifier and TypeFieldDescriptionstatic final ResolvedTypeMunger.Kindstatic final ResolvedTypeMunger.Kindprotected ResolvedMemberThe declared signature is filled in when a type munger is parameterized for application to a particular type.static final ResolvedTypeMunger.Kindstatic final ResolvedTypeMunger.Kindstatic final ResolvedTypeMunger.Kindprotected ResolvedTypeMunger.Kindstatic final ResolvedTypeMunger.Kindstatic final ResolvedTypeMunger.Kindstatic final ResolvedTypeMunger.Kindstatic final ResolvedTypeMunger.Kindstatic final ResolvedTypeMunger.Kindstatic final ResolvedTypeMunger.Kindstatic final ResolvedTypeMunger.Kindprotected ResolvedMemberstatic final String -
Constructor Summary
ConstructorsConstructorDescriptionNewFieldTypeMunger(ResolvedMember signature, Set superMethodsCalled, List typeVariableAliases) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetInitMethod(UnresolvedType aspectType) getMatchingSyntheticMember(Member member, ResolvedType aspectType) inthashCode()parameterizedFor(ResolvedType target) see ResolvedTypeMunger.parameterizedFor(ResolvedType)parameterizeWith(Map<String, UnresolvedType> m, World w) static ResolvedTypeMungerreadField(VersionedDataInputStream s, ISourceContext context) voidMethods inherited from class ResolvedTypeMunger
changesPublicSignature, existsToSupportShadowMunging, getDeclaredSignature, getDeclaringType, getKind, getSignature, getSourceLocation, getSuperMethodsCalled, getTypeVariableAliases, hasTypeVariableAliases, isLateMunger, matches, needsAccessToTopmostImplementor, read, readInTypeAliases, readSourceLocation, readSuperMethodsCalled, setDeclaredSignature, setSourceLocation, setSuperMethodsCalled, setTypeVariableAliases, sharesTypeVariablesWithGenericType, toString, writeOutTypeAliases, writeSourceLocation, writeSuperMethodsCalledModifier and TypeMethodDescriptionbooleanbooleanSome type mungers are created purely to help with the implementation of shadow mungers.getKind()booleanbooleanA late munger has to be done after shadow munging since which shadows are matched can affect the operation of the late munger.booleanmatches(ResolvedType matchType, ResolvedType aspectType) booleanstatic ResolvedTypeMungerread(VersionedDataInputStream s, ISourceContext context) protected static ISourceLocationprotected static Set<ResolvedMember> voidvoidvoidprotected voidsetTypeVariableAliases(List<String> typeVariableAliases) booleanreturn true if type variables are specified with the target type for this ITD.toString()protected final voidprotected final voidprotected final void
-
Field Details
-
VersionOne
public static final int VersionOne- See Also:
-
VersionTwo
public static final int VersionTwo- See Also:
-
version
public int version
-
-
Constructor Details
-
NewFieldTypeMunger
public NewFieldTypeMunger(ResolvedMember signature, Set superMethodsCalled, List typeVariableAliases)
-
-
Method Details
-
getInitMethod
-
write
- Specified by:
writein classResolvedTypeMunger- Throws:
IOException
-
readField
public static ResolvedTypeMunger readField(VersionedDataInputStream s, ISourceContext context) throws IOException - Throws:
IOException
-
getMatchingSyntheticMember
- Overrides:
getMatchingSyntheticMemberin classResolvedTypeMunger
-
parameterizedFor
see ResolvedTypeMunger.parameterizedFor(ResolvedType)- Overrides:
parameterizedForin classResolvedTypeMunger
-
parameterizeWith
- Overrides:
parameterizeWithin classResolvedTypeMunger
-
equals
-
hashCode
-