Project: JDT
Bug 85226 [1.5] EnumConstantDeclaration should declare resolveConstructorBinding
Reported: 2005-02-15 04:45:12 | Status: verified fixed

I20050209 (jdt-core of 20050215) EnumConstantDeclaration should allow me to query its method binding, as declaring an enum constant also invokes a constructor: enum Natural { ONE(1), TWO(2); private final int fInt; Natural(int n) { fInt= n; } } I would expect a method similar to ClassInstanceCreation: public IMethodBinding resolveConstructorBinding();

Files changed in fix:
org.eclipse.jdt.astview/src/org/eclipse/jdt/astview/views/ASTViewContentProvider.java