|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ObjectDaikonWriter
public abstract class DaikonWriter
DaikonWriter is the parent class of DeclWriter and DTraceWriter.
| Field Summary | |
|---|---|
static String |
lineSep
Platform dependent line separator. |
protected static boolean |
no_modifiers_ppt
Controls whether modifiers and the return type are included in the decl output |
| Constructor Summary | |
|---|---|
protected |
DaikonWriter()
|
| Method Summary | |
|---|---|
String |
escape(String str)
Escapes blanks and backslashes in names written to the decl/dtrace files |
protected static boolean |
isStaticConstField(Field field)
Determines if this field warrants an [ = val ] entry in decls file |
static String |
methodEntryName(Member method)
Given a method, returns the method entry program point name for Daikon |
static String |
methodEntryName(String fullClassName,
String[] types,
String name,
String short_name)
Given a method, returns the method entry program point name for Daikon method entry name for Daikon. |
static String |
methodExitName(Member method,
int lineNum)
Given a method, returns the method exit program point name for Daikon |
static String |
methodExitName(String fullClassName,
String[] types,
String name,
String short_name,
int lineNum)
Given a method, returns the method exit program point name for Daikon |
protected boolean |
shouldInstrumentMethod(Member method)
Determines if the given method should be instrumented |
static String |
stdClassName(Class<?> type)
Returns the class name of the specified class in 'java' format (i.e., as the class would have been declared in java source code) |
| Methods inherited from class Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final boolean no_modifiers_ppt
public static final String lineSep
| Constructor Detail |
|---|
protected DaikonWriter()
| Method Detail |
|---|
protected static boolean isStaticConstField(Field field)
field - requires field != null
public static String methodEntryName(Member method)
method - non-null method
public static String methodEntryName(String fullClassName,
String[] types,
String name,
String short_name)
types - Argument types
public static String methodExitName(Member method,
int lineNum)
method - require method != nulllineNum - The line number of the exit point of the method
public static String methodExitName(String fullClassName,
String[] types,
String name,
String short_name,
int lineNum)
types - Argument typeslineNum - The line number of the exit point of the method
protected boolean shouldInstrumentMethod(Member method)
public static String stdClassName(Class<?> type)
public String escape(String str)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||