public class ClassModifierMatcher extends AbstractModifierMatcher
Constructor and Description |
---|
ClassModifierMatcher(int modifierMask) |
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 boolean matches(javassist.CtClass ctClass)
IMatcher
matches
in interface IMatcher
matches
in class AbstractModifierMatcher
ctClass
- classtrue
if it matches, false
otherwisepublic boolean matches(javassist.CtBehavior ctBehavior)
IMatcher
matches
in interface IMatcher
matches
in class AbstractModifierMatcher
ctBehavior
- a method, a constructor, or a static constructor (class initializer)true
if it matches, false
otherwisepublic boolean matches(javassist.CtField ctField)
IMatcher
matches
in interface IMatcher
matches
in class AbstractModifierMatcher
ctField
- a fieldtrue
if it matches, false
otherwiseCopyright © 2010–2019 GZoltar. All rights reserved.