Package daikon.chicory
Class ClassInfo
- Object
-
- ClassInfo
-
-
Field Summary
Fields Modifier and Type Field Description @BinaryName String
class_name
binary name of the class@MonotonicNonNull Class<?>
clazz
reflection object for this classList<MethodInfo>
method_infos
list of methods in the classboolean
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*@MonotonicNonNull RootInfo
traversalClass
DaikonVariables for the class program point (static variables only).@MonotonicNonNull RootInfo
traversalObject
DaikonVariables for the object program point (instance and static variables).
-
Constructor Summary
Constructors Constructor Description ClassInfo(@BinaryName String class_name, ClassLoader theLoader)
Create ClassInfo with specified name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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()
-
-
-
Field Detail
-
class_name
public @BinaryName String class_name
binary name of the class
-
method_infos
public List<MethodInfo> method_infos
list of methods in the class
-
traversalObject
public @MonotonicNonNull RootInfo traversalObject
DaikonVariables for the object program point (instance and static variables).
-
traversalClass
public @MonotonicNonNull RootInfo traversalClass
DaikonVariables for the class program point (static variables only).
-
shouldInclude
public boolean shouldInclude
Whether or not any methods in this class were instrumented.
-
-
Constructor Detail
-
ClassInfo
public ClassInfo(@BinaryName String class_name, ClassLoader theLoader)
Create ClassInfo with specified name.
-
-
Method Detail
-
set_method_infos
public void set_method_infos(List<MethodInfo> method_infos)
Set the list of methods.
-
get_method_infos
public List<MethodInfo> get_method_infos()
-
initViaReflection
@EnsuresNonNull("clazz") public void initViaReflection()
Gets the reflection object Class for this class, and the Method objects for each method that is already in method_infos.
-
init_traversal
public void init_traversal(int depth)
Initializes the daikon variables for the object and class ppts.- Parameters:
depth
- how deeply to nest variables, as in "a.b.field"
-
-