| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private ShadowMunger | |
| private final BcelObjectType | |
| private int | |
| private static final int | |
| private AjAttribute. | |
| private AjAttribute. | |
| private UnresolvedType[] | |
| private UnresolvedType | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private Method | |
| private static final char | |
| private static final int | |
| private ResolvedPointcutDefinition | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | BcelMethod(BcelObjectType declaringType, Method method, List<AjAttribute> attributes)
This constructor expects to be passed the attributes, rather than deserializing them. |
| Modifier and Type | Method and Description |
|---|---|
| public void | addAnnotation(AnnotationAJ annotation)
Overrides org. Implements org. |
| public void | |
| public boolean | canBeParameterized()
Overrides org. Implements org. |
| public void | |
| private void | |
| private void | |
| public void | |
| public String | |
| public AnnotationAJ | |
| public AnnotationAJ[] | |
| public ResolvedType[] | |
| public ShadowMunger | |
| public String[] | |
| public int | |
| public int | |
| public AjAttribute. | |
| public UnresolvedType[] | getGenericParameterTypes()
Overrides org. Implements org. |
| public UnresolvedType | getGenericReturnType()
Overrides org. Implements org. |
| public MemberKind | getKind()
Overrides org. Implements org. |
| public int | |
| public Method | |
| public AnnotationAJ[][] | |
| public ResolvedType[][] | |
| public String[] | |
| public ISourceLocation | |
| public boolean | hasAnnotation(UnresolvedType
the type of the annotation being searched for ofType)Overrides org. Implements org. |
| public boolean | |
| public boolean | |
| public boolean | Returns: true if this BcelMethod represents the default constructorOverrides org. Implements org. |
| public boolean | isEquivalentTo(Object other)
Overrides org. |
| public boolean | |
| private void | |
| public void | |
| private void | |
| private void | |
| private void | |
| private void |
| ASPECTJ_ANNOTATION_PACKAGE | back to summary |
|---|---|
| private static final String ASPECTJ_ANNOTATION_PACKAGE | |
| associatedShadowMunger | back to summary |
|---|---|
| private ShadowMunger associatedShadowMunger | |
| bcelObjectType | back to summary |
|---|---|
| private final BcelObjectType bcelObjectType | |
| bitflags | back to summary |
|---|---|
| private int bitflags | |
| CAN_BE_PARAMETERIZED | back to summary |
|---|---|
| private static final int CAN_BE_PARAMETERIZED | |
| declarationLineNumber | back to summary |
|---|---|
| private AjAttribute. | |
| effectiveSignature | back to summary |
|---|---|
| private AjAttribute. | |
| genericParameterTypes | back to summary |
|---|---|
| private UnresolvedType[] genericParameterTypes | |
| genericReturnType | back to summary |
|---|---|
| private UnresolvedType genericReturnType | |
| HAS_ANNOTATIONS | back to summary |
|---|---|
| private static final int HAS_ANNOTATIONS | |
| HAVE_DETERMINED_ANNOTATIONS | back to summary |
|---|---|
| private static final int HAVE_DETERMINED_ANNOTATIONS | |
| IS_AJ_SYNTHETIC | back to summary |
|---|---|
| private static final int IS_AJ_SYNTHETIC | |
| IS_SYNTHETIC | back to summary |
|---|---|
| private static final int IS_SYNTHETIC | |
| IS_SYNTHETIC_INVERSE | back to summary |
|---|---|
| private static final int IS_SYNTHETIC_INVERSE | |
| KNOW_IF_SYNTHETIC | back to summary |
|---|---|
| private static final int KNOW_IF_SYNTHETIC | |
| method | back to summary |
|---|---|
| private Method method | |
| PACKAGE_INITIAL_CHAR | back to summary |
|---|---|
| private static final char PACKAGE_INITIAL_CHAR | |
| PARAMETER_NAMES_INITIALIZED | back to summary |
|---|---|
| private static final int PARAMETER_NAMES_INITIALIZED | |
| preResolvedPointcut | back to summary |
|---|---|
| private ResolvedPointcutDefinition preResolvedPointcut | |
| UNPACKED_GENERIC_SIGNATURE | back to summary |
|---|---|
| private static final int UNPACKED_GENERIC_SIGNATURE | |
| BcelMethod | back to summary |
|---|---|
| pack-priv BcelMethod(BcelObjectType declaringType, Method method) | |
| BcelMethod | back to summary |
|---|---|
| pack-priv BcelMethod(BcelObjectType declaringType, Method method, List<AjAttribute> attributes) This constructor expects to be passed the attributes, rather than deserializing them. | |
| addAnnotation | back to summary |
|---|---|
| public void addAnnotation(AnnotationAJ annotation) Overrides org. Implements org.
| |
| addParameterAnnotation | back to summary |
|---|---|
| public void addParameterAnnotation(int param, AnnotationAJ anno) | |
| canBeParameterized | back to summary |
|---|---|
| public boolean canBeParameterized() Overrides org. Implements org. A method can be parameterized if it has one or more generic parameters. A generic parameter (type variable parameter) is identified by the prefix "T"
| |
| determineParameterNames | back to summary |
|---|---|
| public void determineParameterNames() | |
| ensureAnnotationsRetrieved | back to summary |
|---|---|
| private void ensureAnnotationsRetrieved() | |
| ensureParameterAnnotationsRetrieved | back to summary |
|---|---|
| private void ensureParameterAnnotationsRetrieved() | |
| evictWeavingState | back to summary |
|---|---|
| public void evictWeavingState() Overrides org. Implements org.
| |
| getAnnotationDefaultValue | back to summary |
|---|---|
| public String getAnnotationDefaultValue() Overrides org. Implements org.
| |
| getAnnotationOfType | back to summary |
|---|---|
| public AnnotationAJ getAnnotationOfType(UnresolvedType ofType) Overrides org. Implements org.
| |
| getAnnotations | back to summary |
|---|---|
| public AnnotationAJ[] getAnnotations() Overrides org. Implements org.
| |
| getAnnotationTypes | back to summary |
|---|---|
| public ResolvedType[] getAnnotationTypes() Overrides org. Implements org.
| |
| getAssociatedShadowMunger | back to summary |
|---|---|
| public ShadowMunger getAssociatedShadowMunger() Overrides org. Implements org.
| |
| getAttributeNames | back to summary |
|---|---|
| public String[] getAttributeNames(boolean onlyIncludeAjOnes) | |
| getDeclarationLineNumber | back to summary |
|---|---|
| public int getDeclarationLineNumber() | |
| getDeclarationOffset | back to summary |
|---|---|
| public int getDeclarationOffset() | |
| getEffectiveSignature | back to summary |
|---|---|
| public AjAttribute. Overrides org. Implements org.
| |
| getGenericParameterTypes | back to summary |
|---|---|
| public UnresolvedType[] getGenericParameterTypes() Overrides org. Implements org. Doc from org. Get the TypeXs of the parameter types, taking generic signature into account
| |
| getGenericReturnType | back to summary |
|---|---|
| public UnresolvedType getGenericReturnType() Overrides org. Implements org. Return the parameterized/generic return type or the normal return type if the method is not generic.
| |
| getKind | back to summary |
|---|---|
| public MemberKind getKind() Overrides org. Implements org.
| |
| getLineNumberOfFirstInstruction | back to summary |
|---|---|
| public int getLineNumberOfFirstInstruction() | |
| getMethod | back to summary |
|---|---|
| public Method getMethod() For testing only | |
| getParameterAnnotations | back to summary |
|---|---|
| public AnnotationAJ[][] getParameterAnnotations() Overrides org. Implements org.
| |
| getParameterAnnotationTypes | back to summary |
|---|---|
| public ResolvedType[][] getParameterAnnotationTypes() Overrides org. Implements org.
| |
| getParameterNames | back to summary |
|---|---|
| public String[] getParameterNames() Overrides org. Implements org.
| |
| getSourceLocation | back to summary |
|---|---|
| public ISourceLocation getSourceLocation() Overrides org. Implements org.
| |
| hasAnnotation | back to summary |
|---|---|
| public boolean hasAnnotation(UnresolvedType ofType) Overrides org. Implements org. Doc from org. Check if this member has an annotation of the specified type. If the member has a backing generic member then this member represents a parameterization of a member in a generic type and the annotations available on the backing generic member should be used.
| |
| hasDeclarationLineNumberInfo | back to summary |
|---|---|
| public boolean hasDeclarationLineNumberInfo() | |
| isAjSynthetic | back to summary |
|---|---|
| public boolean isAjSynthetic() Overrides org. Implements org.
| |
| isDefaultConstructor | back to summary |
|---|---|
| public boolean isDefaultConstructor() Overrides org. Implements org. Return true if the method represents the default constructor. Hard to determine this from bytecode, but the existence of the MethodDeclarationLineNumber attribute should tell us.
| |
| isEquivalentTo | back to summary |
|---|---|
| public boolean isEquivalentTo(Object other) Overrides org. Returns whether or not the given object is equivalent to the current one. Returns true if getMethod().getCode().getCodeString() are equal. Allows for different line number tables.
| |
| isSynthetic | back to summary |
|---|---|
| public boolean isSynthetic() Overrides org. Implements org.
| |
| processAttributes | back to summary |
|---|---|
| private void processAttributes(World world, List<AjAttribute> as) | |
| removeAnnotation | back to summary |
|---|---|
| public void removeAnnotation(ResolvedType annotationType) | |
| unpackAjAttributes | back to summary |
|---|---|
| private void unpackAjAttributes(World world) | |
| unpackGenericSignature | back to summary |
|---|---|
| private void unpackGenericSignature() | |
| unpackJavaAttributes | back to summary |
|---|---|
| private void unpackJavaAttributes() | |
| workOutIfSynthetic | back to summary |
|---|---|
| private void workOutIfSynthetic() | |