Class JavaFieldSignature
- java.lang.Object
-
- net.sourceforge.pmd.lang.java.multifile.signature.JavaSignature<ASTFieldDeclaration>
-
- net.sourceforge.pmd.lang.java.multifile.signature.JavaFieldSignature
-
- All Implemented Interfaces:
Signature<ASTFieldDeclaration>
public final class JavaFieldSignature extends JavaSignature<ASTFieldDeclaration>
Signature for a field.- Author:
- Clément Fournier
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sourceforge.pmd.lang.java.multifile.signature.JavaSignature
JavaSignature.Visibility
-
-
Field Summary
Fields Modifier and Type Field Description boolean
isFinal
boolean
isStatic
-
Fields inherited from class net.sourceforge.pmd.lang.java.multifile.signature.JavaSignature
visibility
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JavaFieldSignature
buildFor(ASTFieldDeclaration node)
Builds a field signature from its AST node.boolean
equals(Object o)
int
hashCode()
String
toString()
-
-
-
Method Detail
-
buildFor
public static JavaFieldSignature buildFor(ASTFieldDeclaration node)
Builds a field signature from its AST node.- Parameters:
node
- The AST node of the field- Returns:
- The signature of the field
-
-