public class FieldAttributeMatcher extends AbstractAttributeMatcher
Constructor and Description |
---|
FieldAttributeMatcher(String attribute) |
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 FieldAttributeMatcher(String attribute)
public boolean matches(javassist.CtClass ctClass)
IMatcher
matches
in interface IMatcher
matches
in class AbstractAttributeMatcher
ctClass
- classtrue
if it matches, false
otherwisepublic boolean matches(javassist.CtBehavior ctBehavior)
IMatcher
matches
in interface IMatcher
matches
in class AbstractAttributeMatcher
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 AbstractAttributeMatcher
ctField
- a fieldtrue
if it matches, false
otherwiseCopyright © 2010–2019 GZoltar. All rights reserved.