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.

View | Details | Raw Unified | Return to bug 253295
Collapse All | Expand All

(-)a/api.debugger.jpda/apichanges.xml (+20 lines)
Lines 895-900 Link Here
895
        <issue number="246819"/>
895
        <issue number="246819"/>
896
    </change>
896
    </change>
897
897
898
    <change>
899
        <api name="JPDADebuggerAPI"/>
900
        <summary>Add methods for retrieval of implemented and extended types.</summary>
901
        <version major="3" minor="2"/>
902
        <date day="10" month="7" year="2015"/>
903
        <author login="mentlicher"/>
904
        <compatibility addition="yes" source="compatible" binary="compatible"/>
905
        <description>
906
            Methods that provide implemented and extended types were added to
907
            <code>JPDAClassType</code> class. These are:
908
            <ul>
909
                <li>getSubClasses()</li>
910
                <li>getAllInterfaces()</li>
911
                <li>getDirectInterfaces()</li>
912
                <li>isInstanceOf()</li>
913
            </ul>
914
        </description>
915
        <class package="org.netbeans.api.debugger.jpda" name="JPDAClassType" />
916
        <issue number="253295"/>
917
    </change>
898
</changes>
918
</changes>
899
919
900
  <!-- Now the surrounding HTML text and document structure: -->
920
  <!-- Now the surrounding HTML text and document structure: -->
(-)a/api.debugger.jpda/manifest.mf (-1 / +1 lines)
Lines 1-6 Link Here
1
Manifest-Version: 1.0
1
Manifest-Version: 1.0
2
OpenIDE-Module: org.netbeans.api.debugger.jpda/2
2
OpenIDE-Module: org.netbeans.api.debugger.jpda/2
3
OpenIDE-Module-Localizing-Bundle: org/netbeans/api/debugger/jpda/Bundle.properties
3
OpenIDE-Module-Localizing-Bundle: org/netbeans/api/debugger/jpda/Bundle.properties
4
OpenIDE-Module-Specification-Version: 3.1
4
OpenIDE-Module-Specification-Version: 3.2
5
OpenIDE-Module-Package-Dependencies: com.sun.jdi[VirtualMachineManager]
5
OpenIDE-Module-Package-Dependencies: com.sun.jdi[VirtualMachineManager]
6
6
(-)a/api.debugger.jpda/src/org/netbeans/api/debugger/jpda/JPDAClassType.java (-2 / +37 lines)
Lines 89-96 Link Here
89
     */
89
     */
90
    Super getSuperClass();
90
    Super getSuperClass();
91
    
91
    
92
    /*List<JPDAClassType> getSubClasses();*/
92
    /**
93
    
93
     * Get the currently loaded subclasses, when this type represents a class,
94
     * or loaded subinterfaces and implementors of this interface, if this type
95
     * represents an interface.
96
     * @return a list of direct classes and interfaces, that extend this type.
97
     *         Returns an empty array when there are no such types.
98
     * @since 3.2
99
     */
100
    List<JPDAClassType> getSubClasses();
101
102
    /**
103
     * Get all interfaces that are directly or indirectly implemented by this class,
104
     * or extended by this interface.
105
     * @return a list of all implemented or extended interfaces.
106
     *         Returns an empty array when there are no such interfaces.
107
     * @since 3.2
108
     */
109
    List<JPDAClassType> getAllInterfaces();
110
111
    /**
112
     * Get the interfaces that are directly implemented by this class,
113
     * or directly extended by this interface.
114
     * @return a list of all implemented or extended interfaces.
115
     *         Returns an empty array when there are no such interfaces.
116
     * @since 3.2
117
     */
118
    List<JPDAClassType> getDirectInterfaces();
119
120
    /**
121
     * Check if this type in an instance of a given class name.
122
     * @param className the class name
123
     * @return <code>true</code> when this type is an instance of the given class
124
     * name, <code>false</code> otherwise.
125
     * @since 3.2
126
     */
127
    boolean isInstanceOf(String className);
128
94
    /**
129
    /**
95
     * Provide a list of static fields declared in this type.
130
     * Provide a list of static fields declared in this type.
96
     * @return the list of {@link org.netbeans.api.debugger.jpda.Field} objects
131
     * @return the list of {@link org.netbeans.api.debugger.jpda.Field} objects

Return to bug 253295