public class AnnotationTypeImpl extends InterfaceModelImpl implements AnnotationType
Constructor and Description |
---|
AnnotationTypeImpl(String name,
TypeProxy<Type> sink) |
Modifier and Type | Method and Description |
---|---|
void |
addDefaultValue(String name,
Object value) |
Collection<AnnotatedElement> |
allAnnotatedTypes()
Returns an unmodifiable collection of annotated element with
this annotation
|
Map<String,Object> |
getDefaultValues()
Returns an unmodifiable collection of annotation default values.
|
protected void |
print(StringBuffer sb)
prints a meaningful string
|
allImplementations, implementations
allSubTypes, getInterfaces, getParameterizedInterfaces, getParent, getStaticFields, setParent, subTypes
getDefiningURIs, getMethods, getReferences, wasDefinedIn
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
public Collection<AnnotatedElement> allAnnotatedTypes()
AnnotationType
allAnnotatedTypes
in interface AnnotationType
public Map<String,Object> getDefaultValues()
AnnotationType
getDefaultValues
in interface AnnotationType
protected void print(StringBuffer sb)
ExtensibleTypeImpl
print
in class InterfaceModelImpl
sb
- the string buffer to write to.Copyright © 2009–2023 Oracle Corporation. All rights reserved.