public class AtAjAttributes
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AtAjAttributes.LazyResolvedPointcutDefinition
LazyResolvedPointcutDefinition lazyly resolve the pointcut so that we have time to register all pointcut referenced before
pointcut resolution happens
|
Constructor and Description |
---|
AtAjAttributes() |
Modifier and Type | Method and Description |
---|---|
static boolean |
acceptAttribute(Attribute attribute)
Annotations are RuntimeVisible only.
|
static int |
extractExtraArgument(java.lang.String[] argumentSignatures)
Compute the flag for the xxxJoinPoint extra argument
|
static java.lang.String |
getMethodForMessage(org.aspectj.weaver.bcel.AtAjAttributes.AjAttributeMethodStruct methodstructure)
Return a nicely formatted method string, for example: int X.foo(java.lang.String)
|
static java.util.List<AjAttribute> |
readAj5ClassAttributes(AsmManager model,
JavaClass javaClass,
ReferenceType type,
ISourceContext context,
IMessageHandler msgHandler,
boolean isCodeStyleAspect)
Extract class level annotations and turn them into AjAttributes.
|
static java.util.List<AjAttribute> |
readAj5FieldAttributes(Field field,
org.aspectj.weaver.bcel.BcelField bField,
ResolvedType type,
ISourceContext context,
IMessageHandler msgHandler)
Extract field level annotations and turn them into AjAttributes.
|
static java.util.List<AjAttribute> |
readAj5MethodAttributes(Method method,
org.aspectj.weaver.bcel.BcelMethod bMethod,
ResolvedType type,
ResolvedPointcutDefinition preResolvedPointcut,
ISourceContext context,
IMessageHandler msgHandler)
Extract method level annotations and turn them into AjAttributes.
|
public static boolean acceptAttribute(Attribute attribute)
attribute
- public static java.util.List<AjAttribute> readAj5ClassAttributes(AsmManager model, JavaClass javaClass, ReferenceType type, ISourceContext context, IMessageHandler msgHandler, boolean isCodeStyleAspect)
javaClass
- type
- context
- msgHandler
- public static java.util.List<AjAttribute> readAj5MethodAttributes(Method method, org.aspectj.weaver.bcel.BcelMethod bMethod, ResolvedType type, ResolvedPointcutDefinition preResolvedPointcut, ISourceContext context, IMessageHandler msgHandler)
method
- type
- context
- msgHandler
- public static java.util.List<AjAttribute> readAj5FieldAttributes(Field field, org.aspectj.weaver.bcel.BcelField bField, ResolvedType type, ISourceContext context, IMessageHandler msgHandler)
field
- type
- context
- msgHandler
- public static java.lang.String getMethodForMessage(org.aspectj.weaver.bcel.AtAjAttributes.AjAttributeMethodStruct methodstructure)
public static int extractExtraArgument(java.lang.String[] argumentSignatures)
argumentSignatures
-