com.sun.jdi
public interface: InterfaceType [javadoc |
source]
All Implemented Interfaces:
ReferenceType
All Known Implementing Classes:
InterfaceTypeImpl, InterfaceTypeImpl
A mirror of an interface in the target VM. An InterfaceType is
a refinement of
ReferenceType that applies to true interfaces
in the JLS sense of the definition (not a class, not an array type).
An interface type will never be returned by
ObjectReference#referenceType , but it may be in the list
of implemented interfaces for a
ClassType that is returned
by that method.
Also see:
- ObjectReference
- author:
Robert
- Field
- author:
Gordon
- Hirsch
- author:
James
- McIlree
- since:
1.3
-
Method from com.sun.jdi.InterfaceType Detail: |
public List<ClassType> implementors()
Gets the currently prepared classes which directly implement this
interface. The returned list contains only those classes that
declared this interface in their "implements" clause. |
public List<InterfaceType> subinterfaces()
Gets the currently prepared interfaces which directly extend this
interface. The returned list contains only those interfaces that
declared this interface in their "extends" clause. |
public List<InterfaceType> superinterfaces()
Gets the interfaces directly extended by this interface.
The returned list contains only those interfaces this
interface has declared to be extended. |