public class BlockBasedMutatedVariableCollector extends Collector<com.sun.tools.javac.tree.JCTree.JCExpression>
| Constructor and Description |
|---|
BlockBasedMutatedVariableCollector(com.sun.tools.javac.tree.JCTree rootElement,
JavaCompiler javac,
JavaCompilerHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
isMutableUnaryOperator(com.sun.tools.javac.tree.JCTree.JCExpression unary) |
protected boolean |
isPostDecrementOperator(com.sun.tools.javac.tree.JCTree.JCExpression unary) |
protected boolean |
isPostIncrementOperator(com.sun.tools.javac.tree.JCTree.JCExpression unary) |
protected boolean |
isPreDecrementOperator(com.sun.tools.javac.tree.JCTree.JCExpression unary) |
protected boolean |
isPreIncrementOperator(com.sun.tools.javac.tree.JCTree.JCExpression unary) |
void |
visitAssign(com.sun.tools.javac.tree.JCTree.JCAssign assignment) |
void |
visitAssignop(com.sun.tools.javac.tree.JCTree.JCAssignOp assignment) |
void |
visitBlock(com.sun.tools.javac.tree.JCTree.JCBlock tree) |
void |
visitCatch(com.sun.tools.javac.tree.JCTree.JCCatch jcCatch) |
void |
visitForeachLoop(com.sun.tools.javac.tree.JCTree.JCEnhancedForLoop forEachLoop) |
void |
visitForLoop(com.sun.tools.javac.tree.JCTree.JCForLoop jcForLoop) |
void |
visitIf(com.sun.tools.javac.tree.JCTree.JCIf tree) |
void |
visitNewClass(com.sun.tools.javac.tree.JCTree.JCNewClass tree) |
void |
visitSwitch(com.sun.tools.javac.tree.JCTree.JCSwitch tree) |
void |
visitTry(com.sun.tools.javac.tree.JCTree.JCTry tree) |
void |
visitUnary(com.sun.tools.javac.tree.JCTree.JCUnary tree) |
void |
visitVarDef(com.sun.tools.javac.tree.JCTree.JCVariableDecl variableDecl) |
collect, collectAll, execute, iterator, toListtranslate, translate, translateAnnotations, translateCases, translateCatchers, translateTypeParams, translateVarDefs, visitAnnotation, visitApply, visitAssert, visitBinary, visitBreak, visitCase, visitClassDef, visitConditional, visitContinue, visitDoLoop, visitErroneous, visitExec, visitIdent, visitImport, visitIndexed, visitLabelled, visitLetExpr, visitLiteral, visitMethodDef, visitModifiers, visitNewArray, visitParens, visitReturn, visitSelect, visitSkip, visitSynchronized, visitThrow, visitTopLevel, visitTree, visitTypeApply, visitTypeArray, visitTypeBoundKind, visitTypeCast, visitTypeIdent, visitTypeParameter, visitTypeTest, visitTypeUnion, visitWhileLoop, visitWildcardpublic BlockBasedMutatedVariableCollector(com.sun.tools.javac.tree.JCTree rootElement,
JavaCompiler javac,
JavaCompilerHelper helper)
public void visitAssign(com.sun.tools.javac.tree.JCTree.JCAssign assignment)
visitAssign in class com.sun.tools.javac.tree.TreeTranslatorpublic void visitAssignop(com.sun.tools.javac.tree.JCTree.JCAssignOp assignment)
visitAssignop in class com.sun.tools.javac.tree.TreeTranslatorpublic void visitNewClass(com.sun.tools.javac.tree.JCTree.JCNewClass tree)
visitNewClass in class com.sun.tools.javac.tree.TreeTranslatorpublic void visitVarDef(com.sun.tools.javac.tree.JCTree.JCVariableDecl variableDecl)
visitVarDef in class com.sun.tools.javac.tree.TreeTranslatorpublic void visitForLoop(com.sun.tools.javac.tree.JCTree.JCForLoop jcForLoop)
visitForLoop in class com.sun.tools.javac.tree.TreeTranslatorpublic void visitForeachLoop(com.sun.tools.javac.tree.JCTree.JCEnhancedForLoop forEachLoop)
visitForeachLoop in class com.sun.tools.javac.tree.TreeTranslatorpublic void visitCatch(com.sun.tools.javac.tree.JCTree.JCCatch jcCatch)
visitCatch in class com.sun.tools.javac.tree.TreeTranslatorpublic void visitBlock(com.sun.tools.javac.tree.JCTree.JCBlock tree)
visitBlock in class com.sun.tools.javac.tree.TreeTranslatorpublic void visitUnary(com.sun.tools.javac.tree.JCTree.JCUnary tree)
visitUnary in class com.sun.tools.javac.tree.TreeTranslatorprotected boolean isMutableUnaryOperator(com.sun.tools.javac.tree.JCTree.JCExpression unary)
protected boolean isPostIncrementOperator(com.sun.tools.javac.tree.JCTree.JCExpression unary)
protected boolean isPostDecrementOperator(com.sun.tools.javac.tree.JCTree.JCExpression unary)
protected boolean isPreIncrementOperator(com.sun.tools.javac.tree.JCTree.JCExpression unary)
protected boolean isPreDecrementOperator(com.sun.tools.javac.tree.JCTree.JCExpression unary)
public void visitSwitch(com.sun.tools.javac.tree.JCTree.JCSwitch tree)
visitSwitch in class com.sun.tools.javac.tree.TreeTranslatorpublic void visitIf(com.sun.tools.javac.tree.JCTree.JCIf tree)
visitIf in class com.sun.tools.javac.tree.TreeTranslatorpublic void visitTry(com.sun.tools.javac.tree.JCTree.JCTry tree)
visitTry in class com.sun.tools.javac.tree.TreeTranslator