java.lang.Object | ||||
↳ | com.sun.tools.jdi.TypeComponentImpl | |||
↳ | com.sun.tools.jdi.MethodImpl | |||
↳ | com.sun.tools.jdi.NonConcreteMethodImpl | |||
↳ | com.sun.tools.jdi.ObsoleteMethodImpl |
Represents methods which have changed when the class was redefined.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a list containing a text representation of the type
of each formal parameter of this method.
| |||||||||||
Returns a list containing the type
of each formal parameter of this method.
| |||||||||||
Determine if this method is obsolete.
| |||||||||||
Returns the return type,
as specified in the declaration of this method.
| |||||||||||
Returns a text representation of the return type,
as specified in the declaration of this method.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Returns a list containing a text representation of the type of each formal parameter of this method.
This list is always available even if the types have not yet been created or loaded.
Returns a list containing the type of each formal parameter of this method.
Note: if there is any parameter whose type
is a reference type (class, interface, or array)
and it has not been created or loaded
by the declaring type's class loader - that is,
declaringType()
.classLoader()
,
then ClassNotLoadedException will be thrown.
Also, a reference type may have been loaded but not yet prepared,
in which case the list will be returned
but attempts to perform some operations on the type
(e.g. fields()
) will throw
a ClassNotPreparedException
.
Use isPrepared()
to determine if
a reference type is prepared.
ClassNotLoadedException |
---|
Determine if this method is obsolete.
true
if this method has been made obsolete by a
redefineClasses(Map extends ReferenceType, byte[]>)
operation.Returns the return type, as specified in the declaration of this method.
Note: if the return type of this method is a reference type (class,
interface, or array) and it has not been created or loaded
by the declaring type's class loader - that is,
declaringType()
.classLoader()
,
then ClassNotLoadedException will be thrown.
Also, a reference type may have been loaded but not yet 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 method.ClassNotLoadedException |
---|
Returns a text representation of the return type, as specified in the declaration of this method.
This type name is always available even if the type has not yet been created or loaded.