Package org.aspectj.weaver
Klasse NameMangler
java.lang.Object
org.aspectj.weaver.NameMangler
-
Feldübersicht
FelderModifizierer und TypFeldBeschreibungstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final UnresolvedTypestatic final Stringstatic final UnresolvedTypestatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final char[]static final String -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic StringadviceName(String nameAsIdentifier, AdviceKind kind, int adviceSeqNumber, int pcdHash) The name of methods corresponding to advice declarations Of the form: "ajc$[AdviceKind]$[AspectName]$[NumberOfAdviceInAspect]$[PointcutHash]"static StringaroundAdviceMethodName(Member shadowSig, String suffixTag) static StringaroundShadowMethodName(Member shadowSig, String suffixTag) static Stringstatic Stringstatic StringgetExtractableName(Member shadowSignature) static StringinlineAccessMethodForFieldGet(String name, UnresolvedType objectType, UnresolvedType aspectType) static StringinlineAccessMethodForFieldSet(String name, UnresolvedType objectType, UnresolvedType aspectType) static StringinlineAccessMethodForMethod(String name, UnresolvedType objectType, UnresolvedType aspectType) static StringinterFieldClassField(int modifiers, UnresolvedType aspectType, UnresolvedType classType, String name) This field goes on the class the field is declared ontostatic StringinterFieldGetDispatcher(UnresolvedType aspectType, UnresolvedType onType, String name) This static method goes on the aspect that declares the inter-type fieldstatic StringinterFieldInitializer(UnresolvedType aspectType, UnresolvedType classType, String name) This static void method goes on the aspect that declares the inter-type field and is called from the appropriate place (target's initializer, or clinit, or topmost implementer's inits), to initialize the field;static StringinterFieldInterfaceField(UnresolvedType aspectType, UnresolvedType interfaceType, String name) This field goes on top-most implementers of the interface the field is declared ontostatic StringinterFieldInterfaceGetter(UnresolvedType aspectType, UnresolvedType interfaceType, String name) This instance method goes on the interface the field is declared onto as well as its top-most implementorsstatic StringinterFieldInterfaceSetter(UnresolvedType aspectType, UnresolvedType interfaceType, String name) This instance method goes on the interface the field is declared onto as well as its top-most implementorsstatic StringinterFieldSetDispatcher(UnresolvedType aspectType, UnresolvedType onType, String name) This static method goes on the aspect that declares the inter-type fieldstatic StringinterMethod(int modifiers, UnresolvedType aspectType, UnresolvedType classType, String name) This method goes on the target type of the inter-type method.static StringinterMethodBody(UnresolvedType aspectType, UnresolvedType classType, String name) This static method goes on the declaring aspect of the inter-type method.static StringinterMethodDispatcher(UnresolvedType aspectType, UnresolvedType classType, String name) This static method goes on the declaring aspect of the inter-type method.static booleanisSyntheticMethod(String methodName, boolean declaredInAspect) static StringitdAtDeclareParentsField(UnresolvedType aspectType, UnresolvedType itdType) static StringmakeClosureClassName(UnresolvedType enclosingType, String suffix) static Stringstatic Stringstatic StringperObjectInterfaceField(UnresolvedType aspectType) static StringperObjectInterfaceGet(UnresolvedType aspectType) static StringperObjectInterfaceSet(UnresolvedType aspectType) static StringperTypeWithinFieldForTarget(UnresolvedType aspectType) static StringperTypeWithinLocalAspectOf(UnresolvedType aspectType) static StringpostIntroducedConstructor(UnresolvedType aspectType, UnresolvedType targetType) This static method goes on the declaring aspect of the inter-type constructor.static StringpreIntroducedConstructor(UnresolvedType aspectType, UnresolvedType targetType) This static method goes on the declaring aspect of the inter-type constructor.static StringprivilegedAccessMethodForFieldGet(String name, UnresolvedType objectType, UnresolvedType aspectType) Create the old style (<1.6.9) format getter name which includes the aspect requesting access and the type containing the field in the name of the type.static StringprivilegedAccessMethodForFieldSet(String name, UnresolvedType objectType, UnresolvedType aspectType) Create the old style (<1.6.9) format setter name which includes the aspect requesting access and the type containing the field in the name of the type.static StringprivilegedAccessMethodForMethod(String name, UnresolvedType objectType, UnresolvedType aspectType) static StringproceedMethodName(String adviceMethodName) static StringprotectedDispatchMethod(UnresolvedType classType, String name) This static method goes on the target class of the inter-type method.static StringsuperDispatchMethod(UnresolvedType classType, String name) This static method goes on the target class of the inter-type method.
-
Felddetails
-
PREFIX
- Siehe auch:
-
PREFIX_CHARS
public static final char[] PREFIX_CHARS -
ITD_PREFIX
- Siehe auch:
-
CFLOW_STACK_TYPE
- Siehe auch:
-
CFLOW_COUNTER_TYPE
- Siehe auch:
-
CFLOW_STACK_UNRESOLVEDTYPE
-
CFLOW_COUNTER_UNRESOLVEDTYPE
-
SOFT_EXCEPTION_TYPE
- Siehe auch:
-
PERSINGLETON_FIELD_NAME
- Siehe auch:
-
PERCFLOW_FIELD_NAME
- Siehe auch:
-
PERCFLOW_PUSH_METHOD
- Siehe auch:
-
PEROBJECT_BIND_METHOD
- Siehe auch:
-
PERTYPEWITHIN_GETINSTANCE_METHOD
- Siehe auch:
-
PERTYPEWITHIN_CREATEASPECTINSTANCE_METHOD
- Siehe auch:
-
PERTYPEWITHIN_WITHINTYPEFIELD
- Siehe auch:
-
PERTYPEWITHIN_GETWITHINTYPENAME_METHOD
- Siehe auch:
-
AJC_PRE_CLINIT_NAME
- Siehe auch:
-
AJC_POST_CLINIT_NAME
- Siehe auch:
-
INITFAILURECAUSE_FIELD_NAME
- Siehe auch:
-
ANNOTATION_CACHE_FIELD_NAME
- Siehe auch:
-
-
Konstruktordetails
-
NameMangler
public NameMangler()
-
-
Methodendetails
-
isSyntheticMethod
-
perObjectInterfaceGet
-
perObjectInterfaceSet
-
perObjectInterfaceField
-
perTypeWithinFieldForTarget
-
perTypeWithinLocalAspectOf
-
itdAtDeclareParentsField
-
privilegedAccessMethodForMethod
public static String privilegedAccessMethodForMethod(String name, UnresolvedType objectType, UnresolvedType aspectType) -
privilegedAccessMethodForFieldGet
public static String privilegedAccessMethodForFieldGet(String name, UnresolvedType objectType, UnresolvedType aspectType) Create the old style (<1.6.9) format getter name which includes the aspect requesting access and the type containing the field in the name of the type. At 1.6.9 and above the name is simply ajc$get$<fieldname> -
privilegedAccessMethodForFieldSet
public static String privilegedAccessMethodForFieldSet(String name, UnresolvedType objectType, UnresolvedType aspectType) Create the old style (<1.6.9) format setter name which includes the aspect requesting access and the type containing the field in the name of the type. At 1.6.9 and above the name is simply ajc$set$<fieldname> -
inlineAccessMethodForMethod
public static String inlineAccessMethodForMethod(String name, UnresolvedType objectType, UnresolvedType aspectType) -
inlineAccessMethodForFieldGet
public static String inlineAccessMethodForFieldGet(String name, UnresolvedType objectType, UnresolvedType aspectType) -
inlineAccessMethodForFieldSet
public static String inlineAccessMethodForFieldSet(String name, UnresolvedType objectType, UnresolvedType aspectType) -
adviceName
public static String adviceName(String nameAsIdentifier, AdviceKind kind, int adviceSeqNumber, int pcdHash) The name of methods corresponding to advice declarations Of the form: "ajc$[AdviceKind]$[AspectName]$[NumberOfAdviceInAspect]$[PointcutHash]" -
interFieldInterfaceField
public static String interFieldInterfaceField(UnresolvedType aspectType, UnresolvedType interfaceType, String name) This field goes on top-most implementers of the interface the field is declared onto -
interFieldInterfaceSetter
public static String interFieldInterfaceSetter(UnresolvedType aspectType, UnresolvedType interfaceType, String name) This instance method goes on the interface the field is declared onto as well as its top-most implementors -
interFieldInterfaceGetter
public static String interFieldInterfaceGetter(UnresolvedType aspectType, UnresolvedType interfaceType, String name) This instance method goes on the interface the field is declared onto as well as its top-most implementors -
interFieldSetDispatcher
public static String interFieldSetDispatcher(UnresolvedType aspectType, UnresolvedType onType, String name) This static method goes on the aspect that declares the inter-type field -
interFieldGetDispatcher
public static String interFieldGetDispatcher(UnresolvedType aspectType, UnresolvedType onType, String name) This static method goes on the aspect that declares the inter-type field -
interFieldClassField
public static String interFieldClassField(int modifiers, UnresolvedType aspectType, UnresolvedType classType, String name) This field goes on the class the field is declared onto -
interFieldInitializer
public static String interFieldInitializer(UnresolvedType aspectType, UnresolvedType classType, String name) This static void method goes on the aspect that declares the inter-type field and is called from the appropriate place (target's initializer, or clinit, or topmost implementer's inits), to initialize the field; -
interMethod
public static String interMethod(int modifiers, UnresolvedType aspectType, UnresolvedType classType, String name) This method goes on the target type of the inter-type method. (and possibly the topmost-implemeters, if the target type is an interface) -
interMethodDispatcher
public static String interMethodDispatcher(UnresolvedType aspectType, UnresolvedType classType, String name) This static method goes on the declaring aspect of the inter-type method. -
interMethodBody
public static String interMethodBody(UnresolvedType aspectType, UnresolvedType classType, String name) This static method goes on the declaring aspect of the inter-type method. -
preIntroducedConstructor
This static method goes on the declaring aspect of the inter-type constructor. -
postIntroducedConstructor
public static String postIntroducedConstructor(UnresolvedType aspectType, UnresolvedType targetType) This static method goes on the declaring aspect of the inter-type constructor. -
superDispatchMethod
This static method goes on the target class of the inter-type method. -
protectedDispatchMethod
This static method goes on the target class of the inter-type method. -
makeName
-
makeName
-
cflowStack
-
cflowCounter
-
makeClosureClassName
-
aroundShadowMethodName
-
aroundAdviceMethodName
-
getExtractableName
-
proceedMethodName
-