|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectDaikonVariableInfo
DaikonClassInfo
public class DaikonClassInfo
The DaikonClassInfo class is a subtype of DaikonVariableInfo used for variables which represent the runtime type of a variable (ie, ".getClass()" variables).
| Field Summary |
|---|
| Fields inherited from class DaikonVariableInfo |
|---|
children, class_suffix, classClassName, compareInfoString, declShouldPrint, dkconfig_constant_infer, dtraceShouldPrint, dtraceShouldPrintChildren, isArray, ppt_statics, repTypeName, std_visibility, stringClassName, typeName |
| Constructor Summary | |
|---|---|
DaikonClassInfo(String theName,
boolean isArr)
Constructs a DaikonClassInfo object |
|
| Method Summary | |
|---|---|
String |
get_relative_name()
Returns the name of this field |
EnumSet<VarFlags> |
get_var_flags()
Returns the variable flags for this variable. |
VarKind |
get_var_kind()
Returns function since essentially this is a call to a pure function |
String |
getDTraceValueString(Object val)
Returns a String representation of this object suitable for a .dtrace file |
Object |
getMyValFromParentVal(Object value)
Given an object value corresponding to the parent of this DaikonVariableInfo variable, return the value (of the corresponding value in the target application) of this DaikonVariableInfo variable. |
String |
getValueStringNonArr(Object val)
Get a String representation of the given Object's runtime type and the corresponding "modified" value |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DaikonClassInfo(String theName,
boolean isArr)
theName - The name of the variableisArr - True iff the variable represents an array of runtime classes| Method Detail |
|---|
public Object getMyValFromParentVal(Object value)
DaikonVariableInfo
getMyValFromParentVal in class DaikonVariableInfovalue - The parent object. Can be null for static fields.
(Are there any other circumstances where it can be null?)public String getDTraceValueString(Object val)
DaikonVariableInfo
getDTraceValueString in class DaikonVariableInfoval - The object whose value to printpublic String getValueStringNonArr(Object val)
val - The Object whose runtime class we wish to get a String representation of
public VarKind get_var_kind()
get_var_kind in class DaikonVariableInfopublic String get_relative_name()
get_relative_name in class DaikonVariableInfopublic EnumSet<VarFlags> get_var_flags()
DaikonVariableInfo
get_var_flags in class DaikonVariableInfo
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||