public class AnnotationTypeImpl extends InterfaceModelImpl implements AnnotationType
| 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
|
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, implementationsallSubTypes, getInterfaces, getParameterizedInterfaces, getParent, getStaticFields, setParent, subTypesgetDefiningURIs, getMethods, getReferences, wasDefinedIngetAnnotation, getAnnotations, getName, shortDesc, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitallImplementations, implementationsallSubTypes, getInterfaces, getParameterizedInterfaces, getParent, getStaticFields, subTypesgetDefiningURIs, getMethods, getReferences, wasDefinedIngetAnnotation, getAnnotations, getName, shortDescpublic 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 AnnotationTypeprotected void print(java.lang.StringBuffer sb)
ExtensibleTypeImplprint in class InterfaceModelImplsb - the string buffer to write to.Copyright © 2013 Oracle Corporation. All Rights Reserved.