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 anAnnotationElementSourceand provides mechanisms to set that value.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnnotationSource<JavaAnnotationSource>getAnnotation()AnnotationSource<JavaAnnotationSource>setAnnotation()AnnotationElementSource.DefaultValuesetClassArray(Class<?>... values)<T extends Enum<T>>
AnnotationElementSource.DefaultValuesetEnum(T value)<T extends Enum<T>>
AnnotationElementSource.DefaultValuesetEnumArray(T... values)AnnotationElementSource.DefaultValuesetLiteral(String value)AnnotationElementSource.DefaultValuesetSingleClass(Class<?> value)AnnotationElementSource.DefaultValuesetString(String value)-
Methods inherited from interface org.jboss.forge.roaster.model.AnnotationElement.ReadDefaultValue
getClassArray, getEnum, getEnumArray, getLiteral, getSingleClass, getString
-
-
-
-
Method Detail
-
getAnnotation
AnnotationSource<JavaAnnotationSource> getAnnotation()
- Specified by:
getAnnotationin interfaceAnnotationElement.ReadDefaultValue<JavaAnnotationSource>
-
setLiteral
AnnotationElementSource.DefaultValue setLiteral(String value)
-
setString
AnnotationElementSource.DefaultValue setString(String value)
-
setEnum
<T extends Enum<T>> AnnotationElementSource.DefaultValue setEnum(T value)
-
setEnumArray
<T extends Enum<T>> AnnotationElementSource.DefaultValue setEnumArray(T... values)
-
setAnnotation
AnnotationSource<JavaAnnotationSource> setAnnotation()
-
setSingleClass
AnnotationElementSource.DefaultValue setSingleClass(Class<?> value)
-
setClassArray
AnnotationElementSource.DefaultValue setClassArray(Class<?>... values)
-
-