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(java.lang.Class<?>... values)<T extends java.lang.Enum<T>>
AnnotationElementSource.DefaultValuesetEnum(T value)<T extends java.lang.Enum<T>>
AnnotationElementSource.DefaultValuesetEnumArray(T... values)AnnotationElementSource.DefaultValuesetLiteral(java.lang.String value)AnnotationElementSource.DefaultValuesetSingleClass(java.lang.Class<?> value)AnnotationElementSource.DefaultValuesetString(java.lang.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(java.lang.String value)
-
setString
AnnotationElementSource.DefaultValue setString(java.lang.String value)
-
setEnum
<T extends java.lang.Enum<T>> AnnotationElementSource.DefaultValue setEnum(T value)
-
setEnumArray
<T extends java.lang.Enum<T>> AnnotationElementSource.DefaultValue setEnumArray(T... values)
-
setAnnotation
AnnotationSource<JavaAnnotationSource> setAnnotation()
-
setSingleClass
AnnotationElementSource.DefaultValue setSingleClass(java.lang.Class<?> value)
-
setClassArray
AnnotationElementSource.DefaultValue setClassArray(java.lang.Class<?>... values)
-
-