Interface AnnotationElementSource.DefaultValue
- All Superinterfaces:
AnnotationElement.ReadDefaultValue<JavaAnnotationSource>
- Enclosing interface:
- AnnotationElementSource
public static interface AnnotationElementSource.DefaultValue
extends AnnotationElement.ReadDefaultValue<JavaAnnotationSource>
Represents the default value of an
AnnotationElementSource and provides mechanisms to set that value.-
Method Summary
Modifier and TypeMethodDescriptionsetClassArray(Class<?>... values) <T extends Enum<T>>
AnnotationElementSource.DefaultValuesetEnum(T value) <T extends Enum<T>>
AnnotationElementSource.DefaultValuesetEnumArray(T... values) setLiteral(String value) setSingleClass(Class<?> value) Methods inherited from interface org.jboss.forge.roaster.model.AnnotationElement.ReadDefaultValue
getClassArray, getEnum, getEnumArray, getLiteral, getSingleClass, getString
-
Method Details
-
getAnnotation
AnnotationSource<JavaAnnotationSource> getAnnotation()- Specified by:
getAnnotationin interfaceAnnotationElement.ReadDefaultValue<JavaAnnotationSource>
-
setLiteral
-
setString
-
setEnum
-
setEnumArray
-
setAnnotation
AnnotationSource<JavaAnnotationSource> setAnnotation() -
setSingleClass
-
setClassArray
-