public class AnnotationTypeImpl extends InterfaceModelImpl implements AnnotationType
parent| 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
|
Object |
getDefaultValue(String key)
Returns the value to which the key is mapped
|
Map<String,Object> |
getDefaultValues()
Returns an unmodifiable collection of annotation default values.
|
protected void |
print(StringBuffer sb)
prints a meaningful string
|
allImplementations, implementationsallSubTypes, getFormalTypeParameters, getInterfaces, getParameterizedInterface, getParameterizedInterfaces, getParent, getSimpleName, getStaticFields, isInstanceOf, setFormalTypeParameters, setParent, subTypesgetDefiningURIs, getMethods, getReferences, wasDefinedIngetAnnotation, getAnnotations, getName, isApplicationClass, setApplicationClass, shortDesc, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitallImplementations, implementationsallSubTypes, getFormalTypeParameters, getInterfaces, getParameterizedInterface, getParameterizedInterfaces, getParent, getSimpleName, getStaticFields, isInstanceOf, subTypesgetDefiningURIs, getMethods, getReferences, wasDefinedIngetAnnotation, getAnnotations, getName, shortDescpublic Collection<AnnotatedElement> allAnnotatedTypes()
AnnotationTypeallAnnotatedTypes in interface AnnotationTypepublic Map<String,Object> getDefaultValues()
AnnotationTypegetDefaultValues in interface AnnotationTypepublic Object getDefaultValue(String key)
AnnotationTypegetDefaultValue in interface AnnotationTypekey - the key whose associated value is to be returnedprotected void print(StringBuffer sb)
ExtensibleTypeImplprint in class InterfaceModelImplsb - the string buffer to write to.Copyright © 2009–2022 Oracle Corporation. All rights reserved.