Community
Participate
Working Groups
Running I200208270833 This code IWorkspace ws = testcasesPlugin.getWorkspace(); IWorkspaceRoot root = ws.getRoot(); IProject project = root.getProjects()[0]; IJavaProject jp = JavaCore.create(project); CompilationUnit cu = AST.parseCompilationUnit( "public class Class {public Object clone() {try {return super.clone();} catch (CloneNotSupportedException e) { return null;}}}".toCharArray(), "Class", jp); cu.accept(new ASTVisitor() { public boolean visit(SuperMethodInvocation node) { IBinding binding = node.resolveTypeBinding(); if (null == binding) { System.out.println("Null type binding for SuperMethodInvocation " + node.getName().getIdentifier()); } return true; } }); produces Null type binding for SuperMethodInvocation clone The problem is DefaultBindingResolver.resolveExpressionType, which resolves every expression type except for SuperMethodInvocation :-) Thanks Mark
*** This bug has been marked as a duplicate of 22054 ***