Source:
<code>public void testThisExpression() throws JaxenException { ASTCompilationUnit acu = parseAndTypeResolveForClass15(ThisExpression.class); List<ASTPrimaryExpression> expressions = convertList( acu.findChildNodesWithXPath(" ASTPrimaryExpression.class); List<ASTPrimaryPrefix> prefixes = convertList( acu.findChildNodesWithXPath(" ASTPrimaryPrefix.class); int index = 0; assertEquals(ThisExpression.class, expressions.get(index).getType()); assertEquals(ThisExpression.class, prefixes.get(index++).getType()); assertEquals(ThisExpression.class, expressions.get(index).getType()); assertEquals(ThisExpression.class, prefixes.get(index++).getType()); assertEquals(ThisExpression.class, expressions.get(index).getType()); assertEquals(ThisExpression.class, prefixes.get(index++).getType()); assertEquals(ThisExpression.class, expressions.get(index).getType()); assertEquals(ThisExpression.class, prefixes.get(index++).getType()); assertEquals(ThisExpression.ThisExprNested.class, expressions.get(index).getType()); assertEquals(ThisExpression.ThisExprNested.class, prefixes.get(index++).getType()); assertEquals(ThisExpression.class, expressions.get(index).getType()); <START> assertEquals(ThisExpression.class, prefixes.get(index++).getType()); <END> assertEquals(ThisExpression.ThisExprStaticNested.class, expressions.get(index).getType()); assertEquals(ThisExpression.ThisExprStaticNested.class, prefixes.get(index++).getType()); assertEquals("All expressions not tested", index, expressions.size()); assertEquals("All expressions not tested", index, prefixes.size()); }</code><technical_language>this case a PrimarySuffix for .this. Considering prefix (classname) a type, is reason for suffix one? If one, add assertion</technical_language>

Target:
public void testThisExpression() throws JaxenException { ASTCompilationUnit acu = parseAndTypeResolveForClass15(ThisExpression.class); List<ASTPrimaryExpression> expressions = convertList( acu.findChildNodesWithXPath(" ASTPrimaryExpression.class); List<ASTPrimaryPrefix> prefixes = convertList( acu.findChildNodesWithXPath(" ASTPrimaryPrefix.class); int index = 0; assertEquals(ThisExpression.class, expressions.get(index).getType()); assertEquals(ThisExpression.class, prefixes.get(index++).getType()); assertEquals(ThisExpression.class, expressions.get(index).getType()); assertEquals(ThisExpression.class, prefixes.get(index++).getType()); assertEquals(ThisExpression.class, expressions.get(index).getType()); assertEquals(ThisExpression.class, prefixes.get(index++).getType()); assertEquals(ThisExpression.class, expressions.get(index).getType()); assertEquals(ThisExpression.class, prefixes.get(index++).getType()); assertEquals(ThisExpression.ThisExprNested.class, expressions.get(index).getType()); assertEquals(ThisExpression.ThisExprNested.class, prefixes.get(index++).getType()); assertEquals(ThisExpression.class, expressions.get(index).getType()); assertEquals(ThisExpression.class, prefixes.get(index).getType()); assertEquals(ThisExpression.class, ((TypeNode) expressions.get(index++).jjtGetChild(1)).getType()); assertEquals(ThisExpression.ThisExprStaticNested.class, expressions.get(index).getType()); assertEquals(ThisExpression.ThisExprStaticNested.class, prefixes.get(index++).getType()); assertEquals("All expressions not tested", index, expressions.size()); assertEquals("All expressions not tested", index, prefixes.size()); }