|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectataspectj.AtAspectjComponent
ataspectj.instrumentation.AnnotationViewer
public class AnnotationViewer
This class is used to retrieve all the Annotated Blocks contained into a Java Class.
Field Summary |
---|
Fields inherited from class ataspectj.AtAspectjComponent |
---|
barrier, CODEPRINT, DEBUG, VERBOSE |
Constructor Summary | |
---|---|
AnnotationViewer()
|
Method Summary | |
---|---|
static void |
getAllAnnotatedBlock(java.lang.Class cls,
java.util.LinkedList<atjava.lang.annotation.AnnotatedBlock> allAnnotatedBlocks)
Gets all the Annotated Block of the given Class, the method search into Constructors and Methods. |
static void |
getAllAnnotatedBlock(java.lang.reflect.Constructor m,
java.util.LinkedList<atjava.lang.annotation.AnnotatedBlock> toret)
Gets all the Annotated Block included into the given Constructor. |
static void |
getAllAnnotatedBlock(java.lang.reflect.Method m,
java.util.LinkedList<atjava.lang.annotation.AnnotatedBlock> toret)
Gets all the Annotated Block included into the given Method. |
static void |
getAllAnnotatedExpression(java.lang.Class cls,
java.util.LinkedList<atjava.lang.annotation.AnnotatedExpression> allAnnotatedExprs)
Gets all the Annotated expressions of the given Class, the method search into Constructors and Methods. |
static void |
getAllAnnotatedExpression(java.lang.reflect.Constructor m,
java.util.LinkedList<atjava.lang.annotation.AnnotatedExpression> toret)
Gets all the Annotated expressions included into the given Constructor. |
static void |
getAllAnnotatedExpression(java.lang.reflect.Method m,
java.util.LinkedList<atjava.lang.annotation.AnnotatedExpression> toret)
Gets all the Annotated expressions included into the given Method. |
protected static void |
getAnnotatedBlock(atjava.lang.annotation.AnnotatedBlock ab,
java.util.LinkedList<atjava.lang.annotation.AnnotatedBlock> tosee,
java.util.LinkedList<atjava.lang.annotation.AnnotatedBlock> toret)
Retrieve recursivelly all the internal Annotated Blocks. |
protected static void |
getAnnotatedExpression(atjava.lang.annotation.AnnotatedExpression ab,
java.util.LinkedList<atjava.lang.annotation.AnnotatedExpression> tosee,
java.util.LinkedList<atjava.lang.annotation.AnnotatedExpression> toret)
Retrieve recursivelly all the internal Annotated expressions. |
Methods inherited from class ataspectj.AtAspectjComponent |
---|
done |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationViewer()
Method Detail |
---|
public static void getAllAnnotatedBlock(java.lang.Class cls, java.util.LinkedList<atjava.lang.annotation.AnnotatedBlock> allAnnotatedBlocks)
cls
- the Class where search annotated block.allAnnotatedBlocks
- the list to fill with the annotated blocks found.public static void getAllAnnotatedBlock(java.lang.reflect.Method m, java.util.LinkedList<atjava.lang.annotation.AnnotatedBlock> toret)
m
- the Method where search annotated block.toret
- the list to fill with the annotated blocks found.public static void getAllAnnotatedBlock(java.lang.reflect.Constructor m, java.util.LinkedList<atjava.lang.annotation.AnnotatedBlock> toret)
m
- the Constructor where search annotated block.toret
- the list to fill with the annotated blocks found.protected static void getAnnotatedBlock(atjava.lang.annotation.AnnotatedBlock ab, java.util.LinkedList<atjava.lang.annotation.AnnotatedBlock> tosee, java.util.LinkedList<atjava.lang.annotation.AnnotatedBlock> toret)
ab
- the Annotated Block where search interanl Annotated Blocks.tosee
- it contain the list of annotated still to investigate.toret
- the list to fill with the annotated blocks found.public static void getAllAnnotatedExpression(java.lang.Class cls, java.util.LinkedList<atjava.lang.annotation.AnnotatedExpression> allAnnotatedExprs)
cls
- the Class where search annotated expressions.allAnnotatedExprs
- the list to fill with the annotated expressions found.public static void getAllAnnotatedExpression(java.lang.reflect.Method m, java.util.LinkedList<atjava.lang.annotation.AnnotatedExpression> toret)
m
- the Method where search annotated expressions.toret
- the list to fill with the annotated expressions found.public static void getAllAnnotatedExpression(java.lang.reflect.Constructor m, java.util.LinkedList<atjava.lang.annotation.AnnotatedExpression> toret)
m
- the Constructor where search annotated expressions.toret
- the list to fill with the annotated expressions found.protected static void getAnnotatedExpression(atjava.lang.annotation.AnnotatedExpression ab, java.util.LinkedList<atjava.lang.annotation.AnnotatedExpression> tosee, java.util.LinkedList<atjava.lang.annotation.AnnotatedExpression> toret)
ab
- the Annotated expressions where search interanl Annotated expressions.tosee
- it contain the list of annotated still to investigate.toret
- the list to fill with the annotated expressions found.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |