Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 434269 | Differences between
and this patch

Collapse All | Expand All

(-)a/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/javadoc/JavadocContentAccess2.java (+6 lines)
Lines 633-638 Link Here
633
				IField field= type.getField(propertyName);
633
				IField field= type.getField(propertyName);
634
				if (field.exists()) {
634
				if (field.exists()) {
635
					String content= getHTMLContentFromSource(field);
635
					String content= getHTMLContentFromSource(field);
636
					
637
					// looks like documentation is on the property-method
638
					if( content == null && ( isGetter || isSetter ) ) {
639
						content = getHTMLContentFromSource(type.getMethod(propertyName+"Property",new String[0])); //$NON-NLS-1$
640
					}
641
					
636
					if (content != null) {
642
					if (content != null) {
637
						if (isGetter) {
643
						if (isGetter) {
638
							content= Messages.format(JavaDocMessages.JavadocContentAccess2_getproperty_message, new Object[] { propertyName, content });
644
							content= Messages.format(JavaDocMessages.JavadocContentAccess2_getproperty_message, new Object[] { propertyName, content });

Return to bug 434269