public interface EnhancedClassData
Modifier and Type | Interface and Description |
---|---|
static class |
EnhancedClassData.MethodType |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESCRIPTION_NAME |
static java.lang.String |
INFO_METHOD_NAME |
static java.lang.String |
MM_NAME |
static org.objectweb.asm.Type |
MM_TYPE |
static java.lang.String |
OBJECT_NAME |
static org.objectweb.asm.Type |
OBJECT_TYPE |
static java.lang.String |
SH_NAME |
static org.objectweb.asm.Type |
SH_TYPE |
Modifier and Type | Method and Description |
---|---|
EnhancedClassData.MethodType |
classifyMethod(java.lang.String fullMethodDescriptor)
Classify the method.
|
java.util.Map<java.lang.String,java.lang.String> |
getAnnotationToHolderName()
Map from MM annotation name to the name of the holder
field that contains the SynchronizedHolder for the
corresponding MethodMonitor.
|
java.lang.String |
getClassName()
Return the internal name of the class.
|
java.util.List<java.lang.String> |
getDescriptions()
List of descriptions of monitored methods and info methods.
|
java.lang.String |
getHolderName(java.lang.String fullMethodDescriptor)
Name of the holder fields corresponding to a particular
method.
|
int |
getMethodIndex(java.lang.String methodName)
Index of method name in the list of method names.
|
java.util.List<java.lang.String> |
getMethodMMAnnotationName()
List of annotation names for each info method and monitored method.
|
java.util.List<java.lang.String> |
getMethodNames()
List of method names for all MM methods and info methods
in the class.
|
java.util.List<java.lang.String> |
getTimingPointNames()
List of timing point names corresponding to method names.
|
java.util.List<TimingPointType> |
getTimingPointTypes()
List of timing point types of monitored methods and info methods.
|
boolean |
isTracedClass()
Returns true iff this class is monitored.
|
void |
updateInfoDesc()
Enhance all of the descriptors for infoMethods.
|
static final org.objectweb.asm.Type OBJECT_TYPE
static final java.lang.String OBJECT_NAME
static final org.objectweb.asm.Type SH_TYPE
static final java.lang.String SH_NAME
static final org.objectweb.asm.Type MM_TYPE
static final java.lang.String MM_NAME
static final java.lang.String INFO_METHOD_NAME
static final java.lang.String DESCRIPTION_NAME
java.lang.String getClassName()
boolean isTracedClass()
java.util.Map<java.lang.String,java.lang.String> getAnnotationToHolderName()
EnhancedClassData.MethodType classifyMethod(java.lang.String fullMethodDescriptor)
fullMethodDescriptor
- The full method descriptor of the method.java.lang.String getHolderName(java.lang.String fullMethodDescriptor)
fullMethodDescriptor
- The full method descriptor of the method.java.util.List<java.lang.String> getMethodNames()
java.util.List<java.lang.String> getTimingPointNames()
java.util.List<java.lang.String> getDescriptions()
java.util.List<TimingPointType> getTimingPointTypes()
java.util.List<java.lang.String> getMethodMMAnnotationName()
int getMethodIndex(java.lang.String methodName)
methodName
- The method name as defined for tracing.void updateInfoDesc()