returns the size of all instances in bytes. For non array classes
this is computed as getInstancesCount()*getInstanceSize().
Instance size of all instances is summed for arrays.
Speed: normal
the size of all instances in bytes
returns the size of the
Instance in bytes if this JavaClass does
not represent array. For arrays -1 is returned
Speed: fast
returns the size of the Instance in bytes, for arrays -1 is returned.
return human readable name of the class.
Innerclasses are separated by $. Anonymous classes uses $1 $2 etc.
Arrays uses [] after the class or primitive type name
Speed: fast
name of the class
computes the list of instance field values. The order is fields of this class followed by
super class, etc.
Speed: normal
list of FieldValue instance field values.
returns all subclasses of this class. This method works recursivelly
so it returns also subclasses of subclasses etc.
Speed: slow
returns the Collection of JavaClass.
Returns a value object that reflects the specified static field of the class
represented by this
JavaClass object.
The name parameter is a String that specifies the simple name of the desired static field.
Speed: normal
Parameters: name - the name of the field @return the value for the specified static field in this class.If a static field with the specified name is not found null is returned.If the field.getType() is Type object Instance is returned as field value,for primitive types its corresponding object wapper (Boolean, Integer, Float, etc.) is returned.