Package org.eclipse.jdt.debug.core
Interface IJavaFieldVariable
- All Superinterfaces:
org.eclipse.core.runtime.IAdaptable
,org.eclipse.debug.core.model.IDebugElement
,IJavaModifiers
,IJavaVariable
,org.eclipse.debug.core.model.IValueModification
,org.eclipse.debug.core.model.IVariable
A variable that contains the value of an instance or class variable.
- Since:
- 2.0
- See Also:
-
IVariable
- Restriction:
- This interface is not intended to be implemented by clients.
- Restriction:
- This interface is not intended to be extended by clients.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the type that declares this variable.Returns the object that contains this field variable, ornull
if no object contains this field variable (static field variable).Returns the type that contains this field variable.boolean
Returns whether this variable is declared as transient.boolean
Returns whether this variable is declared as volatile.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
Methods inherited from interface org.eclipse.debug.core.model.IDebugElement
getDebugTarget, getLaunch, getModelIdentifier
Methods inherited from interface org.eclipse.jdt.debug.core.IJavaModifiers
isFinal, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isSynthetic
Methods inherited from interface org.eclipse.jdt.debug.core.IJavaVariable
getGenericSignature, getJavaType, getSignature, isLocal
Methods inherited from interface org.eclipse.debug.core.model.IValueModification
setValue, setValue, supportsValueModification, verifyValue, verifyValue
Methods inherited from interface org.eclipse.debug.core.model.IVariable
getName, getReferenceTypeName, getValue, hasValueChanged
-
Method Details
-
isTransient
boolean isTransient() throws org.eclipse.debug.core.DebugExceptionReturns whether this variable is declared as transient.- Returns:
- whether this variable has been declared as transient
- Throws:
org.eclipse.debug.core.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.
-
isVolatile
boolean isVolatile() throws org.eclipse.debug.core.DebugExceptionReturns whether this variable is declared as volatile.- Returns:
- whether this variable has been declared as volatile
- Throws:
org.eclipse.debug.core.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.
-
getDeclaringType
IJavaType getDeclaringType()Returns the type that declares this variable.- Returns:
- the type that declares this variable
-
getReceiver
IJavaObject getReceiver()Returns the object that contains this field variable, ornull
if no object contains this field variable (static field variable).- Returns:
- the object that contains this field variable
- Since:
- 3.0
-
getReceivingType
IJavaReferenceType getReceivingType()Returns the type that contains this field variable.- Returns:
- the type that contains this field variable
- Since:
- 3.0
-