Bug 6536 Add Javadoc on field in TH does nothing
1. Select a field in the Type Hierarchy view 2. From its context menu select "Add Javadoc" ==> nothing happens. Either this menu should be removed or (preferably) the action should add the fields Javadoc.
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/actions/AddJavaDocStubAction.java
IMember[] res= new IMember[nElements];
				ICompilationUnit cu= null;
				for (int i= 0; i < nElements; i++) {
					Object curr= elements.get(i);
					if (curr instanceof IMember) {
						IMember member= (IMember)curr;
						
						if (i == 0) {
							cu= member.getCompilationUnit();
							if (cu == null) {
								return null;
							}
						} else if (!cu.equals(member.getCompilationUnit())) {
							return null;
						}						
						res[i]= member;
					} else {
						return null;
					}
				}
				return res;
			}
		}
		return null;
	}
	
	public boolean canActionBeAdded() {
		return getSelectedMembers() != null;
	}
}