|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--edu.ucsb.ccs.jcontractor.CompositeInstrumentationFilter
An instrumentation filter that combines other instrumentation filters.
| Field Summary |
| Fields inherited from interface edu.ucsb.ccs.jcontractor.InstrumentationFilter |
ALL, NONE, POST, PRE |
| Constructor Summary | |
CompositeInstrumentationFilter()
Create a new filter. |
|
| Method Summary | |
void |
addFilter(InstrumentationFilter filter)
Add a filter to the composite filter. |
boolean |
appliesTo(java.lang.String classname)
Always returns true. |
int |
getFilterLevel()
Get the filter level; always returns zero. |
java.util.LinkedList |
getFilters()
Get the filters in the composite filter as a linked list. |
int |
getInstrumentationLevel(java.lang.String classname)
Get the instrumentation level for a class. |
int |
size()
Get the number of filters in this composite filter. |
java.lang.String |
toString()
Get a string representation of the filter, for debugging. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CompositeInstrumentationFilter()
| Method Detail |
public void addFilter(InstrumentationFilter filter)
filter - the filter to add.public java.util.LinkedList getFilters()
public boolean appliesTo(java.lang.String classname)
appliesTo in interface InstrumentationFilterclassname - the name of a class to test.
public int getFilterLevel()
getFilterLevel in interface InstrumentationFilterpublic int getInstrumentationLevel(java.lang.String classname)
getInstrumentationLevel in interface InstrumentationFilterclassname - the name of the class to get the
instrumentation level of.
public int size()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||