Class LocalObjectReference
java.lang.Object
org.eclipse.m2m.atl.debug.core.adwp.Value
org.eclipse.m2m.atl.debug.core.adwp.ObjectReference
org.eclipse.m2m.atl.core.ui.vm.debug.LocalObjectReference
The local implementation of an object reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classAStackFramefor the debugging protocol, which doesn't interfere with the debugging process. -
Field Summary
FieldsFields inherited from class org.eclipse.m2m.atl.debug.core.adwp.ObjectReference
id -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedLocalObjectReference(Object object, int id, NetworkDebugger debugger) Creates a new LocalObjectReference. -
Method Summary
Modifier and TypeMethodDescriptionstatic Valueasm2value(ASMOclAny o, NetworkDebugger debugger) Converts an ASM Object into aValue.Calls an operation with the given arguments.Gets a value for the given property.voidSets a value for the given property.toString()static ObjectReferencevalueOf(int objectId) Returns the object reference matching the given id.static ObjectReferencevalueOf(Object object, NetworkDebugger debugger) Returns an object reference for the given object.Methods inherited from class org.eclipse.m2m.atl.debug.core.adwp.ObjectReference
getId
-
Field Details
-
object
-
debugger
-
-
Constructor Details
-
LocalObjectReference
Creates a new LocalObjectReference.- Parameters:
object- the objectid- the objecct iddebugger- the debugger
-
-
Method Details
-
getObject
-
toString
- Overrides:
toStringin classObjectReference- See Also:
-
valueOf
Returns the object reference matching the given id.- Parameters:
objectId- the object id- Returns:
- the object reference matching the given id
-
valueOf
Returns an object reference for the given object.- Parameters:
object- the objectdebugger- the current debugger- Returns:
- the object reference
-
get
Gets a value for the given property.- Specified by:
getin classObjectReference- Parameters:
propName- the property name- Returns:
- the value
- See Also:
-
set
Sets a value for the given property.- Specified by:
setin classObjectReference- Parameters:
propName- the property namevalue- the value to set- See Also:
-
call
Calls an operation with the given arguments.- Specified by:
callin classObjectReference- Parameters:
opName- the operation nameargs- the arguments- Returns:
- the operation call result
- See Also:
-
asm2value
Converts an ASM Object into aValue.- Parameters:
o- the objectdebugger- the current debugger- Returns:
- the
Value
-