|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectClassInfo
public class ClassInfo
Keeps information about a class that is useful for writing out decl and/or dtrace information. Original information is filled out during the transformation and other information is added the after the class is first loaded
| Field Summary | |
|---|---|
String |
class_name
fully qualified name of the class |
Class<?> |
clazz
reflection object for this class |
List<MethodInfo> |
method_infos
list of methods in the class |
boolean |
shouldInclude
Whether or not any methods in this class were instrumented |
Map<String,String> |
staticMap
Mapping from field name to string representation of its value |
RootInfo |
traversalClass
DaikonVariables for the class (static vars only) |
RootInfo |
traversalObject
DaikonVariables for the object (instance and static) |
| Constructor Summary | |
|---|---|
ClassInfo(String class_name,
ClassLoader theLoader)
Create ClassInfo with specified name |
|
| Method Summary | |
|---|---|
void |
dump(PrintStream ps)
dumps all of the class info to the specified stream |
List<MethodInfo> |
get_method_infos()
|
void |
init_traversal(int depth)
Initializes the daikon variables for the object and class ppts |
void |
initViaReflection()
Gets the reflection object Class for this class, and the Method objects for each method that is already in method_infos. |
void |
set_method_infos(List<MethodInfo> method_infos)
Set the list of methods |
String |
toString()
|
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public String class_name
public Class<?> clazz
public List<MethodInfo> method_infos
public RootInfo traversalObject
public RootInfo traversalClass
public boolean shouldInclude
public Map<String,String> staticMap
| Constructor Detail |
|---|
public ClassInfo(String class_name,
ClassLoader theLoader)
| Method Detail |
|---|
public void set_method_infos(List<MethodInfo> method_infos)
public List<MethodInfo> get_method_infos()
public void initViaReflection()
public void dump(PrintStream ps)
public void init_traversal(int depth)
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||