public abstract class JModVisitorWithTemporaryVariableCreation extends JModVisitor
LVALUE_CONTEXT, UNMODIFIABLE_CONTEXT
Constructor and Description |
---|
JModVisitorWithTemporaryVariableCreation() |
Modifier and Type | Method and Description |
---|---|
protected JLocal |
createTempLocal(SourceInfo info,
JType type) |
void |
endVisit(JMethodBody body,
Context ctx) |
void |
endVisit(JStatement x,
Context ctx) |
protected abstract String |
newTemporaryLocalName(SourceInfo info,
JType type,
JMethodBody methodBody) |
boolean |
visit(JMethodBody body,
Context ctx) |
boolean |
visit(JStatement x,
Context ctx) |
accept, accept, accept, acceptImmutable, acceptLvalue, acceptWithInsertRemove, acceptWithInsertRemoveImmutable, checkReplacement, didChange, getNumMods, madeChanges, traverse
accept, accept, accept, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, endVisit, translateException, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
public JModVisitorWithTemporaryVariableCreation()
public void endVisit(JMethodBody body, Context ctx)
public final void endVisit(JStatement x, Context ctx)
public boolean visit(JMethodBody body, Context ctx)
public final boolean visit(JStatement x, Context ctx)
protected JLocal createTempLocal(SourceInfo info, JType type)
protected abstract String newTemporaryLocalName(SourceInfo info, JType type, JMethodBody methodBody)
Copyright © 2018. All rights reserved.