public class AnnotationTypeImpl extends InterfaceModelImpl implements AnnotationType
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,java.lang.Object> |
defValues |
private java.util.Set<AnnotatedElement> |
references |
| Constructor and Description |
|---|
AnnotationTypeImpl(java.lang.String name,
TypeProxy<Type> sink) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDefaultValue(java.lang.String name,
java.lang.Object value) |
java.util.Collection<AnnotatedElement> |
allAnnotatedTypes()
Returns an unmodifiable collection of annotated element with
this annotation
|
(package private) java.util.Set<AnnotatedElement> |
getAnnotatedElements() |
java.util.Map<java.lang.String,java.lang.Object> |
getDefaultValues()
Returns an unmodifiable collection of annotation default values.
|
protected void |
print(java.lang.StringBuffer sb)
prints a meaningful string
|
allImplementations, implementationsaddField, addStaticField, allSubTypes, getInterfaces, getParameterizedInterfaces, getParent, getStaticFields, isImplementing, isImplementing, setParent, subTypesaddDefiningURI, addMethod, getDefiningURIs, getMethods, getProxy, getReferences, wasDefinedInaddAnnotation, getAnnotation, getAnnotations, getName, isApplicationClass, setApplicationClass, shortDesc, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitallImplementations, implementationsallSubTypes, getInterfaces, getParameterizedInterfaces, getParent, getStaticFields, subTypesgetDefiningURIs, getMethods, getReferences, wasDefinedIngetAnnotation, getAnnotations, getName, shortDescprivate final java.util.Set<AnnotatedElement> references
private final java.util.Map<java.lang.String,java.lang.Object> defValues
public java.util.Collection<AnnotatedElement> allAnnotatedTypes()
AnnotationTypeallAnnotatedTypes in interface AnnotationTypepublic void addDefaultValue(java.lang.String name,
java.lang.Object value)
public java.util.Map<java.lang.String,java.lang.Object> getDefaultValues()
AnnotationTypegetDefaultValues in interface AnnotationTypejava.util.Set<AnnotatedElement> getAnnotatedElements()
protected void print(java.lang.StringBuffer sb)
ExtensibleTypeImplprint in class InterfaceModelImplsb - the string buffer to write to.