static class StructTypes.JfrMethod extends java.lang.Object implements IMCMethod
| Modifier and Type | Field and Description |
|---|---|
java.lang.Object |
descriptor |
java.lang.Object |
hidden |
java.lang.Object |
modifiers |
java.lang.Object |
name |
java.lang.Object |
type |
| Constructor and Description |
|---|
JfrMethod() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getFormalDescriptor()
Returns the formal descriptor.
|
java.lang.String |
getMethodName()
Returns the method name not including parameters.
|
java.lang.Integer |
getModifier()
Returns the modifier used in the Java class file.
|
IMCType |
getType()
Returns the class this method is declared in.
|
int |
hashCode() |
java.lang.Boolean |
isHidden()
Whether this method is hidden.
|
java.lang.Boolean |
isNative()
Whether this method is native.
|
public java.lang.Object type
public java.lang.Object name
public java.lang.Object descriptor
public java.lang.Object modifiers
public java.lang.Object hidden
public IMCType getType()
IMCMethodpublic java.lang.String getMethodName()
IMCMethodAn example is "mymethod". If the method is native the format is undefined.
getMethodName in interface IMCMethodnull if unavailablepublic java.lang.String getFormalDescriptor()
IMCMethod
For example, the method descriptor for the method
Object mymethod(int i, double d, Thread t) is
(IDLjava/lang/Thread;)Ljava/lang/Object;
getFormalDescriptor in interface IMCMethodnull if unavailablepublic java.lang.Integer getModifier()
IMCMethodExamples of modifiers are "protected", "public", etc.
See Modifier for more information about the bit pattern and for methods that can be
used to decode it.
getModifier in interface IMCMethodnull if not availablepublic java.lang.Boolean isNative()
IMCMethodpublic java.lang.Boolean isHidden()
IMCMethodpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object