Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
View | Details | Raw Unified | Return to bug 95691
Collapse All | Expand All

(-)java.editor/src/org/netbeans/modules/editor/java/GoToSupport.java (-1 / +10 lines)
 Lines 44-49    Link Here 
44
44
45
package org.netbeans.modules.editor.java;
45
package org.netbeans.modules.editor.java;
46
46
47
import com.sun.javadoc.Doc;
47
import com.sun.source.tree.ClassTree;
48
import com.sun.source.tree.ClassTree;
48
import com.sun.source.tree.ExpressionTree;
49
import com.sun.source.tree.ExpressionTree;
49
import com.sun.source.tree.IdentifierTree;
50
import com.sun.source.tree.IdentifierTree;
 Lines 402-409    Link Here 
402
        } else  {
403
        } else  {
403
            v.visit(resolved.resolved, true);
404
            v.visit(resolved.resolved, true);
404
        }
405
        }
405
406
        String result = v.result.toString();
406
        String result = v.result.toString();
407
        
408
        final Doc javaDocFor = controller.getElementUtilities().javaDocFor(resolved.resolved);
409
        if (null != javaDocFor) {
410
            final String javadocText = javaDocFor.commentText();
411
            if (!javadocText.isEmpty()) {
412
                result += "<p>" + javadocText + "</p>";
413
            }
414
        }
415
407
        int overridableKind = overridableKind(resolved.resolved);
416
        int overridableKind = overridableKind(resolved.resolved);
408
417
409
        if (overridableKind != (-1) && type != null) {
418
        if (overridableKind != (-1) && type != null) {

Return to bug 95691
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo