public class AnnotationModelImpl extends java.lang.Object implements AnnotationModel
| Constructor and Description |
|---|
AnnotationModelImpl(AnnotatedElement element,
AnnotationType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
addValue(java.lang.String name,
java.lang.Object value) |
AnnotatedElement |
getElement()
Returns the annotated element with this annotation instance
|
AnnotationType |
getType()
Returns the annotation type for this model
|
java.util.Map<java.lang.String,java.lang.Object> |
getValues()
Returns an unmodifiable collection of annotation values.
|
java.lang.String |
toString() |
public AnnotationModelImpl(AnnotatedElement element, AnnotationType type)
public java.lang.String toString()
toString in class java.lang.Objectpublic void addValue(java.lang.String name,
java.lang.Object value)
public java.util.Map<java.lang.String,java.lang.Object> getValues()
AnnotationModelgetValues in interface AnnotationModelpublic AnnotationType getType()
AnnotationModelgetType in interface AnnotationModelpublic AnnotatedElement getElement()
AnnotationModelgetElement in interface AnnotationModelCopyright © 2013 Oracle Corporation. All Rights Reserved.