|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object th.co.edge.jseq.MethodFilter
public class MethodFilter
A Filter
that accepts only methods with a given fully
qualified name.
Constructor Summary | |
---|---|
MethodFilter(java.lang.String method)
Creates a new MethodFilter that only accepts methods with
the given fully qualified name. |
Method Summary | |
---|---|
boolean |
accept(Activation activation)
Returns true if and only if the given activation is a call
to a method with the fully qualified name given when creating this
MethodFilter . |
java.lang.String |
getClassName()
Returns the class name associated with this MethodFilter . |
java.lang.String |
getMethodName()
Returns the unqualified method name associated with this MethodFilter . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodFilter(java.lang.String method)
MethodFilter
that only accepts methods with
the given fully qualified name. Only exact matches are accepted, there is
no wild-card expansion.
method
- the fully qualified method name to acceptMethod Detail |
---|
public boolean accept(Activation activation)
true
if and only if the given activation is a call
to a method with the fully qualified name given when creating this
MethodFilter
.
accept
in interface ActivationList.Filter
activation
- the Activation
to check
true
if activation
represents a
call to a method with the name associated with this
MethodFilter
, false
otherwisepublic java.lang.String getClassName()
MethodFilter
.
MethodFilter
public java.lang.String getMethodName()
MethodFilter
.
MethodFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |