Package | Description |
---|---|
com.google.gwt.dev.jjs.ast | |
com.google.gwt.dev.jjs.ast.js | |
com.google.gwt.dev.jjs.impl |
Modifier and Type | Field and Description |
---|---|
protected static Context |
JVisitor.LVALUE_CONTEXT |
protected static Context |
JVisitor.UNMODIFIABLE_CONTEXT |
Modifier and Type | Method and Description |
---|---|
void |
JVisitor.endVisit(JAbstractMethodBody x,
Context ctx) |
void |
JVisitor.endVisit(JArrayLength x,
Context ctx) |
void |
JVisitor.endVisit(JArrayRef x,
Context ctx) |
void |
JVisitor.endVisit(JArrayType x,
Context ctx) |
void |
JVisitor.endVisit(JAssertStatement x,
Context ctx) |
void |
JVisitor.endVisit(JBinaryOperation x,
Context ctx) |
void |
JVisitor.endVisit(JBlock x,
Context ctx) |
void |
JVisitor.endVisit(JBooleanLiteral x,
Context ctx) |
void |
JVisitor.endVisit(JBreakStatement x,
Context ctx) |
void |
JVisitor.endVisit(JCaseStatement x,
Context ctx) |
void |
JVisitor.endVisit(JCastMap x,
Context ctx) |
void |
JVisitor.endVisit(JCastOperation x,
Context ctx) |
void |
JVisitor.endVisit(JCharLiteral x,
Context ctx) |
void |
JVisitor.endVisit(JClassLiteral x,
Context ctx) |
void |
JVisitor.endVisit(JClassType x,
Context ctx) |
void |
JVisitor.endVisit(JConditional x,
Context ctx) |
void |
JVisitor.endVisit(JConstructor x,
Context ctx) |
void |
JVisitor.endVisit(JContinueStatement x,
Context ctx) |
void |
JVisitor.endVisit(JDebuggerStatement x,
Context ctx) |
void |
JVisitor.endVisit(JDeclarationStatement x,
Context ctx) |
void |
JVisitor.endVisit(JDeclaredType x,
Context ctx) |
void |
JVisitor.endVisit(JDoStatement x,
Context ctx) |
void |
JVisitor.endVisit(JDoubleLiteral x,
Context ctx) |
void |
JVisitor.endVisit(JExpression x,
Context ctx) |
void |
JVisitor.endVisit(JExpressionStatement x,
Context ctx) |
void |
JVisitor.endVisit(JField x,
Context ctx) |
void |
JVisitor.endVisit(JFieldRef x,
Context ctx)
NOTE: not called from JsniFieldRef.
|
void |
JVisitor.endVisit(JFloatLiteral x,
Context ctx) |
void |
JVisitor.endVisit(JForStatement x,
Context ctx) |
void |
JVisitor.endVisit(JIfStatement x,
Context ctx) |
void |
JVisitor.endVisit(JInstanceOf x,
Context ctx) |
void |
JVisitor.endVisit(JInterfaceType x,
Context ctx) |
void |
JVisitor.endVisit(JIntLiteral x,
Context ctx) |
void |
JVisitor.endVisit(JLabel x,
Context ctx) |
void |
JVisitor.endVisit(JLabeledStatement x,
Context ctx) |
void |
JVisitor.endVisit(JLiteral x,
Context ctx) |
void |
JVisitor.endVisit(JLocal x,
Context ctx) |
void |
JVisitor.endVisit(JLocalRef x,
Context ctx) |
void |
JVisitor.endVisit(JLongLiteral x,
Context ctx) |
void |
JVisitor.endVisit(JMethodBody x,
Context ctx) |
void |
JVisitor.endVisit(JMethodCall x,
Context ctx)
NOTE: not called from JsniMethodRef.
|
void |
JVisitor.endVisit(JMethod x,
Context ctx) |
void |
JVisitor.endVisit(JMultiExpression x,
Context ctx) |
void |
JVisitor.endVisit(JNameOf x,
Context ctx) |
void |
JVisitor.endVisit(JNewArray x,
Context ctx) |
void |
JVisitor.endVisit(JNewInstance x,
Context ctx) |
void |
JVisitor.endVisit(JNode x,
Context ctx) |
void |
JVisitor.endVisit(JNullLiteral x,
Context ctx) |
void |
JVisitor.endVisit(JNumericEntry x,
Context ctx) |
void |
JVisitor.endVisit(JParameter x,
Context ctx) |
void |
JVisitor.endVisit(JParameterRef x,
Context ctx) |
void |
JVisitor.endVisit(JPermutationDependentValue x,
Context ctx) |
void |
JVisitor.endVisit(JPostfixOperation x,
Context ctx) |
void |
JVisitor.endVisit(JPrefixOperation x,
Context ctx) |
void |
JVisitor.endVisit(JPrimitiveType x,
Context ctx) |
void |
JVisitor.endVisit(JProgram x,
Context ctx) |
void |
JVisitor.endVisit(JReferenceType x,
Context ctx) |
void |
JVisitor.endVisit(JReturnStatement x,
Context ctx) |
void |
JVisitor.endVisit(JRunAsync x,
Context ctx) |
void |
JVisitor.endVisit(JRuntimeTypeReference x,
Context ctx) |
void |
JVisitor.endVisit(JsniClassLiteral x,
Context ctx) |
void |
JVisitor.endVisit(JsniFieldRef x,
Context ctx) |
void |
JVisitor.endVisit(JsniMethodBody x,
Context ctx) |
void |
JVisitor.endVisit(JsniMethodRef x,
Context ctx) |
void |
JVisitor.endVisit(JsonArray x,
Context ctx) |
void |
JVisitor.endVisit(JStatement x,
Context ctx) |
void |
JVisitor.endVisit(JStringLiteral x,
Context ctx) |
void |
JVisitor.endVisit(JSwitchStatement x,
Context ctx) |
void |
JVisitor.endVisit(JThisRef x,
Context ctx) |
void |
JVisitor.endVisit(JThrowStatement x,
Context ctx) |
void |
JVisitor.endVisit(JTryStatement x,
Context ctx) |
void |
JVisitor.endVisit(JType x,
Context ctx) |
void |
JVisitor.endVisit(JUnaryOperation x,
Context ctx) |
void |
JVisitor.endVisit(JUnsafeTypeCoercion x,
Context ctx) |
void |
JVisitor.endVisit(JValueLiteral x,
Context ctx) |
void |
JVisitor.endVisit(JVariable x,
Context ctx) |
void |
JVisitor.endVisit(JVariableRef x,
Context ctx) |
void |
JVisitor.endVisit(JWhileStatement x,
Context ctx) |
protected void |
JModVisitor.traverse(JNode node,
Context context) |
void |
JIfStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JDoStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JInstanceOf.traverse(JVisitor visitor,
Context ctx) |
void |
JNameOf.traverse(JVisitor visitor,
Context ctx) |
void |
JLocalRef.traverse(JVisitor visitor,
Context ctx) |
void |
JConditional.traverse(JVisitor visitor,
Context ctx) |
void |
JThisRef.traverse(JVisitor visitor,
Context ctx) |
void |
JPermutationDependentValue.traverse(JVisitor visitor,
Context ctx) |
void |
JSwitchStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JNumericEntry.traverse(JVisitor visitor,
Context ctx) |
void |
JRuntimeTypeReference.traverse(JVisitor visitor,
Context ctx) |
void |
JContinueStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JClassType.traverse(JVisitor visitor,
Context ctx) |
void |
JPrefixOperation.traverse(JVisitor visitor,
Context ctx) |
void |
JBinaryOperation.traverse(JVisitor visitor,
Context ctx) |
void |
JDoubleLiteral.traverse(JVisitor visitor,
Context ctx) |
abstract void |
JNode.traverse(JVisitor visitor,
Context ctx)
Causes this object to have the visitor visit itself and its children.
|
void |
JCastOperation.traverse(JVisitor visitor,
Context ctx) |
void |
JConstructor.traverse(JVisitor visitor,
Context ctx) |
void |
JBlock.traverse(JVisitor visitor,
Context ctx) |
void |
JParameter.traverse(JVisitor visitor,
Context ctx) |
void |
JWhileStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JPostfixOperation.traverse(JVisitor visitor,
Context ctx) |
void |
JCharLiteral.traverse(JVisitor visitor,
Context ctx) |
void |
JTryStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JArrayRef.traverse(JVisitor visitor,
Context ctx) |
void |
JCaseStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JProgram.traverse(JVisitor visitor,
Context ctx) |
void |
JLabel.traverse(JVisitor visitor,
Context ctx) |
void |
JLocal.traverse(JVisitor visitor,
Context ctx) |
void |
JArrayType.traverse(JVisitor visitor,
Context ctx) |
void |
JField.traverse(JVisitor visitor,
Context ctx) |
void |
JMethodBody.traverse(JVisitor visitor,
Context ctx) |
void |
JMethodCall.traverse(JVisitor visitor,
Context ctx) |
void |
JUnaryOperation.traverse(JVisitor visitor,
Context ctx) |
void |
JNullLiteral.traverse(JVisitor visitor,
Context ctx) |
void |
JCastMap.traverse(JVisitor visitor,
Context ctx) |
void |
JParameterRef.traverse(JVisitor visitor,
Context ctx) |
void |
JExpressionStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JBooleanLiteral.traverse(JVisitor visitor,
Context ctx) |
void |
JFieldRef.traverse(JVisitor visitor,
Context ctx) |
void |
JAssertStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JInterfaceType.traverse(JVisitor visitor,
Context ctx) |
void |
JStringLiteral.traverse(JVisitor visitor,
Context ctx) |
void |
JArrayLength.traverse(JVisitor visitor,
Context ctx) |
void |
JLabeledStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JFloatLiteral.traverse(JVisitor visitor,
Context ctx) |
void |
JIntLiteral.traverse(JVisitor visitor,
Context ctx) |
void |
JLongLiteral.traverse(JVisitor visitor,
Context ctx) |
void |
JForStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JBreakStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JReturnStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JPrimitiveType.traverse(JVisitor visitor,
Context ctx) |
void |
JRunAsync.traverse(JVisitor visitor,
Context ctx) |
void |
JMethod.traverse(JVisitor visitor,
Context ctx) |
void |
JClassLiteral.traverse(JVisitor visitor,
Context ctx) |
void |
JUnsafeTypeCoercion.traverse(JVisitor visitor,
Context ctx) |
void |
JNewInstance.traverse(JVisitor visitor,
Context ctx) |
void |
JThrowStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JDeclarationStatement.traverse(JVisitor visitor,
Context ctx) |
void |
JNewArray.traverse(JVisitor visitor,
Context ctx) |
boolean |
JVisitor.visit(JAbstractMethodBody x,
Context ctx) |
boolean |
JVisitor.visit(JArrayLength x,
Context ctx) |
boolean |
JVisitor.visit(JArrayRef x,
Context ctx) |
boolean |
JVisitor.visit(JArrayType x,
Context ctx) |
boolean |
JVisitor.visit(JAssertStatement x,
Context ctx) |
boolean |
JVisitor.visit(JBinaryOperation x,
Context ctx) |
boolean |
JVisitor.visit(JBlock x,
Context ctx) |
boolean |
JVisitor.visit(JBooleanLiteral x,
Context ctx) |
boolean |
JVisitor.visit(JBreakStatement x,
Context ctx) |
boolean |
JVisitor.visit(JCaseStatement x,
Context ctx) |
boolean |
JVisitor.visit(JCastMap x,
Context ctx) |
boolean |
JVisitor.visit(JCastOperation x,
Context ctx) |
boolean |
JVisitor.visit(JCharLiteral x,
Context ctx) |
boolean |
JVisitor.visit(JClassLiteral x,
Context ctx) |
boolean |
JVisitor.visit(JClassType x,
Context ctx) |
boolean |
JVisitor.visit(JConditional x,
Context ctx) |
boolean |
JVisitor.visit(JConstructor x,
Context ctx) |
boolean |
JVisitor.visit(JContinueStatement x,
Context ctx) |
boolean |
JVisitor.visit(JDebuggerStatement x,
Context ctx) |
boolean |
JVisitor.visit(JDeclarationStatement x,
Context ctx) |
boolean |
JVisitor.visit(JDeclaredType x,
Context ctx) |
boolean |
JVisitor.visit(JDoStatement x,
Context ctx) |
boolean |
JVisitor.visit(JDoubleLiteral x,
Context ctx) |
boolean |
JVisitor.visit(JExpression x,
Context ctx) |
boolean |
JVisitor.visit(JExpressionStatement x,
Context ctx) |
boolean |
JVisitor.visit(JField x,
Context ctx) |
boolean |
JVisitor.visit(JFieldRef x,
Context ctx)
NOTE: not called from JsniFieldRef.
|
boolean |
JVisitor.visit(JFloatLiteral x,
Context ctx) |
boolean |
JVisitor.visit(JForStatement x,
Context ctx) |
boolean |
JVisitor.visit(JIfStatement x,
Context ctx) |
boolean |
JVisitor.visit(JInstanceOf x,
Context ctx) |
boolean |
JVisitor.visit(JInterfaceType x,
Context ctx) |
boolean |
JVisitor.visit(JIntLiteral x,
Context ctx) |
boolean |
JVisitor.visit(JLabel x,
Context ctx) |
boolean |
JVisitor.visit(JLabeledStatement x,
Context ctx) |
boolean |
JVisitor.visit(JLiteral x,
Context ctx) |
boolean |
JVisitor.visit(JLocal x,
Context ctx) |
boolean |
JVisitor.visit(JLocalRef x,
Context ctx) |
boolean |
JVisitor.visit(JLongLiteral x,
Context ctx) |
boolean |
JVisitor.visit(JMethodBody x,
Context ctx) |
boolean |
JVisitor.visit(JMethodCall x,
Context ctx)
NOTE: not called from JsniMethodRef.
|
boolean |
JVisitor.visit(JMethod x,
Context ctx) |
boolean |
JVisitor.visit(JMultiExpression x,
Context ctx) |
boolean |
JVisitor.visit(JNameOf x,
Context ctx) |
boolean |
JVisitor.visit(JNewArray x,
Context ctx) |
boolean |
JVisitor.visit(JNewInstance x,
Context ctx) |
boolean |
JVisitor.visit(JNode x,
Context ctx) |
boolean |
JVisitor.visit(JNullLiteral x,
Context ctx) |
boolean |
JVisitor.visit(JNumericEntry x,
Context ctx) |
boolean |
JVisitor.visit(JParameter x,
Context ctx) |
boolean |
JVisitor.visit(JParameterRef x,
Context ctx) |
boolean |
JVisitor.visit(JPermutationDependentValue x,
Context ctx) |
boolean |
JVisitor.visit(JPostfixOperation x,
Context ctx) |
boolean |
JVisitor.visit(JPrefixOperation x,
Context ctx) |
boolean |
JVisitor.visit(JPrimitiveType x,
Context ctx) |
boolean |
JVisitor.visit(JProgram x,
Context ctx) |
boolean |
JVisitor.visit(JReferenceType x,
Context ctx) |
boolean |
JVisitor.visit(JReturnStatement x,
Context ctx) |
boolean |
JVisitor.visit(JRunAsync x,
Context ctx) |
boolean |
JVisitor.visit(JRuntimeTypeReference x,
Context ctx) |
boolean |
JVisitor.visit(JsniClassLiteral x,
Context ctx) |
boolean |
JVisitor.visit(JsniFieldRef x,
Context ctx) |
boolean |
JVisitor.visit(JsniMethodBody x,
Context ctx) |
boolean |
JVisitor.visit(JsniMethodRef x,
Context ctx) |
boolean |
JVisitor.visit(JsonArray x,
Context ctx) |
boolean |
JVisitor.visit(JStatement x,
Context ctx) |
boolean |
JVisitor.visit(JStringLiteral x,
Context ctx) |
boolean |
JVisitor.visit(JSwitchStatement x,
Context ctx) |
boolean |
JVisitor.visit(JThisRef x,
Context ctx) |
boolean |
JVisitor.visit(JThrowStatement x,
Context ctx) |
boolean |
JVisitor.visit(JTryStatement x,
Context ctx) |
boolean |
JVisitor.visit(JType x,
Context ctx) |
boolean |
JVisitor.visit(JUnaryOperation x,
Context ctx) |
boolean |
JVisitor.visit(JUnsafeTypeCoercion x,
Context ctx) |
boolean |
JVisitor.visit(JValueLiteral x,
Context ctx) |
boolean |
JVisitor.visit(JVariable x,
Context ctx) |
boolean |
JVisitor.visit(JVariableRef x,
Context ctx) |
boolean |
JVisitor.visit(JWhileStatement x,
Context ctx) |
Modifier and Type | Method and Description |
---|---|
void |
JsniMethodRef.traverse(JVisitor visitor,
Context ctx) |
void |
JMultiExpression.traverse(JVisitor visitor,
Context ctx) |
void |
JsniFieldRef.traverse(JVisitor visitor,
Context ctx) |
void |
JsonArray.traverse(JVisitor visitor,
Context ctx) |
void |
JsniMethodBody.traverse(JVisitor visitor,
Context ctx) |
void |
JsniClassLiteral.traverse(JVisitor visitor,
Context ctx) |
void |
JDebuggerStatement.traverse(JVisitor visitor,
Context ctx) |
Modifier and Type | Method and Description |
---|---|
void |
ExpressionAnalyzer.endVisit(JArrayLength x,
Context ctx) |
void |
ExpressionAnalyzer.endVisit(JArrayRef x,
Context ctx) |
void |
ExpressionAnalyzer.endVisit(JBinaryOperation x,
Context ctx) |
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JBinaryOperation x,
Context ctx)
Short circuit binary operations.
|
void |
TypeRemapper.endVisit(JBinaryOperation x,
Context ctx) |
void |
FixAssignmentsToUnboxOrCast.endVisit(JBinaryOperation x,
Context ctx) |
void |
ImplicitUpcastAnalyzer.endVisit(JBinaryOperation x,
Context ctx) |
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JBlock x,
Context ctx)
Prune dead statements and empty blocks.
|
void |
DeadCodeElimination.FindBreakContinueStatementsVisitor.endVisit(JBreakStatement x,
Context ctx) |
void |
ExpressionAnalyzer.endVisit(JCastOperation x,
Context ctx) |
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JCastOperation x,
Context ctx) |
void |
TypeRemapper.endVisit(JCastOperation x,
Context ctx) |
void |
TypeReferencesRecorder.endVisit(JCastOperation x,
Context ctx) |
void |
TypeTightener.TightenTypesVisitor.endVisit(JCastOperation x,
Context ctx)
Tries to determine a specific concrete type for the cast, then either
removes the cast, or tightens the cast to a narrower type.
|
void |
ControlFlowRecorder.endVisit(JClassLiteral x,
Context ctx) |
void |
TypeReferencesRecorder.endVisit(JClassLiteral x,
Context ctx) |
void |
JavaAstVerifier.endVisit(JClassType x,
Context ctx) |
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JConditional x,
Context ctx) |
void |
TypeRemapper.endVisit(JConditional x,
Context ctx) |
void |
TypeTightener.TightenTypesVisitor.endVisit(JConditional x,
Context ctx) |
void |
ImplicitUpcastAnalyzer.endVisit(JConditional x,
Context ctx) |
void |
JChangeTrackingVisitor.endVisit(JConstructor x,
Context ctx) |
void |
DeadCodeElimination.FindBreakContinueStatementsVisitor.endVisit(JContinueStatement x,
Context ctx) |
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JDeclarationStatement x,
Context ctx) |
void |
ImplicitUpcastAnalyzer.endVisit(JDeclarationStatement x,
Context ctx) |
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JDoStatement x,
Context ctx)
Convert do { } while (false); into a block.
|
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JExpressionStatement x,
Context ctx) |
void |
RemoveEmptySuperCalls.EmptySuperCallVisitor.endVisit(JExpressionStatement x,
Context ctx) |
void |
JChangeTrackingVisitor.endVisit(JField x,
Context ctx) |
void |
JavaAstVerifier.endVisit(JField x,
Context ctx) |
void |
ImplicitUpcastAnalyzer.endVisit(JField x,
Context ctx) |
void |
ExpressionAnalyzer.endVisit(JFieldRef x,
Context ctx) |
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JFieldRef x,
Context ctx) |
void |
ControlFlowRecorder.endVisit(JFieldRef x,
Context ctx) |
void |
JavaAstVerifier.endVisit(JFieldRef x,
Context ctx) |
void |
TypeReferencesRecorder.endVisit(JFieldRef x,
Context ctx) |
void |
TypeTightener.FixDanglingRefsVisitor.endVisit(JFieldRef x,
Context ctx) |
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JForStatement x,
Context ctx)
Prune for (X; false; Y) statements, but make sure X is run.
|
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JIfStatement x,
Context ctx)
Simplify if statements.
|
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JInstanceOf x,
Context ctx)
Simplify JInstanceOf expression whose output is ignored.
|
void |
TypeReferencesRecorder.endVisit(JInstanceOf x,
Context ctx) |
void |
TypeTightener.TightenTypesVisitor.endVisit(JInstanceOf x,
Context ctx) |
void |
JavaAstVerifier.endVisit(JInterfaceType x,
Context ctx) |
void |
TypeTightener.TightenTypesVisitor.endVisit(JLocal x,
Context ctx) |
void |
ExpressionAnalyzer.endVisit(JLocalRef x,
Context ctx) |
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JLocalRef x,
Context ctx) |
void |
ExpressionAnalyzer.endVisit(JMethodCall x,
Context ctx) |
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JMethodCall x,
Context ctx)
Resolve method calls that can be computed statically.
|
void |
JavaAstVerifier.endVisit(JMethodCall x,
Context ctx) |
void |
TypeReferencesRecorder.endVisit(JMethodCall x,
Context ctx) |
void |
TypeTightener.FixDanglingRefsVisitor.endVisit(JMethodCall x,
Context ctx) |
void |
TypeTightener.TightenTypesVisitor.endVisit(JMethodCall x,
Context ctx)
Tighten the target method from the abstract base method to the final
implementation.
|
void |
ImplicitUpcastAnalyzer.endVisit(JMethodCall x,
Context ctx) |
void |
MethodCallTightener.MethodCallTighteningVisitor.endVisit(JMethodCall x,
Context ctx) |
void |
JChangeTrackingVisitor.endVisit(JMethod x,
Context ctx) |
void |
JavaAstVerifier.endVisit(JMethod x,
Context ctx) |
void |
TypeReferencesRecorder.endVisit(JMethod x,
Context ctx) |
void |
ImplicitUpcastAnalyzer.endVisit(JMethod x,
Context ctx) |
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JMultiExpression x,
Context ctx)
Remove any parts of JMultiExpression that have no side-effect.
|
void |
ExpressionAnalyzer.endVisit(JNewArray x,
Context ctx) |
void |
TypeRemapper.endVisit(JNewArray x,
Context ctx) |
void |
ImplicitUpcastAnalyzer.endVisit(JNewArray x,
Context ctx) |
void |
ExpressionAnalyzer.endVisit(JNewInstance x,
Context ctx) |
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JNewInstance x,
Context ctx) |
void |
RewriteConstructorCallsForUnboxedTypes.endVisit(JNewInstance x,
Context ctx) |
void |
TypeReferencesRecorder.endVisit(JNewInstance x,
Context ctx) |
void |
TypeTightener.FixDanglingRefsVisitor.endVisit(JNewInstance x,
Context ctx) |
void |
MethodCallTightener.MethodCallTighteningVisitor.endVisit(JNewInstance x,
Context ctx) |
void |
TypeTightener.TightenTypesVisitor.endVisit(JParameter x,
Context ctx) |
void |
ExpressionAnalyzer.endVisit(JParameterRef x,
Context ctx) |
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JParameterRef x,
Context ctx) |
void |
TypeRemapper.endVisit(JPermutationDependentValue x,
Context ctx) |
void |
TypeTightener.TightenTypesVisitor.endVisit(JPermutationDependentValue x,
Context ctx) |
void |
CloneExpressionVisitor.endVisit(JPermutationDependentValue x,
Context ctx) |
void |
ExpressionAnalyzer.endVisit(JPostfixOperation x,
Context ctx) |
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JPostfixOperation x,
Context ctx)
Replace post-inc/dec with pre-inc/dec if the result doesn't matter.
|
void |
ExpressionAnalyzer.endVisit(JPrefixOperation x,
Context ctx) |
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JPrefixOperation x,
Context ctx)
Simplify the ! operator if possible.
|
void |
ImplicitUpcastAnalyzer.endVisit(JReturnStatement x,
Context ctx) |
void |
ControlFlowRecorder.endVisit(JsniFieldRef x,
Context ctx) |
void |
JavaAstVerifier.endVisit(JsniFieldRef x,
Context ctx) |
void |
TypeReferencesRecorder.endVisit(JsniFieldRef x,
Context ctx) |
void |
RewriteConstructorCallsForUnboxedTypes.endVisit(JsniMethodRef x,
Context ctx) |
void |
ControlFlowRecorder.endVisit(JsniMethodRef x,
Context ctx) |
void |
JavaAstVerifier.endVisit(JsniMethodRef x,
Context ctx) |
void |
TypeReferencesRecorder.endVisit(JsniMethodRef x,
Context ctx) |
void |
ImplicitUpcastAnalyzer.endVisit(JsniMethodRef x,
Context ctx) |
void |
JModVisitorWithTemporaryVariableCreation.endVisit(JStatement x,
Context ctx) |
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JSwitchStatement x,
Context ctx)
Optimize switch statements.
|
void |
JavaAstVerifier.endVisit(JThisRef x,
Context ctx) |
void |
ImplicitUpcastAnalyzer.endVisit(JThrowStatement x,
Context ctx) |
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JTryStatement x,
Context ctx)
1) Remove catch blocks whose exception type is not instantiable.
|
void |
TypeReferencesRecorder.endVisit(JValueLiteral x,
Context ctx) |
void |
JChangeTrackingVisitor.endVisit(JVariable x,
Context ctx) |
void |
TypeReferencesRecorder.endVisit(JVariable x,
Context ctx) |
void |
DeadCodeElimination.DeadCodeVisitor.endVisit(JWhileStatement x,
Context ctx)
Prune while (false) statements.
|
boolean |
JChangeTrackingVisitor.enter(JConstructor x,
Context ctx) |
boolean |
JChangeTrackingVisitor.enter(JField x,
Context ctx) |
boolean |
JChangeTrackingVisitor.enter(JMethod x,
Context ctx) |
boolean |
TypeTightener.TightenTypesVisitor.enter(JMethod x,
Context ctx) |
boolean |
JChangeTrackingVisitor.enter(JVariable x,
Context ctx) |
void |
TypeRemapper.exit(JConstructor x,
Context ctx) |
void |
JChangeTrackingVisitor.exit(JConstructor x,
Context ctx) |
void |
JChangeTrackingVisitor.exit(JField x,
Context ctx) |
void |
TypeTightener.TightenTypesVisitor.exit(JField x,
Context ctx) |
void |
TypeRemapper.exit(JMethod x,
Context ctx) |
void |
JChangeTrackingVisitor.exit(JMethod x,
Context ctx) |
void |
TypeTightener.TightenTypesVisitor.exit(JMethod x,
Context ctx)
Tighten based on return types and overrides.
|
void |
TypeRemapper.exit(JVariable x,
Context ctx) |
void |
JChangeTrackingVisitor.exit(JVariable x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JArrayLength x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JArrayLength x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JArrayRef x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JArrayRef x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JArrayType x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JAssertStatement x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JBinaryOperation x,
Context ctx) |
boolean |
ExpressionAnalyzer.visit(JBinaryOperation x,
Context ctx) |
boolean |
DeadCodeElimination.DeadCodeVisitor.visit(JBinaryOperation x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JBinaryOperation x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JBlock x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JBooleanLiteral x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JBooleanLiteral x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JBreakStatement x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JCaseStatement x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JCastMap x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JCastOperation x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JCastOperation x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JCharLiteral x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JCharLiteral x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JClassLiteral x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JClassLiteral x,
Context ctx) |
boolean |
SourceGenerationVisitor.visit(JClassType x,
Context ctx) |
boolean |
DeadCodeElimination.DeadCodeVisitor.visit(JClassType x,
Context ctx) |
boolean |
TypeTightener.TightenTypesVisitor.visit(JClassType x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JConditional x,
Context ctx) |
boolean |
ExpressionAnalyzer.visit(JConditional x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JConditional x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JConstructor x,
Context ctx) |
boolean |
JChangeTrackingVisitor.visit(JConstructor x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JContinueStatement x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JDebuggerStatement x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JDeclarationStatement x,
Context ctx) |
boolean |
DeadCodeElimination.DeadCodeVisitor.visit(JDeclarationStatement x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JDeclaredType x,
Context ctx) |
boolean |
ControlFlowRecorder.visit(JDeclaredType x,
Context ctx) |
boolean |
TypeReferencesRecorder.visit(JDeclaredType x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JDoStatement x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JDoubleLiteral x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JDoubleLiteral x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JExpressionStatement x,
Context ctx) |
boolean |
DeadCodeElimination.DeadCodeVisitor.visit(JExpressionStatement x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JField x,
Context ctx) |
boolean |
ControlFlowRecorder.visit(JField x,
Context ctx) |
boolean |
JChangeTrackingVisitor.visit(JField x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JFieldRef x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JFieldRef x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JFloatLiteral x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JFloatLiteral x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JForStatement x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JIfStatement x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JInstanceOf x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JInstanceOf x,
Context ctx) |
boolean |
SourceGenerationVisitor.visit(JInterfaceType x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JIntLiteral x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JIntLiteral x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JLabel x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JLabeledStatement x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JLocal x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JLocalRef x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JLocalRef x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JLongLiteral x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JLongLiteral x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JMethodBody x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JMethodCall x,
Context ctx) |
boolean |
DeadCodeElimination.DeadCodeVisitor.visit(JMethodCall x,
Context ctx) |
boolean |
ControlFlowRecorder.visit(JMethodCall x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JMethodCall x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JMethod x,
Context ctx) |
boolean |
ControlFlowRecorder.visit(JMethod x,
Context ctx) |
boolean |
JChangeTrackingVisitor.visit(JMethod x,
Context ctx) |
boolean |
RemoveSpecializations.visit(JMethod x,
Context ctx) |
boolean |
JavaAstVerifier.visit(JMethod x,
Context ctx) |
boolean |
ImplicitUpcastAnalyzer.visit(JMethod x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JMultiExpression x,
Context ctx) |
boolean |
DeadCodeElimination.DeadCodeVisitor.visit(JMultiExpression x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JMultiExpression x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JNameOf x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JNameOf x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JNewArray x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JNewArray x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JNewInstance x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JNewInstance x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JNullLiteral x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JNullLiteral x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JNumericEntry x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JParameter x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JParameterRef x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JParameterRef x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JPermutationDependentValue x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JPostfixOperation x,
Context ctx) |
boolean |
DeadCodeElimination.DeadCodeVisitor.visit(JPostfixOperation x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JPostfixOperation x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JPrefixOperation x,
Context ctx) |
boolean |
DeadCodeElimination.DeadCodeVisitor.visit(JPrefixOperation x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JPrefixOperation x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JPrimitiveType x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JProgram x,
Context ctx) |
boolean |
SourceGenerationVisitor.visit(JProgram x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JReturnStatement x,
Context ctx) |
boolean |
TypeTightener.TightenTypesVisitor.visit(JRunAsync x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JRunAsync x,
Context ctx) |
boolean |
MethodCallTightener.MethodCallTighteningVisitor.visit(JRunAsync x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JRuntimeTypeReference x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JsniFieldRef x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JsniFieldRef x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JsniMethodBody x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JsniMethodRef x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JsniMethodRef x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JsonArray x,
Context ctx) |
boolean |
JModVisitorWithTemporaryVariableCreation.visit(JStatement x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JStringLiteral x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JStringLiteral x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JSwitchStatement x,
Context ctx) |
boolean |
DeadCodeElimination.DeadCodeVisitor.visit(JSwitchStatement x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JThisRef x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JThisRef x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JThrowStatement x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JTryStatement x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JType x,
Context ctx) |
boolean |
CloneExpressionVisitor.visit(JUnsafeTypeCoercion x,
Context ctx) |
boolean |
JChangeTrackingVisitor.visit(JVariable x,
Context ctx) |
boolean |
ToStringGenerationVisitor.visit(JWhileStatement x,
Context ctx) |
Copyright © 2018. All rights reserved.