This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 150256 - Javadoc: function javadoc does not work in Navigator
Summary: Javadoc: function javadoc does not work in Navigator
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: All Windows Vista
: P3 blocker (vote)
Assignee: Anton Chechel
URL:
Keywords: RELNOTE
: 149558 150260 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-15 16:17 UTC by Lark Fitzgerald
Modified: 2009-07-20 11:18 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lark Fitzgerald 2008-10-15 16:18:03 UTC
Tested using FX Cont trunk build 370 with SDK:
Product: javafx-1.0dev, Platform: windows-i586, Build-Number: 742, Build-ID: 2008-10-14_19-32-24 on NB6.5: 
Product Version: NetBeans IDE Dev (Build 200810130704)
Java: 1.6.0_10-rc; Java HotSpot(TM) Client VM 11.0-b14
System: Windows Vista version 6.0 running on x86; Cp1252; en_US (nb)

1. paste the following:

/**
 * A Simple Test It Class
 * @author Lark
 */
public class NewJavaFXEmpty {
    /** First Name */
    var firstName : String = "Test";

    /** Last Name */
    var age : Number = 39;

    /** 
     * A Foo Function
     * @param   a   A simple string
     * @return      A test String
     */
    function Foo (a:String):String {
        return "test"
    }
}

2. Go to navigator and over over NewJavaFXEmpty (it shows the javadoc)
3. hover over Foo function of NewJavaFXEmpty and it says 'javadoc not found'
Comment 1 Anton Chechel 2008-10-16 16:49:08 UTC
*** Issue 149558 has been marked as a duplicate of this issue. ***
Comment 2 Alexandr Scherbatiy 2008-10-28 10:45:29 UTC
Steps from issue 149558

1. create NewJavaFXEmpty Class and paste the following inside:

/**
 * A Simple Test It Class
 * @author Lark
 */
public class NewJavaFXEmpty {
    /** First Name */
    var firstName : String = "Test";
    /** Last Name */
    var age : Number = 39;
    /** A Foo Function */
    function Foo () {
    }
}

/** Run class for NewJavaFXEmpty */
public function Run () {
    var b : NewJavaFXEmpty = new NewJavaFXEmpty();
    b.age = 5;
    b.firstName = "Tester";
    b.Foo();
}

2. Click NewJavaFXEmpy and javadoc shows the first comment.
3. click the Run class and no javadoc shows for Run.
Comment 3 Anton Chechel 2008-11-02 20:55:45 UTC
This issue depends on javafx compiler fix:
http://openjfx.java.sun.com/jira/browse/JFXC-2305
Comment 4 Anton Chechel 2008-11-02 20:57:52 UTC
*** Issue 150260 has been marked as a duplicate of this issue. ***
Comment 5 Anton Chechel 2008-11-03 15:01:31 UTC
The problem is I can't retrieve javadoc for functions and fields (for classes it works) throught javafxdoc API.
But it works for command line tool javafxdoc.exe
So workaround is: generate javadoc for project (right click at project in NetBeans) in HTML representation and see it in
external browser.

This is the case only for Java FX user code. For Java classes and Java FX SDK libraries javadoc will work since I am
able to parse standard HTML javadoc and get content from there.
Comment 6 Alexandr Scherbatiy 2008-11-06 11:59:20 UTC
Steps from issue 150260

variable level javadoc does not work
1. paste the following
/**
 * A Simple Test It Class
 * @author Lark
 */
public class NewJavaFXEmpty {
    /** First Name */
    var firstName : String = "Test";

    /** Last Name */
    var age : Number = 39;

    /** 
     * A Foo Function
     * @param   a   A simple string
     * @return      A test String
     */
    function Foo (a:String):String {
        return "test"
    }
}

2. go to navigator.  Expand NewJavaFXEmpty and select firstname or age.  Javadoc was not found.
Comment 7 Anton Chechel 2008-12-05 10:48:36 UTC
Assigning to David.
Comment 8 David Strupl 2009-01-22 14:09:13 UTC
Downgrading to P3 since the corresponding compiler issue is also marked as P3.
Comment 9 Anton Chechel 2009-05-21 16:27:01 UTC
It is reproducible, working on it.
Comment 10 Anton Chechel 2009-05-25 13:20:35 UTC
fixed
Comment 11 Alexandr Scherbatiy 2009-07-20 11:18:26 UTC
verified