|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

public interface ASTBase
Base class defining shared Abstract Syntax Tree elements
| Method Summary | ||
|---|---|---|
|
getAnnotation(Class<A> annotation)
Supplies the given annotation instance from the given annotation class key |
|
Collection<ASTAnnotation> |
getAnnotations()
Supplies the set of annotations |
|
ASTAnnotation |
getASTAnnotation(Class annotation)
Getter for the AST Annotation associated with the given annotation type |
|
String |
getName()
Supplies the name of the current tree node |
|
boolean |
isAnnotated(Class<? extends Annotation> annotation)
Determines if the current element is annotated with the given annotation class |
|
| Method Detail |
|---|
boolean isAnnotated(Class<? extends Annotation> annotation)
annotation - key
Collection<ASTAnnotation> getAnnotations()
<A extends Annotation> A getAnnotation(Class<A> annotation)
A - annotation typeannotation - key
ASTAnnotation getASTAnnotation(Class annotation)
annotation - type
String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||