Summary: | [1.5] ClassCastException resolving Javadoc | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> |
Component: | Core | Assignee: | Frederic Fusier <frederic_fusier> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.0 | ||
Target Milestone: | 3.1 M2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Philipe Mulet
2004-07-29 10:21:33 EDT
Fixed and released in HEAD. An new subclass of AbstractMethodDeclaration exists now in jdt.core added for 1.5 purposes: AnnotationMemberDeclaration. So, isClinit() and isConstructor() are not enough now to know whether an AbstractMethodDeclaration is a MethodDeclaration or not => add isMethod() to be able to know it... [jdt-core-internal] Add isMethod() to AbstractMethodDeclaration and MethodDeclaration in the same way as for isClinit() and isConstructor(). Modify Javadoc.resolve(MethodScope) to use this new method and avoid ClassCastException. Test case added in Compliance_1_5 Verified in I200409230100. |