public class StatementFieldSource extends Object implements org.jboss.forge.roaster.model.source.FieldSource
Constructor and Description |
---|
StatementFieldSource(org.jboss.forge.roaster.model.source.JavaClassSource origin,
Object internal,
Object typeInternal) |
Modifier and Type | Method and Description |
---|---|
org.jboss.forge.roaster.model.source.AnnotationSource |
addAnnotation() |
org.jboss.forge.roaster.model.source.AnnotationSource |
addAnnotation(Class type) |
org.jboss.forge.roaster.model.source.AnnotationSource |
addAnnotation(String className) |
org.jboss.forge.roaster.model.source.AnnotationSource |
getAnnotation(Class type) |
org.jboss.forge.roaster.model.source.AnnotationSource |
getAnnotation(String type) |
List<org.jboss.forge.roaster.model.source.AnnotationSource> |
getAnnotations() |
int |
getColumnNumber() |
int |
getEndPosition() |
Object |
getInternal() |
org.jboss.forge.roaster.model.source.JavaDocSource |
getJavaDoc() |
int |
getLineNumber() |
String |
getLiteralInitializer() |
String |
getName() |
Object |
getOrigin() |
int |
getStartPosition() |
String |
getStringInitializer() |
org.jboss.forge.roaster.model.Type |
getType() |
org.jboss.forge.roaster.model.Visibility |
getVisibility() |
boolean |
hasAnnotation(Class type) |
boolean |
hasAnnotation(String type) |
boolean |
hasJavaDoc() |
boolean |
isFinal() |
boolean |
isPackagePrivate() |
boolean |
isPrivate() |
boolean |
isProtected() |
boolean |
isPublic() |
boolean |
isStatic() |
boolean |
isTransient() |
boolean |
isVolatile() |
void |
removeAllAnnotations() |
Object |
removeAnnotation(org.jboss.forge.roaster.model.Annotation annotation) |
Object |
removeJavaDoc() |
Object |
setFinal(boolean finl) |
org.jboss.forge.roaster.model.source.FieldSource |
setLiteralInitializer(String value) |
Object |
setName(String name) |
Object |
setPackagePrivate() |
Object |
setPrivate() |
Object |
setProtected() |
Object |
setPublic() |
Object |
setStatic(boolean value) |
org.jboss.forge.roaster.model.source.FieldSource |
setStringInitializer(String value) |
org.jboss.forge.roaster.model.source.FieldSource |
setTransient(boolean value) |
org.jboss.forge.roaster.model.source.FieldSource |
setType(Class clazz) |
org.jboss.forge.roaster.model.source.FieldSource |
setType(org.jboss.forge.roaster.model.JavaType entity) |
org.jboss.forge.roaster.model.source.FieldSource |
setType(String type) |
Object |
setVisibility(org.jboss.forge.roaster.model.Visibility scope) |
org.jboss.forge.roaster.model.source.FieldSource |
setVolatile(boolean value) |
public org.jboss.forge.roaster.model.source.FieldSource setType(Class clazz)
setType
in interface org.jboss.forge.roaster.model.source.FieldSource
public org.jboss.forge.roaster.model.source.FieldSource setType(String type)
setType
in interface org.jboss.forge.roaster.model.source.FieldSource
public org.jboss.forge.roaster.model.source.FieldSource setLiteralInitializer(String value)
setLiteralInitializer
in interface org.jboss.forge.roaster.model.source.FieldSource
public org.jboss.forge.roaster.model.source.FieldSource setStringInitializer(String value)
setStringInitializer
in interface org.jboss.forge.roaster.model.source.FieldSource
public org.jboss.forge.roaster.model.source.FieldSource setTransient(boolean value)
setTransient
in interface org.jboss.forge.roaster.model.source.FieldSource
public org.jboss.forge.roaster.model.source.FieldSource setVolatile(boolean value)
setVolatile
in interface org.jboss.forge.roaster.model.source.FieldSource
public org.jboss.forge.roaster.model.source.FieldSource setType(org.jboss.forge.roaster.model.JavaType entity)
setType
in interface org.jboss.forge.roaster.model.source.FieldSource
public List<org.jboss.forge.roaster.model.source.AnnotationSource> getAnnotations()
getAnnotations
in interface org.jboss.forge.roaster.model.AnnotationTarget
getAnnotations
in interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
public boolean hasAnnotation(String type)
hasAnnotation
in interface org.jboss.forge.roaster.model.AnnotationTarget
public boolean hasAnnotation(Class type)
hasAnnotation
in interface org.jboss.forge.roaster.model.AnnotationTarget
public org.jboss.forge.roaster.model.source.AnnotationSource getAnnotation(String type)
getAnnotation
in interface org.jboss.forge.roaster.model.AnnotationTarget
getAnnotation
in interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
public org.jboss.forge.roaster.model.source.AnnotationSource addAnnotation()
addAnnotation
in interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
public org.jboss.forge.roaster.model.source.AnnotationSource addAnnotation(String className)
addAnnotation
in interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
public void removeAllAnnotations()
removeAllAnnotations
in interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
public Object removeAnnotation(org.jboss.forge.roaster.model.Annotation annotation)
removeAnnotation
in interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
public org.jboss.forge.roaster.model.source.AnnotationSource addAnnotation(Class type)
addAnnotation
in interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
public org.jboss.forge.roaster.model.source.AnnotationSource getAnnotation(Class type)
getAnnotation
in interface org.jboss.forge.roaster.model.AnnotationTarget
getAnnotation
in interface org.jboss.forge.roaster.model.source.AnnotationTargetSource
public org.jboss.forge.roaster.model.Type getType()
getType
in interface org.jboss.forge.roaster.model.Field
public String getStringInitializer()
getStringInitializer
in interface org.jboss.forge.roaster.model.Field
public String getLiteralInitializer()
getLiteralInitializer
in interface org.jboss.forge.roaster.model.Field
public boolean isTransient()
isTransient
in interface org.jboss.forge.roaster.model.Field
public boolean isVolatile()
isVolatile
in interface org.jboss.forge.roaster.model.Field
public Object setFinal(boolean finl)
setFinal
in interface org.jboss.forge.roaster.model.source.FinalCapableSource
public boolean isFinal()
isFinal
in interface org.jboss.forge.roaster.model.FinalCapable
public Object getInternal()
getInternal
in interface org.jboss.forge.roaster.Internal
public org.jboss.forge.roaster.model.source.JavaDocSource getJavaDoc()
getJavaDoc
in interface org.jboss.forge.roaster.model.JavaDocCapable
getJavaDoc
in interface org.jboss.forge.roaster.model.source.JavaDocCapableSource
public boolean hasJavaDoc()
hasJavaDoc
in interface org.jboss.forge.roaster.model.JavaDocCapable
public Object removeJavaDoc()
removeJavaDoc
in interface org.jboss.forge.roaster.model.source.JavaDocCapableSource
public Object setName(String name)
setName
in interface org.jboss.forge.roaster.model.source.NamedSource
public String getName()
getName
in interface org.jboss.forge.roaster.model.Named
public Object getOrigin()
getOrigin
in interface org.jboss.forge.roaster.Origin
public Object setStatic(boolean value)
setStatic
in interface org.jboss.forge.roaster.model.source.StaticCapableSource
public boolean isStatic()
isStatic
in interface org.jboss.forge.roaster.model.StaticCapable
public Object setPackagePrivate()
setPackagePrivate
in interface org.jboss.forge.roaster.model.source.VisibilityScopedSource
public Object setPublic()
setPublic
in interface org.jboss.forge.roaster.model.source.VisibilityScopedSource
public Object setPrivate()
setPrivate
in interface org.jboss.forge.roaster.model.source.VisibilityScopedSource
public Object setProtected()
setProtected
in interface org.jboss.forge.roaster.model.source.VisibilityScopedSource
public Object setVisibility(org.jboss.forge.roaster.model.Visibility scope)
setVisibility
in interface org.jboss.forge.roaster.model.source.VisibilityScopedSource
public boolean isPackagePrivate()
isPackagePrivate
in interface org.jboss.forge.roaster.model.VisibilityScoped
public boolean isPublic()
isPublic
in interface org.jboss.forge.roaster.model.VisibilityScoped
public boolean isPrivate()
isPrivate
in interface org.jboss.forge.roaster.model.VisibilityScoped
public boolean isProtected()
isProtected
in interface org.jboss.forge.roaster.model.VisibilityScoped
public org.jboss.forge.roaster.model.Visibility getVisibility()
getVisibility
in interface org.jboss.forge.roaster.model.VisibilityScoped
public int getColumnNumber()
getColumnNumber
in interface org.jboss.forge.roaster.model.source.LocationCapable
public int getStartPosition()
getStartPosition
in interface org.jboss.forge.roaster.model.source.LocationCapable
public int getEndPosition()
getEndPosition
in interface org.jboss.forge.roaster.model.source.LocationCapable
public int getLineNumber()
getLineNumber
in interface org.jboss.forge.roaster.model.source.LocationCapable
Apache Camel