public class MethodNameMatcher extends AbstractWildcardMatcher
Constructor and Description |
---|
MethodNameMatcher(String expression) |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(javassist.CtBehavior ctBehavior)
Matches a method, a constructor, or a static constructor (class initializer)
|
boolean |
matches(javassist.CtClass ctClass)
Matches a class
|
boolean |
matches(javassist.CtField ctField)
Matches a field
|
public MethodNameMatcher(String expression)
public boolean matches(javassist.CtClass ctClass)
IMatcher
ctClass
- classtrue
if it matches, false
otherwisepublic boolean matches(javassist.CtBehavior ctBehavior)
IMatcher
ctBehavior
- a method, a constructor, or a static constructor (class initializer)true
if it matches, false
otherwisepublic boolean matches(javassist.CtField ctField)
IMatcher
ctField
- a fieldtrue
if it matches, false
otherwiseCopyright © 2010–2019 GZoltar. All rights reserved.