java.lang.Object | |||
↳ | com.sun.tools.jdi.TypeImpl | ||
↳ | com.sun.tools.jdi.ReferenceTypeImpl | ||
↳ | com.sun.tools.jdi.ArrayTypeImpl |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.sun.tools.jdi.ReferenceTypeImpl
| |||||||||||
From class
com.sun.tools.jdi.TypeImpl
|
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a list containing each
Method declared in this type,
and its superclasses, implemented interfaces, and/or superinterfaces. | |||||||||||
Gets the JNI signature of the components of this
array class.
| |||||||||||
Returns the component type of this array,
as specified in the array declaration.
| |||||||||||
Returns a text representation of the component
type of this array.
| |||||||||||
Determines if initialization failed for this class.
| |||||||||||
Determines if this type was declared abstract.
| |||||||||||
Determines if this type was declared final.
| |||||||||||
Determines if this type has been initialized.
| |||||||||||
Determines if this type has been prepared.
| |||||||||||
Determines if this type has been verified.
| |||||||||||
Creates a new instance of this array class in the target VM.
| |||||||||||
Returns a string representation of the object.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.sun.tools.jdi.ReferenceTypeImpl
| |||||||||||
From class
com.sun.tools.jdi.TypeImpl
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.sun.jdi.Accessible
| |||||||||||
From interface
com.sun.jdi.ArrayType
| |||||||||||
From interface
com.sun.jdi.Mirror
| |||||||||||
From interface
com.sun.jdi.ReferenceType
| |||||||||||
From interface
com.sun.jdi.Type
| |||||||||||
From interface
java.lang.Comparable
|
Returns a list containing each Method
declared in this type,
and its superclasses, implemented interfaces, and/or superinterfaces.
All declared and inherited
methods are included, regardless of whether they are hidden or
overridden.
For arrays (ArrayType
) and primitive classes, the returned
list is always empty.
Method
objects; the list has length
0 if no methods exist.Gets the JNI signature of the components of this array class. The signature describes the declared type of the components. If the components are objects, their actual type in a particular run-time context may be a subclass of the declared class.
Returns the component type of this array, as specified in the array declaration.
Note: The component type of a array will always be
created or loaded before the array - see the
Java Virtual
Machine Specification, section
5.3.3
Creating Array Classes.
However, although the component type will be loaded it may
not yet be prepared, in which case the type will be returned
but attempts to perform some operations on the returned type
(e.g. fields()
) will throw
a ClassNotPreparedException
.
Use isPrepared()
to determine if
a reference type is prepared.
Type
of this array's components.
ClassNotLoadedException |
---|
Returns a text representation of the component type of this array.
Determines if initialization failed for this class. See the JVM specification for details on class initialization.
For arrays (ArrayType
) and primitive classes,
the return value is undefined.
true
if initialization was attempted and
failed; false otherwise.
Determines if this type was declared abstract.
For arrays (ArrayType
) and primitive classes,
the return value is undefined.
true
if this type is abstract; false otherwise.
Determines if this type was declared final.
For arrays (ArrayType
) and primitive classes,
the return value is always true.
true
if this type is final; false otherwise.
Determines if this type has been initialized. See the JVM
specification for a definition of class verification.
For InterfaceType
, this method always returns the
same value as isPrepared()
.
For arrays (ArrayType
) and primitive classes,
the return value is undefined.
true
if this type is initialized; false otherwise.
Determines if this type has been prepared. See the JVM specification for a definition of class preparation.
For arrays (ArrayType
) and primitive classes,
the return value is undefined.
true
if this type is prepared; false otherwise.
Determines if this type has been verified. See the JVM specification for a definition of class verification.
For arrays (ArrayType
) and primitive classes,
the return value is undefined.
true
if this type is verified; false otherwise.
Creates a new instance of this array class in the target VM. The array is created with the given length and each component is initialized to is standard default value.
length | the number of components in the new array |
---|
ArrayReference
mirroring
the new object in the target VM.Returns a string representation of the object. In general, the
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())