String (LighterAST tree, LighterASTNode call) { if (call.getTokenType() == NEW_EXPRESSION) { LighterASTNode anonClass = LightTreeUtil.firstChildOfType(tree, call, ANONYMOUS_CLASS); LighterASTNode ref = LightTreeUtil.firstChildOfType(tree, anonClass != null ? anonClass : call, JAVA_CODE_REFERENCE); return ref == null ? null : JavaLightTreeUtil.getNameIdentifierText(tree, ref); } LighterASTNode methodExpr = tree.getChildren(call).get(0); if (LightTreeUtil.firstChildOfType(tree, methodExpr, JavaTokenType.SUPER_KEYWORD) != null) { return getSuperClassName(tree, call); } if (LightTreeUtil.firstChildOfType(tree, methodExpr, JavaTokenType.THIS_KEYWORD) != null) { return JavaLightTreeUtil.getNameIdentifierText(tree, findClass(tree, call)); } return JavaLightTreeUtil.getNameIdentifierText(tree, methodExpr); }