abstract
void
|
addFlags(int f)
Add flags to the current list of flags on this element.
|
abstract
Object
|
addTag(String key, Object value)
Add a tag.
|
abstract
boolean
|
canCauseException()
This non-recursive method indicates whether or not this element may be the cause of an
exception.
|
abstract
void
|
collectAllPhysicalOffsets(Collection<Integer> physicalOffsets)
Collect physical offsets for this element and all its constituents.
|
abstract
IJavaElement
|
duplicate()
Duplicate this element.
|
abstract
void
|
generate(JavaOutputSink out)
Generate this AST element recursively into a sink.
|
abstract
Object
|
getData(Object key)
Retrieve a piece of data attached to this AST element.
|
abstract
JavaElementType
|
getElementType()
This method returns the type of Java AST element held by this object.
|
abstract
int
|
getFlags()
Retrieve the flags set on this element.
|
abstract
String
|
getOrigin()
|
abstract
int
|
getPhysicalOffset()
Retrieve the low-level offset that map to this AST element.
|
abstract
JavaReconAnon
|
getReconAnon()
|
abstract
JavaReconEnum
|
getReconEnum()
|
abstract
JavaReconEnummap
|
getReconEnummap()
|
abstract
JavaReconLambda
|
getReconLambda()
|
abstract
List<IJavaElement>
|
getSubElements()
Get the list of AST elements that constitute this AST element.
|
abstract
Map<String, Object>
|
getTags()
Get a read-only collection of the current tag map.
|
abstract
boolean
|
hasFlags(int f)
Determine whether any flags have been set on this element.
|
abstract
boolean
|
hasPhysicalOffset()
Determine whether a physical offset is attached to this element.
|
abstract
boolean
|
isReconArtifact()
|
abstract
void
|
removeFlags(int f)
Remove some flags from this element.
|
abstract
Object
|
removeTag(String key)
Remove a tag.
|
abstract
boolean
|
replaceSubElement(IJavaElement oldElement, IJavaElement newElement)
Replace one element by another one.
|
abstract
void
|
setData(String key, Object value)
Attach a piece of arbitrary data to this AST element.
|
abstract
void
|
setFlags(int f)
Set flags on this element.
|
abstract
void
|
setLambdaRecon(JavaReconLambda recon)
|
abstract
void
|
setOrigin(String origin)
|
abstract
void
|
setPhysicalOffset(int offset)
Set a low-level physical offset to this AST element.
|
abstract
void
|
setReconAnon(JavaReconAnon recon)
|
abstract
void
|
setReconEnum(JavaReconEnum recon)
|
abstract
void
|
setReconEnummap(JavaReconEnummap recon)
|
abstract
String
|
toShortString()
Generate a short-string version of this element.
|
abstract
boolean
|
visitDepthPost(IJVisitor visitor, IJavaElement parent, JVisitResults results, boolean doNotVisitBlocksInsideCompounds)
Depth-first search, post-order visit of an expression tree or sub-tree.
|
abstract
boolean
|
visitDepthPost(IJVisitor visitor)
Depth-first search, post-order visit of an expression tree or sub-tree.
|
abstract
boolean
|
visitDepthPost(IJVisitor visitor, IJavaElement parent)
Depth-first search, post-order visit of an expression tree or sub-tree.
|
abstract
boolean
|
visitDepthPost(IJVisitor visitor, IJavaElement parent, JVisitResults results)
Depth-first search, post-order visit of an expression tree or sub-tree.
|
abstract
boolean
|
visitDepthPre(IJVisitor visitor, IJavaElement parent)
Visit this AST tree.
|
abstract
boolean
|
visitDepthPre(IJVisitor visitor)
Visit this AST tree.
|
abstract
boolean
|
visitDepthPre(IJVisitor visitor, IJavaElement parent, JVisitResults results)
Visit this AST tree.
|