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.FieldSourcepublic org.jboss.forge.roaster.model.source.FieldSource setType(String type)
setType in interface org.jboss.forge.roaster.model.source.FieldSourcepublic org.jboss.forge.roaster.model.source.FieldSource setLiteralInitializer(String value)
setLiteralInitializer in interface org.jboss.forge.roaster.model.source.FieldSourcepublic org.jboss.forge.roaster.model.source.FieldSource setStringInitializer(String value)
setStringInitializer in interface org.jboss.forge.roaster.model.source.FieldSourcepublic org.jboss.forge.roaster.model.source.FieldSource setTransient(boolean value)
setTransient in interface org.jboss.forge.roaster.model.source.FieldSourcepublic org.jboss.forge.roaster.model.source.FieldSource setVolatile(boolean value)
setVolatile in interface org.jboss.forge.roaster.model.source.FieldSourcepublic org.jboss.forge.roaster.model.source.FieldSource setType(org.jboss.forge.roaster.model.JavaType entity)
setType in interface org.jboss.forge.roaster.model.source.FieldSourcepublic List<org.jboss.forge.roaster.model.source.AnnotationSource> getAnnotations()
getAnnotations in interface org.jboss.forge.roaster.model.AnnotationTargetgetAnnotations in interface org.jboss.forge.roaster.model.source.AnnotationTargetSourcepublic boolean hasAnnotation(String type)
hasAnnotation in interface org.jboss.forge.roaster.model.AnnotationTargetpublic boolean hasAnnotation(Class type)
hasAnnotation in interface org.jboss.forge.roaster.model.AnnotationTargetpublic org.jboss.forge.roaster.model.source.AnnotationSource getAnnotation(String type)
getAnnotation in interface org.jboss.forge.roaster.model.AnnotationTargetgetAnnotation in interface org.jboss.forge.roaster.model.source.AnnotationTargetSourcepublic org.jboss.forge.roaster.model.source.AnnotationSource addAnnotation()
addAnnotation in interface org.jboss.forge.roaster.model.source.AnnotationTargetSourcepublic org.jboss.forge.roaster.model.source.AnnotationSource addAnnotation(String className)
addAnnotation in interface org.jboss.forge.roaster.model.source.AnnotationTargetSourcepublic void removeAllAnnotations()
removeAllAnnotations in interface org.jboss.forge.roaster.model.source.AnnotationTargetSourcepublic Object removeAnnotation(org.jboss.forge.roaster.model.Annotation annotation)
removeAnnotation in interface org.jboss.forge.roaster.model.source.AnnotationTargetSourcepublic org.jboss.forge.roaster.model.source.AnnotationSource addAnnotation(Class type)
addAnnotation in interface org.jboss.forge.roaster.model.source.AnnotationTargetSourcepublic org.jboss.forge.roaster.model.source.AnnotationSource getAnnotation(Class type)
getAnnotation in interface org.jboss.forge.roaster.model.AnnotationTargetgetAnnotation in interface org.jboss.forge.roaster.model.source.AnnotationTargetSourcepublic org.jboss.forge.roaster.model.Type getType()
getType in interface org.jboss.forge.roaster.model.Fieldpublic String getStringInitializer()
getStringInitializer in interface org.jboss.forge.roaster.model.Fieldpublic String getLiteralInitializer()
getLiteralInitializer in interface org.jboss.forge.roaster.model.Fieldpublic boolean isTransient()
isTransient in interface org.jboss.forge.roaster.model.Fieldpublic boolean isVolatile()
isVolatile in interface org.jboss.forge.roaster.model.Fieldpublic Object setFinal(boolean finl)
setFinal in interface org.jboss.forge.roaster.model.source.FinalCapableSourcepublic boolean isFinal()
isFinal in interface org.jboss.forge.roaster.model.FinalCapablepublic Object getInternal()
getInternal in interface org.jboss.forge.roaster.Internalpublic org.jboss.forge.roaster.model.source.JavaDocSource getJavaDoc()
getJavaDoc in interface org.jboss.forge.roaster.model.JavaDocCapablegetJavaDoc in interface org.jboss.forge.roaster.model.source.JavaDocCapableSourcepublic boolean hasJavaDoc()
hasJavaDoc in interface org.jboss.forge.roaster.model.JavaDocCapablepublic Object removeJavaDoc()
removeJavaDoc in interface org.jboss.forge.roaster.model.source.JavaDocCapableSourcepublic Object setName(String name)
setName in interface org.jboss.forge.roaster.model.source.NamedSourcepublic String getName()
getName in interface org.jboss.forge.roaster.model.Namedpublic Object getOrigin()
getOrigin in interface org.jboss.forge.roaster.Originpublic Object setStatic(boolean value)
setStatic in interface org.jboss.forge.roaster.model.source.StaticCapableSourcepublic boolean isStatic()
isStatic in interface org.jboss.forge.roaster.model.StaticCapablepublic Object setPackagePrivate()
setPackagePrivate in interface org.jboss.forge.roaster.model.source.VisibilityScopedSourcepublic Object setPublic()
setPublic in interface org.jboss.forge.roaster.model.source.VisibilityScopedSourcepublic Object setPrivate()
setPrivate in interface org.jboss.forge.roaster.model.source.VisibilityScopedSourcepublic Object setProtected()
setProtected in interface org.jboss.forge.roaster.model.source.VisibilityScopedSourcepublic Object setVisibility(org.jboss.forge.roaster.model.Visibility scope)
setVisibility in interface org.jboss.forge.roaster.model.source.VisibilityScopedSourcepublic boolean isPackagePrivate()
isPackagePrivate in interface org.jboss.forge.roaster.model.VisibilityScopedpublic boolean isPublic()
isPublic in interface org.jboss.forge.roaster.model.VisibilityScopedpublic boolean isPrivate()
isPrivate in interface org.jboss.forge.roaster.model.VisibilityScopedpublic boolean isProtected()
isProtected in interface org.jboss.forge.roaster.model.VisibilityScopedpublic org.jboss.forge.roaster.model.Visibility getVisibility()
getVisibility in interface org.jboss.forge.roaster.model.VisibilityScopedpublic int getColumnNumber()
getColumnNumber in interface org.jboss.forge.roaster.model.source.LocationCapablepublic int getStartPosition()
getStartPosition in interface org.jboss.forge.roaster.model.source.LocationCapablepublic int getEndPosition()
getEndPosition in interface org.jboss.forge.roaster.model.source.LocationCapablepublic int getLineNumber()
getLineNumber in interface org.jboss.forge.roaster.model.source.LocationCapableApache Camel