org.tromer.jie
Class AndGenericStaticFilter
java.lang.Object
|
+--org.tromer.jie.AndGenericStaticFilter
- class AndGenericStaticFilter
- extends java.lang.Object
- implements GenericStaticFilter
A generic static filter implementation that ANDs together
two other filters.
Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
filter1
GenericStaticFilter filter1
filter2
GenericStaticFilter filter2
createFor
public static GenericStaticFilter createFor(GenericStaticFilter filter1,
GenericStaticFilter filter2)
- Create a new filter that is an AND of two existing filters.
If one of the filters is null, the other is returned (no new object
created). If both are null, null is returned.
isPackageAccepted
public boolean isPackageAccepted(VisitContext context)
- Specified by:
- isPackageAccepted in interface GenericStaticFilter
isClassAccepted
public boolean isClassAccepted(VisitContext context)
- Specified by:
- isClassAccepted in interface GenericStaticFilter
isMethodAccepted
public boolean isMethodAccepted(VisitContext context)
- Specified by:
- isMethodAccepted in interface GenericStaticFilter