GwtAstBuilder.AstVisitor

Source file "com/google/gwt/dev/jjs/impl/GwtAstBuilder.java" was not found during generation of report.

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total8,614 of 8,6140%851 of 8510%6296291,7961,796184184
endVisit(ReferenceExpression, BlockScope)6050%740%383813313311
endVisit(ForeachStatement, BlockScope)3230%120%77585811
pushNewExpression(SourceInfo, AllocationExpression, Expression, List, BlockScope)2780%520%2727494911
resolveNameReference(NameReference, BlockScope)2320%480%2525434311
writeEnumValueOfMethod(JEnumType, JMethod, JMethod)2090%60%44323211
normalizeTryWithResources(SourceInfo, TryStatement, JBlock)2060%60%44373711
resolveThisReference(SourceInfo, ReferenceBinding, boolean, BlockScope)1980%340%1818353511
visit(ConstructorDeclaration, ClassScope)1720%220%1212282811
endVisit(InstanceOfExpression, BlockScope)1680%60%44343411
createBridgeMethod(JDeclaredType, MethodBinding, JMethod)1590%100%66323211
endVisit(ExplicitConstructorCall, BlockScope)1480%160%99343411
endVisit(ConstructorDeclaration, ClassScope)1440%200%1111292911
visit(TypeDeclaration)1370%260%1414252511
endVisit(LambdaExpression, BlockScope)1350%60%44292911
endVisit(TryStatement, BlockScope)1290%100%66232311
endVisit(MessageSend, BlockScope)1270%140%88292911
createLambdaSamMethod(LambdaExpression, JMethod, SourceInfo, JClassType, List, JField, JMethod, JMethod)1260%80%55242411
popCallArguments(SourceInfo, Expression[], MethodBinding)1120%120%77232311
replaceLambdaWithInnerClassAllocation(LambdaExpression, SourceInfo, JClassType, JConstructor, SyntheticArgumentBinding[])1100%160%99212111
createInnerClass(JDeclaredType, String, SourceInfo, JInterfaceType[])1040%20%22121211
maybeCreateSyntheticJavaLangObjectMethodNativeOverride(JDeclaredType, String, JType, JType[])1000%160%99161611
getInterfaceAbstractMethods(ReferenceBinding, Scope)980%240%1313191911
pushLambdaExpressionLocalsIntoMethodScope(LambdaExpression, SyntheticArgumentBinding[], JMethod)950%140%88131311
createLambdaConstructor(LambdaExpression, SourceInfo, JClassType, JConstructor, List, SyntheticArgumentBinding[])940%80%55181811
visit(MethodDeclaration, ClassScope)880%100%66151511
endVisit(QualifiedNameReference, BlockScope)860%120%77202011
endVisit(BinaryExpression, BlockScope)810%180%1717373711
visit(ReferenceExpression, BlockScope)750%60%44181811
endVisit(CaseStatement, BlockScope)730%80%55141411
endVisit(FieldDeclaration, MethodScope)720%100%66161611
processSuperCallLocalArgs(ReferenceBinding, JMethodCall)720%120%77131311
reduceToReachable(Statement[])670%120%77141411
visit(LambdaExpression, BlockScope)650%20%22141411
endVisit(TypeDeclaration)640%120%77181811
endVisit(CompoundAssignment, BlockScope)630%140%1313282811
pop(Statement[])620%100%66151511
endVisit(ConditionalExpression, BlockScope)610%20%22131311
maybeInsertCasts(JExpression, TypeBinding, TypeBinding)600%140%88101011
createLocal(LocalDeclaration)580%40%33131311
processNativeMethod(MethodDeclaration)580%20%22161611
box(JExpression, BaseTypeBinding, boolean)560%40%338811
endVisit(ForStatement, BlockScope)530%n/a11121211
endVisit(YieldStatement, BlockScope)510%20%229911
endVisit(UnaryExpression, BlockScope)510%50%55171711
writeEnumValuesMethod(JEnumType, JMethod)510%40%33131311
createSyntheticField(SyntheticArgumentBinding, JDeclaredType, JField.Disposition)510%20%229911
getConstant(SourceInfo, Constant)510%110%1111121211
createAndBindCapturedLambdaParameter(SourceInfo, String, JType, JConstructor, JMethodBody)500%n/a119911
endVisit(SwitchExpression, BlockScope)500%20%22101011
implementGetClass(JDeclaredType)500%60%447711
processEnumType(JEnumType)500%80%559911
processSuperCallThisArgs(ReferenceBinding, JMethodCall, JExpression, Expression)480%120%779911
processThisCallThisArgs(ReferenceBinding, JMethodCall)480%60%449911
endVisit(LocalDeclaration, BlockScope)470%40%33101011
assignSyntheticField(SourceInfo, SyntheticArgumentBinding)470%80%557711
computeCombinedParamNames(LambdaExpression, SyntheticArgumentBinding[])460%60%447711
endVisit(FieldReference, BlockScope)440%20%22121211
endVisit(SwitchStatement, BlockScope)440%20%22101011
processThisCallLocalArgs(ReferenceBinding, JMethodCall)420%80%556611
processIntersectionType(IntersectionTypeBinding18, JReferenceType[])420%60%446611
endVisit(ArrayAllocationExpression, BlockScope)410%20%229911
endVisit(PostfixExpression, BlockScope)410%30%33131311
endVisit(PrefixExpression, BlockScope)410%30%33131311
unbox(JExpression, BaseTypeBinding, boolean)410%20%228811
createFieldRef(JExpression, SourceInfo, FieldBinding)390%40%337711
pushBinaryOp(Expression, JBinaryOperator, Expression, Expression)390%n/a119911
endVisit(IfStatement, BlockScope)380%n/a119911
endVisit(SingleNameReference, BlockScope)380%40%33121211
endVisit(ArrayInitializer, BlockScope)370%n/a119911
endVisit(LabeledStatement, BlockScope)370%20%22101011
endVisit(QualifiedSuperReference, BlockScope)370%20%229911
createLambdaMethod(LambdaExpression)360%20%229911
createCloseBlockFor(SourceInfo, JLocal, JLocal)350%n/a115511
getFirstNonObjectInIntersection(IntersectionTypeBinding18)340%40%334411
endVisit(SuperReference, BlockScope)340%40%336611
endVisit(ThisReference, BlockScope)330%40%336611
visit(TryStatement, BlockScope)330%40%336611
endVisit(ArrayReference, BlockScope)320%n/a118811
endVisit(AssertStatement, BlockScope)320%n/a118811
endVisit(DoStatement, BlockScope)320%n/a118811
endVisit(WhileStatement, BlockScope)320%n/a118811
maybeBoxOrUnbox(JExpression, int, boolean)320%40%336611
endVisit(CastExpression, BlockScope)310%n/a118811
addBridgeMethods(SourceTypeBinding)310%80%556611
getOrCreateLabel(SourceInfo, char[])310%40%338811
buildCastOperation(SourceInfo, JType[], JExpression, int)310%20%224411
endVisit(QualifiedAllocationExpression, BlockScope)300%n/a117711
maybeImplementJavaLangObjectMethodsOnNativeClass(JDeclaredType)300%n/a114411
endVisit(AllocationExpression, BlockScope)290%n/a117711
endVisit(MethodDeclaration, ClassScope)290%20%229911
GwtAstBuilder.AstVisitor(GwtAstBuilder)280%n/a117711
endVisit(ClassLiteralAccess, BlockScope)280%n/a117711
pop(Expression)280%80%558811
endVisit(EqualExpression, BlockScope)270%30%338811
getInterfacesToImplement(TypeBinding)270%20%224411
createFunctionalExpressionBridges(JClassType, FunctionalExpression, JMethod)270%40%334411
endVisit(QualifiedThisReference, BlockScope)270%n/a117711
endVisit(SynchronizedStatement, BlockScope)270%n/a118811
visit(FieldDeclaration, MethodScope)270%40%335511
endVisit(ReturnStatement, BlockScope)260%n/a117711
endVisit(ThrowStatement, BlockScope)260%n/a117711
endVisit(BreakStatement, BlockScope)250%n/a116611
endVisit(ContinueStatement, BlockScope)250%n/a116611
pushInitializerMethodInfo(FieldDeclaration, MethodScope)250%20%225511
endVisit(Initializer, MethodScope)240%20%228811
pop(Statement)240%60%444411
popBlock(SourceInfo, Statement)240%40%337711
isDoNotAutoBoxParameter(MethodBinding, int)240%80%554411
synthesizeCallToOrdinal(BlockScope, SourceInfo, JExpression)240%n/a114411
isFunctionalInterfaceWithMethod(ReferenceBinding, Scope, String)240%80%555511
endVisit(Block, BlockScope)230%n/a117711
performBoxUnboxConversions(List, Expression[])230%20%223311
maybeCast(JType[], JExpression)230%20%223311
endVisit(StringLiteral, BlockScope)220%n/a116611
endVisit(StringLiteralConcatenation, BlockScope)220%n/a116611
createLocal(SourceInfo, String, JType)190%n/a112211
popList(int)190%n/a114411
processCastType(TypeBinding)190%20%223311
endVisit(FloatLiteral, BlockScope)160%n/a115511
nameForSyntheticArgument(SyntheticArgumentBinding)160%20%223311
createLambdaField(SourceInfo, String, JType, JClassType)160%n/a113311
visitValid(TypeDeclaration, BlockScope)160%n/a114411
popBlock(SourceInfo, Statement[])160%n/a114411
createBridgeMethod(SyntheticMethodBinding)160%n/a113311
endVisit(CharLiteral, BlockScope)150%n/a115511
endVisit(DoubleLiteral, BlockScope)150%n/a115511
endVisit(IntLiteral, BlockScope)150%n/a115511
endVisit(LongLiteral, BlockScope)150%n/a115511
visit(Block, BlockScope)150%n/a114411
visit(SwitchStatement, BlockScope)150%n/a114411
visit(SwitchExpression, BlockScope)150%n/a114411
shouldImplements(ReferenceBinding, Scope, String)150%40%332211
maybeInsertCasts(JExpression, JType)140%20%223311
createAssignment(SourceInfo, JType, JLocal, JLocal)140%n/a112211
maybeCast(JType, JExpression)140%20%223311
maybeInsertUnsafeTypeCoercion(JType, JExpression)140%20%223311
isInterfaceHasNoAbstractMethod(ReferenceBinding, Scope)140%40%332211
visit(Initializer, MethodScope)130%n/a114411
visit(LocalDeclaration, BlockScope)130%n/a114411
pop(Expression[])120%20%224411
makeInstanceFieldRef(SourceInfo, JField)120%n/a111111
endVisitValid(TypeDeclaration, BlockScope)110%20%224411
nameForArgument(Argument[], int, int)100%n/a111111
getStringLiteral(SourceInfo, char[])100%n/a111111
getStringLiteral(SourceInfo, String)100%n/a111111
pop()100%n/a111111
pushBinaryOp(Assignment, JBinaryOperator)90%n/a112211
pushBinaryOp(BinaryExpression, JBinaryOperator)90%n/a112211
makeDeclaration(SourceInfo, JLocal, JExpression)90%n/a111111
pushMethodInfo(GwtAstBuilder.MethodInfo)90%n/a113311
createLocalThrowable(SourceInfo, String)80%n/a111111
pop(Block)80%20%221111
pop(LocalDeclaration)80%20%221111
makeLocalRef(SourceInfo, LocalVariableBinding, GwtAstBuilder.MethodInfo)80%n/a111111
makeThisRef(SourceInfo)80%n/a111111
processIntersectionType(IntersectionTypeBinding18)80%n/a111111
static {...}80%20%221111
popMethodInfo()70%n/a112211
buildCastOperation(SourceInfo, JType[], JExpression)70%n/a111111
createLambdaParameter(SourceInfo, String, JType, JConstructor)60%n/a111111
visit(ExplicitConstructorCall, BlockScope)60%n/a112211
box(JExpression, BaseTypeBinding)60%n/a111111
unbox(JExpression, BaseTypeBinding)60%n/a111111
maybeBoxOrUnbox(JExpression, int)60%n/a111111
push(JNode)60%n/a112211
maybeBoxOrUnbox(JExpression, Expression)60%n/a111111
endVisit(AND_AND_Expression, BlockScope)0%n/a112211
endVisit(AnnotationMethodDeclaration, ClassScope)0%n/a112211
endVisit(Assignment, BlockScope)0%n/a112211
endVisit(ExtendedStringLiteral, BlockScope)0%n/a112211
endVisit(OR_OR_Expression, BlockScope)0%n/a112211
visit(AnnotationMethodDeclaration, ClassScope)0%n/a111111
endVisit(EmptyStatement, BlockScope)0%n/a112211
endVisit(FalseLiteral, BlockScope)0%n/a112211
endVisit(NullLiteral, BlockScope)0%n/a112211
endVisit(TrueLiteral, BlockScope)0%n/a112211
endVisit(TypeDeclaration, ClassScope)0%n/a112211
endVisit(TypeDeclaration, CompilationUnitScope)0%n/a112211
visit(TypeDeclaration, ClassScope)0%n/a111111
visit(TypeDeclaration, CompilationUnitScope)0%n/a111111
visit(Argument, BlockScope)0%n/a111111
visit(MarkerAnnotation, BlockScope)0%n/a111111
visit(NormalAnnotation, BlockScope)0%n/a111111
visit(SingleMemberAnnotation, BlockScope)0%n/a111111