fr.umlv.corosol.component
Interface JHeapObject

All Superinterfaces:
JObject
All Known Subinterfaces:
JArray, JClassInstance, JReturnAddress
All Known Implementing Classes:
DefaultJArray, DefaultJClassInstance, NativeArray, NativeClassInstance, StringInstance

public interface JHeapObject
extends JObject

This interface represents a heap object.

Author:
Christophe Deleray

Method Summary
 java.lang.Object getNativeObject()
          Returns the object equivalent to this object but which belong to the underlaying Virtual Machine.
 JClass getType()
          Returns a JClass object representing the type of this heap object.
 boolean isNative()
          Determines if this heap object is allocated into the underlaying JVM heap and not in the Corosol JVM heap.
 

Method Detail

getType

JClass getType()
Returns a JClass object representing the type of this heap object.

Returns:
the type of this heap object

isNative

boolean isNative()
Determines if this heap object is allocated into the underlaying JVM heap and not in the Corosol JVM heap.

Returns:
true if this heap object is allocated into the underlaying JVM heap; false otherwise.

getNativeObject

java.lang.Object getNativeObject()
Returns the object equivalent to this object but which belong to the underlaying Virtual Machine.