Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 205564

Summary: [Javadoc] No validation needed for javadoc comments in anonymous class
Product: [Eclipse Project] JDT Reporter: Eric Jodet <eric_jodet>
Component: CoreAssignee: JDT-Core-Inbox <jdt-core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P5 CC: frederic_fusier
Version: 3.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug
Attachments:
Description Flags
[test case] Sample project none

Description Eric Jodet CLA 2007-10-05 07:37:41 EDT
Version: 3.4.0
Build id: I20071002-1342

In the to be attached test case, warnings are reported in the Javadoc tags related to some methods defined in an anonymous class.

As the Javadoc tool won't generate the documentation defined within anonymous class, no javadoc validation should be performed when dealing with anonymous classes.
Comment 1 Eric Jodet CLA 2007-10-05 07:41:18 EDT
Created attachment 79797 [details]
[test case] Sample project
Comment 2 Eric Jodet CLA 2008-06-04 09:27:02 EDT
better test case:

package pkg;
public class X {
	/**
	 * @see invalid.type.Reference in a javadoc
	 * @return
	 */
	public boolean foo(java.util.List<Y> yList) {
		yList.add(new Y() {
			/**
			 * 
			 * @see invalid.type.Reference in a javadoc
			 * @return
			 */
			
			public int foo = 1;
			/**
			 * @see
			 * @param
			 * @param noParam validation not needed here
			 * @see invalid.type.Reference in a javadoc
			 */
			
			public void bar() {}
		});
		return true;
	}
}
Comment 3 Eclipse Genie CLA 2019-10-28 20:14:09 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.