|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.aspectj.weaver.bcel.AtAjAttributes
public class AtAjAttributes
Annotation defined aspect reader. Reads the Java 5 annotations and turns them into AjAttributes
Nested Class Summary | |
---|---|
static class |
AtAjAttributes.LazyResolvedPointcutDefinition
LazyResolvedPointcutDefinition lazyly resolve the pointcut so that we have time to register all pointcut referenced before pointcut resolution happens |
Constructor Summary | |
---|---|
AtAjAttributes()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AtAjAttributes()
Method Detail |
---|
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
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |