Class JavaOperationSignature
- java.lang.Object
-
- net.sourceforge.pmd.lang.java.multifile.signature.JavaSignature<ASTMethodOrConstructorDeclaration>
-
- net.sourceforge.pmd.lang.java.multifile.signature.JavaOperationSignature
-
- All Implemented Interfaces:
net.sourceforge.pmd.lang.metrics.Signature<ASTMethodOrConstructorDeclaration>
public final class JavaOperationSignature extends JavaSignature<ASTMethodOrConstructorDeclaration>
Signature for an operation.- Author:
- Clément Fournier
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JavaOperationSignature.Role
Role of an operation.-
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
isAbstract
JavaOperationSignature.Role
role
-
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 JavaOperationSignature
buildFor(ASTMethodOrConstructorDeclaration node)
Builds an operation signature from a method or constructor declaration.boolean
equals(Object o)
int
hashCode()
String
toString()
-
-
-
Field Detail
-
role
public final JavaOperationSignature.Role role
-
isAbstract
public final boolean isAbstract
-
-
Method Detail
-
buildFor
public static JavaOperationSignature buildFor(ASTMethodOrConstructorDeclaration node)
Builds an operation signature from a method or constructor declaration.- Parameters:
node
- The node- Returns:
- The signature of the parameter
-
-