Community
Participate
Working Groups
Build 20031023 In org.eclipse.jdt.core.CorrectionEngine, the anonymous class for the completionRequestor field has a warning for a Missing javadoc on the acceptAnonymousType(...) method. This method as no javadoc at all, so it should not complain.
Problem comes from misplaced set of annotation for field references. Initially put in consumeFieldDeclaration, this appears to be too late as typically field initialisation might contain javadoc comments... Here this is the opposite effect as the field annotation were used for the first method of the anonymous class which complains that parameters javadoc entries were missing. Fixed by moving set of the field annotation in FieldDeclaration inside the consumeEnterVariable.
Test case testBug45596 added in AnnotationTestMixed
Verified.