Class JavaFieldSigMask
- java.lang.Object
-
- net.sourceforge.pmd.lang.java.multifile.signature.JavaSigMask<JavaFieldSignature>
-
- net.sourceforge.pmd.lang.java.multifile.signature.JavaFieldSigMask
-
- All Implemented Interfaces:
SigMask<JavaFieldSignature>
public final class JavaFieldSigMask extends JavaSigMask<JavaFieldSignature>
Signature mask for a field. Newly created masks cover any field.- Author:
- Clément Fournier
-
-
Constructor Summary
Constructors Constructor Description JavaFieldSigMask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
coverFinal()
void
coverFinal(boolean coverFinal)
Include final fields?.boolean
covers(JavaFieldSignature sig)
void
coverStatic()
void
coverStatic(boolean coverStatic)
Include static fields?.void
forbidFinal()
void
forbidStatic()
-
Methods inherited from class net.sourceforge.pmd.lang.java.multifile.signature.JavaSigMask
coverAllVisibilities, forbid, restrictVisibilitiesTo
-
-
-
-
Method Detail
-
coverFinal
public void coverFinal(boolean coverFinal)
Include final fields?.
-
coverFinal
public void coverFinal()
-
forbidFinal
public void forbidFinal()
-
coverStatic
public void coverStatic(boolean coverStatic)
Include static fields?.
-
coverStatic
public void coverStatic()
-
forbidStatic
public void forbidStatic()
-
covers
public boolean covers(JavaFieldSignature sig)
- Specified by:
covers
in interfaceSigMask<JavaFieldSignature>
- Overrides:
covers
in classJavaSigMask<JavaFieldSignature>
-
-