|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.glassfish.hk2.classmodel.reflect.impl.AnnotationModelImpl
public class AnnotationModelImpl
Model a annotation instance
Constructor Summary | |
---|---|
AnnotationModelImpl(AnnotatedElement element,
AnnotationType type)
|
Method Summary | |
---|---|
void |
addValue(String name,
Object value)
|
AnnotatedElement |
getElement()
Returns the annotated element with this annotation instance |
AnnotationType |
getType()
Returns the annotation type for this model |
Map<String,Object> |
getValues()
Returns an unmodifiable collection of annotation values. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AnnotationModelImpl(AnnotatedElement element, AnnotationType type)
Method Detail |
---|
public String toString()
toString
in class Object
public void addValue(String name, Object value)
public Map<String,Object> getValues()
AnnotationModel
getValues
in interface AnnotationModel
public AnnotationType getType()
AnnotationModel
getType
in interface AnnotationModel
public AnnotatedElement getElement()
AnnotationModel
getElement
in interface AnnotationModel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |