Interface IMCMethod
- 
- All Known Implementing Classes:
- MCMethod
 
 public interface IMCMethodA method representation.There are many different ways methods are represented in Mission Control and in Java: MethodIdentfier, java.lang.String, stack trace locations, profiled methods, JFR methods etc. Some IMCMethod implementations may support a wide range of method information while others might only be able provide the basic method name. It's up to the user of this interface to examine what is available. If information is missing nullis returned.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetFormalDescriptor()Returns the formal descriptor.StringgetMethodName()Returns the method name not including parameters.IntegergetModifier()Returns the modifier used in the Java class file.IMCTypegetType()Returns the class this method is declared in.BooleanisHidden()Whether this method is hidden.BooleanisNative()Whether this method is native.
 
- 
- 
- 
Method Detail- 
getTypeIMCType getType() Returns the class this method is declared in.- Returns:
- the class declaring this method
 
 - 
getMethodNameString getMethodName() Returns the method name not including parameters.An example is "mymethod". If the method is native the format is undefined. - Returns:
- the name of this method, or nullif unavailable
 
 - 
getFormalDescriptorString getFormalDescriptor() Returns the formal descriptor.For example, the method descriptor for the method Object mymethod(int i, double d, Thread t)is(IDLjava/lang/Thread;)Ljava/lang/Object;- Returns:
- the formal method descriptor, or nullif unavailable
 
 - 
getModifierInteger getModifier() Returns the modifier used in the Java class file.Examples of modifiers are "protected", "public", etc. See Modifierfor more information about the bit pattern and for methods that can be used to decode it.- Returns:
- the modifier used in the class file, or nullif not available
 
 - 
isNativeBoolean isNative() Whether this method is native.- Returns:
- Boolean.TRUEif the method is native,- Boolean.FALSEif not, or- nullif the information is not available
 
 - 
isHiddenBoolean isHidden() Whether this method is hidden.- Returns:
- Boolean.TRUEif the method is hidden,- Boolean.FALSEif not, or- nullif the information is not available
 
 
- 
 
-