Eclipse JDT
2.0

org.eclipse.jdt.debug.core
Interface IJavaInterfaceType

All Superinterfaces:
IJavaType

public interface IJavaInterfaceType
extends IJavaType

An interface an object implements on a Java debug target.

Clients are not intended to implement this interface.

Since:
2.0
See Also:
IJavaValue

Method Summary
 IJavaClassObject getClassObject()
          Returns the class object associated with this interface type.
 IJavaFieldVariable getField(String name)
          Returns a variable representing the static field in this interface with the given name, or null if there is no field with the given name, or the name is ambiguous.
 
Methods inherited from interface org.eclipse.jdt.debug.core.IJavaType
getName, getSignature
 

Method Detail

getField

public IJavaFieldVariable getField(String name)
                            throws DebugException
Returns a variable representing the static field in this interface with the given name, or null if there is no field with the given name, or the name is ambiguous.

Parameters:
name - field name
Returns:
the variable representing the static field, or null
Throws:
DebugException - if this method fails. Reasons include:
  • Failure communicating with the VM. The DebugException's status code contains the underlying exception responsible for the failure.

getClassObject

public IJavaClassObject getClassObject()
                                throws DebugException
Returns the class object associated with this interface type.

Returns:
the class object associated with this interface type
Throws:
DebugException - if this method fails. Reasons include:
  • Failure communicating with the VM. The DebugException's status code contains the underlying exception responsible for the failure.

Eclipse JDT
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.