|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TransparencyCodeSpec
Transparency code specification, modifies method code
| Method Summary | |
|---|---|
boolean |
isArraycopyInstrumentationReq(java.lang.String className,
java.lang.String methodName)
Check whether calling System.arraycopy() should be instrumented |
boolean |
isArrayOperatorInstrumentationReq()
Check whether store operations on arrays should be instrumented |
boolean |
isFieldInstrumentationReq(java.lang.String fieldName)
Check whether field access should be instrumented |
boolean |
isForceRawFieldAccess()
Should field accessed be forced to be raw access |
boolean |
isMonitorInstrumentationReq()
Check whether MONITORENTER and MONNITOREXIT should be instrumented |
boolean |
isWaitNotifyInstrumentationReq()
Check whether wait/notify instructions should be instrumented |
void |
setArraycopyInstrumentationReq(boolean arraycopyInstrumentationReq)
Set that System.arraycopy() should be instrumented |
void |
setArrayOperatorInstrumentationReq(boolean arrayOperatorInstrumentationReq)
Set that array store operations should be instrumented |
void |
setFieldInstrumentationReq(boolean fieldInstrumentationReq)
Set that field access should be instrumented |
void |
setForceRawFieldAccess()
Force the code adapter to use raw field reads |
void |
setMonitorInstrumentationReq(boolean monitorInstrumentationReq)
Set that MONITORENTER and MONNITOREXIT should be instrumented |
void |
setWaitNotifyInstrumentationReq(boolean waitNotifyInstrumentationReq)
Set that wait/notify should be instrumented |
| Method Detail |
|---|
boolean isArraycopyInstrumentationReq(java.lang.String className,
java.lang.String methodName)
className - Class name to check
void setArraycopyInstrumentationReq(boolean arraycopyInstrumentationReq)
arraycopyInstrumentationReq - Flagboolean isArrayOperatorInstrumentationReq()
void setArrayOperatorInstrumentationReq(boolean arrayOperatorInstrumentationReq)
arrayOperatorInstrumentationReq - Flagboolean isFieldInstrumentationReq(java.lang.String fieldName)
fieldName - Field to check
void setFieldInstrumentationReq(boolean fieldInstrumentationReq)
fieldInstrumentationReq - Flagboolean isWaitNotifyInstrumentationReq()
void setWaitNotifyInstrumentationReq(boolean waitNotifyInstrumentationReq)
waitNotifyInstrumentationReq - Flagboolean isMonitorInstrumentationReq()
void setMonitorInstrumentationReq(boolean monitorInstrumentationReq)
monitorInstrumentationReq - Flagvoid setForceRawFieldAccess()
boolean isForceRawFieldAccess()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||