public interface AnnotationElementSource extends AnnotationElement<JavaAnnotationSource>, AnnotationTargetSource<JavaAnnotationSource,AnnotationElementSource>, NamedSource<AnnotationElementSource>
JavaAnnotationSource.| Modifier and Type | Interface and Description |
|---|---|
static interface |
AnnotationElementSource.DefaultValue
Represents the default value of an
AnnotationElementSource and provides mechanisms to set that value. |
AnnotationElement.ReadDefaultValue<O extends JavaAnnotation<O>>| Modifier and Type | Method and Description |
|---|---|
AnnotationElementSource.DefaultValue |
getDefaultValue() |
AnnotationElementSource |
setType(Class<?> clazz)
Set the type of this
AnnotationElement to the given Class type. |
AnnotationElementSource |
setType(JavaType<?> entity)
Set the type of this
AnnotationElement to the given JavaSource> type. |
AnnotationElementSource |
setType(String type)
Set the type of this
AnnotationElement to the given type. |
getTypeaddAnnotation, addAnnotation, addAnnotation, getAnnotation, getAnnotation, getAnnotations, removeAllAnnotations, removeAnnotationhasAnnotation, hasAnnotationgetInternalsetNameAnnotationElementSource setType(Class<?> clazz)
AnnotationElement to the given Class type. Attempt to add an import statement
to this annotation element's base O if required.AnnotationElementSource setType(String type)
AnnotationElement to the given type. Attempt to add an import statement to this
annotation element's base O if required. (Note that the given className must be fully-qualified in order
to properly import required classes)AnnotationElementSource setType(JavaType<?> entity)
AnnotationElement to the given JavaSource> type. Attempt to add an import
statement to this field's base O if required.AnnotationElementSource.DefaultValue getDefaultValue()
getDefaultValue in interface AnnotationElement<JavaAnnotationSource>Copyright © 2017 JBoss by Red Hat. All rights reserved.