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