Class Overview
Visit result object, provided to the call-back methods of a dexdec
AST visitor object.
Refer to IJavaElement
's visitXxx
methods.
Refer to the super class for a list of allowed flags.
Summary
[Expand]
Inherited Methods |
From class
com.pnfsoftware.jeb.core.units.code.AbstractVisitResults
int
|
getFlags()
|
int
|
getResultCode()
|
void
|
interrupt(boolean success, int code)
Notify the visitor that the visit of the tree should be stopped.
|
void
|
interrupt(boolean success)
Notify the visitor that the visit of the tree should be stopped.
|
boolean
|
isInterruptedVisit()
|
boolean
|
isVisitedSuccessfully()
|
T
|
parent(int index)
This convenience method returns the i'th ancestor (i=0 being the immediate parent) of the
element.
|
Iterator<T>
|
parentsIterator()
Optional iterator containing the parents; non-null only if FLAG_RECORD_PARENTS was
used when creating the object.
|
void
|
popParent()
|
void
|
pushParent(T parent)
|
void
|
setReplacedNode(T newNode)
Notify the visitor that the current node was replaced by the
process method.
|
void
|
setVisitResult(boolean success)
Saves the visit result (do not stop the visitor: use interrupt(boolean) to stop the
process)
|
void
|
skipChildren()
Used in DFS pre-order to notify the visitor that the children of the currently visited node
should be skipped; the visitor will then proceed with the next cousin.
|
|
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
com.pnfsoftware.jeb.core.units.code.IVisitResults
abstract
int
|
getResultCode()
|
abstract
void
|
interrupt(boolean success, int code)
Notify the visitor that the visit of the tree should be stopped.
|
abstract
void
|
interrupt(boolean success)
Notify the visitor that the visit of the tree should be stopped.
|
abstract
boolean
|
isInterruptedVisit()
|
abstract
boolean
|
isVisitedSuccessfully()
|
abstract
T
|
parent(int index)
This convenience method returns the i'th ancestor (i=0 being the immediate parent) of the
element.
|
abstract
Iterator<T>
|
parentsIterator()
Optional iterator containing the parents; non-null only if FLAG_RECORD_PARENTS was
used when creating the object.
|
abstract
void
|
setReplacedNode(T newNode)
Notify the visitor that the current node was replaced by the
process method.
|
abstract
void
|
setVisitResult(boolean success)
Saves the visit result (do not stop the visitor: use interrupt(boolean) to stop the
process)
|
abstract
void
|
skipChildren()
Used in DFS pre-order to notify the visitor that the children of the currently visited node
should be skipped; the visitor will then proceed with the next cousin.
|
|
Public Constructors
public
JVisitResults
(int flags)