public class AnnotationElementImpl extends Object implements AnnotationElement
AnnotationElement.DefaultValue| Constructor and Description |
|---|
AnnotationElementImpl(JavaAnnotation parent) |
AnnotationElementImpl(JavaAnnotation parent,
Object internal) |
AnnotationElementImpl(JavaAnnotation parent,
String declaration) |
public AnnotationElementImpl(JavaAnnotation parent)
public AnnotationElementImpl(JavaAnnotation parent, String declaration)
public AnnotationElementImpl(JavaAnnotation parent, Object internal)
public JavaAnnotation getOrigin()
getOrigin in interface Origin<JavaAnnotation>public Object getInternal()
getInternal in interface Internalpublic Annotation<JavaAnnotation> addAnnotation()
addAnnotation in interface AnnotationTarget<JavaAnnotation,AnnotationElement>public Annotation<JavaAnnotation> addAnnotation(Class<? extends Annotation> clazz)
addAnnotation in interface AnnotationTarget<JavaAnnotation,AnnotationElement>public Annotation<JavaAnnotation> addAnnotation(String className)
addAnnotation in interface AnnotationTarget<JavaAnnotation,AnnotationElement>public List<Annotation<JavaAnnotation>> getAnnotations()
getAnnotations in interface AnnotationTarget<JavaAnnotation,AnnotationElement>public boolean hasAnnotation(Class<? extends Annotation> type)
hasAnnotation in interface AnnotationTarget<JavaAnnotation,AnnotationElement>public boolean hasAnnotation(String type)
hasAnnotation in interface AnnotationTarget<JavaAnnotation,AnnotationElement>public Annotation<JavaAnnotation> getAnnotation(Class<? extends Annotation> type)
getAnnotation in interface AnnotationTarget<JavaAnnotation,AnnotationElement>public Annotation<JavaAnnotation> getAnnotation(String type)
getAnnotation in interface AnnotationTarget<JavaAnnotation,AnnotationElement>public AnnotationElement removeAnnotation(Annotation<JavaAnnotation> annotation)
removeAnnotation in interface AnnotationTarget<JavaAnnotation,AnnotationElement>public String getName()
getName in interface AnnotationElementpublic AnnotationElement setName(String name)
setName in interface AnnotationElementpublic String getType()
getType in interface AnnotationElementpublic String getQualifiedType()
getQualifiedType in interface AnnotationElementpublic Type<JavaAnnotation> getTypeInspector()
getTypeInspector in interface AnnotationElementpublic boolean isType(Class<?> type)
isType in interface AnnotationElementpublic boolean isType(String name)
isType in interface AnnotationElementpublic AnnotationElement setType(Class<?> clazz)
setType in interface AnnotationElementpublic AnnotationElement setType(JavaSource<?> source)
setType in interface AnnotationElementpublic AnnotationElement setType(String typeName)
setType in interface AnnotationElementpublic AnnotationElement.DefaultValue getDefaultValue()
getDefaultValue in interface AnnotationElementCopyright © 2013 JBoss by Red Hat. All Rights Reserved.