public interface AnnotatedNode
| Modifier and Type | Interface and Description |
|---|---|
static class |
AnnotatedNode.BaseAnnotatedNode
Simple implementation of
AnnotatedNode what stores all in fields |
| Modifier and Type | Method and Description |
|---|---|
Collection<Annotation> |
getAnnotataions()
Get list of annotations linked to this node
|
<T extends Annotation> |
getAnnotation(Class<T> annotationClass)
Annotation instance linked to this node
|
String |
getName()
Node name
|
boolean |
hasAnnotation(Class<? extends Annotation> annotationClass)
Check what annotation present
|
String getName()
<T extends Annotation> T getAnnotation(Class<T> annotationClass)
T - annotation generic typeannotationClass - class of annotation to lookupboolean hasAnnotation(Class<? extends Annotation> annotationClass)
annotationClass - class of annotation to checkCollection<Annotation> getAnnotataions()
Copyright © 2016. All rights reserved.