public abstract class EnhancedClassDataBase extends Object implements EnhancedClassData
EnhancedClassData.MethodType| Modifier and Type | Field and Description |
|---|---|
protected Set<String> |
annoNamesForClass |
protected Set<String> |
annotationNames |
protected Map<String,String> |
annoToHolderName |
protected String |
className |
protected Set<String> |
infoMethodDescs |
protected List<String> |
methodAnnoList |
protected List<String> |
methodDescriptions |
protected List<String> |
methodNames |
protected Map<String,String> |
methodToAnno |
protected List<String> |
methodTPNames |
protected List<TimingPointType> |
methodTPTs |
protected Set<String> |
mmMethodDescs |
protected Util |
util |
DESCRIPTION_NAME, INFO_METHOD_NAME, MM_NAME, MM_TYPE, OBJECT_NAME, OBJECT_TYPE, SH_NAME, SH_TYPE| Modifier | Constructor and Description |
|---|---|
protected |
EnhancedClassDataBase(Util util,
Set<String> annotationNames) |
| Modifier and Type | Method and Description |
|---|---|
EnhancedClassData.MethodType |
classifyMethod(String fullMethodDescriptor)
Classify the method.
|
Map<String,String> |
getAnnotationToHolderName()
Map from MM annotation name to the name of the holder
field that contains the SynchronizedHolder for the
corresponding MethodMonitor.
|
String |
getClassName()
Return the internal name of the class.
|
List<String> |
getDescriptions()
List of descriptions of monitored methods and info methods.
|
String |
getHolderName(String fullMethodDescriptor)
Name of the holder fields corresponding to a particular
method.
|
int |
getMethodIndex(String methodName)
Index of method name in the list of method names.
|
List<String> |
getMethodMMAnnotationName()
List of annotation names for each info method and monitored method.
|
List<String> |
getMethodNames()
List of method names for all MM methods and info methods
in the class.
|
List<String> |
getTimingPointNames()
List of timing point names corresponding to method names.
|
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.
|
protected Util util
protected String className
protected final List<TimingPointType> methodTPTs
public String getClassName()
EnhancedClassDatagetClassName in interface EnhancedClassDatapublic Map<String,String> getAnnotationToHolderName()
EnhancedClassDatagetAnnotationToHolderName in interface EnhancedClassDatapublic List<String> getMethodNames()
EnhancedClassDatagetMethodNames in interface EnhancedClassDatapublic int getMethodIndex(String methodName)
EnhancedClassDatagetMethodIndex in interface EnhancedClassDatamethodName - The method name as defined for tracing.public String getHolderName(String fullMethodDescriptor)
EnhancedClassDatagetHolderName in interface EnhancedClassDatafullMethodDescriptor - The full method descriptor of the method.public EnhancedClassData.MethodType classifyMethod(String fullMethodDescriptor)
EnhancedClassDataclassifyMethod in interface EnhancedClassDatafullMethodDescriptor - The full method descriptor of the method.public boolean isTracedClass()
EnhancedClassDataisTracedClass in interface EnhancedClassDatapublic void updateInfoDesc()
EnhancedClassDataupdateInfoDesc in interface EnhancedClassDatapublic List<String> getDescriptions()
getDescriptions in interface EnhancedClassDatapublic List<TimingPointType> getTimingPointTypes()
getTimingPointTypes in interface EnhancedClassDatapublic List<String> getTimingPointNames()
EnhancedClassDatagetTimingPointNames in interface EnhancedClassDatapublic List<String> getMethodMMAnnotationName()
EnhancedClassDatagetMethodMMAnnotationName in interface EnhancedClassDataCopyright © 2011–2021 Eclipse Foundation. All rights reserved.