|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BlockInstrumentationStrategy
Specifies that a component uses or depends on a basic block instrumentation strategy. Defines methods to specify which types of basic blocks are selected for instrumentation or observation.
Method Summary | |
---|---|
boolean |
areCallBlocksActive()
Reports whether call blocks are selected. |
boolean |
areCodeBlocksActive()
Reports whether general basic blocks are selected; general basic blocks are any basic blocks corresponding to actual program code other than method call blocks. |
boolean |
areEntryBlocksActive()
Reports whether entry blocks are selected. |
boolean |
areExitBlocksActive()
Reports whether exit blocks are selected. |
int |
getTypeFlags()
Gets the bitmask corresponding to the types of basic blocks currently selected. |
void |
setCallBlocksActive(boolean enable)
Sets whether call blocks are selected. |
void |
setCodeBlocksActive(boolean enable)
Sets whether general basic blocks are selected; general basic blocks are any basic blocks corresponding to actual program code other than method call blocks. |
void |
setEntryBlocksActive(boolean enable)
Sets whether entry blocks are selected. |
void |
setExitBlocksActive(boolean enable)
Sets whether exit blocks are selected. |
Method Detail |
---|
boolean areCodeBlocksActive()
true
if general basic blocks are selected,
false
otherwise.void setCodeBlocksActive(boolean enable)
enable
- true
to select general basic blocks,
false
to ignore.boolean areEntryBlocksActive()
true
if entry blocks are selected,
false
otherwise.void setEntryBlocksActive(boolean enable)
enable
- true
to select entry blocks,
false
to ignore.boolean areExitBlocksActive()
true
if exit blocks are selected,
false
otherwise.void setExitBlocksActive(boolean enable)
enable
- true
to select exit blocks,
false
to ignore.boolean areCallBlocksActive()
true
if call blocks are selected,
false
otherwise.void setCallBlocksActive(boolean enable)
enable
- true
to select call blocks,
false
to ignore.int getTypeFlags()
Used for communicating configuration information to certain other components. To be phased out at a future date.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |