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, implementations
addField, addStaticField, allSubTypes, getInterfaces, getParameterizedInterfaces, getParent, getStaticFields, isImplementing, isImplementing, setParent, subTypes
addDefiningURI, addMethod, getDefiningURIs, getMethods, getProxy, getReferences, wasDefinedIn
addAnnotation, getAnnotation, getAnnotations, getName, isApplicationClass, setApplicationClass, shortDesc, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
allImplementations, implementations
allSubTypes, getInterfaces, getParameterizedInterfaces, getParent, getStaticFields, subTypes
getDefiningURIs, getMethods, getReferences, wasDefinedIn
getAnnotation, getAnnotations, getName, shortDesc
private final java.util.Set<AnnotatedElement> references
private final java.util.Map<java.lang.String,java.lang.Object> defValues
public java.util.Collection<AnnotatedElement> allAnnotatedTypes()
AnnotationType
allAnnotatedTypes
in interface AnnotationType
public void addDefaultValue(java.lang.String name, java.lang.Object value)
public java.util.Map<java.lang.String,java.lang.Object> getDefaultValues()
AnnotationType
getDefaultValues
in interface AnnotationType
java.util.Set<AnnotatedElement> getAnnotatedElements()
protected void print(java.lang.StringBuffer sb)
ExtensibleTypeImpl
print
in class InterfaceModelImpl
sb
- the string buffer to write to.