Package edu.umd.cs.findbugs.filter
Class SignatureUtil
java.lang.Object
edu.umd.cs.findbugs.filter.SignatureUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic String
createFieldSignature
(String type) static String
createMethodSignature
(String params, String returns) private static String
scalarTypeToSignature
(String type) private static String
typeToSignature
(String type, boolean regex)
-
Constructor Details
-
SignatureUtil
public SignatureUtil()
-
-
Method Details
-
createMethodSignature
- Parameters:
params
- The parameters for this method signature, or null, for instanceint, long
returns
- The return for this method signature, or null, for instancedouble
- Returns:
- The method signature or (in case either
params
orreturns
are null) a regex pattern matching the signatures. When a regex is returned the first character will be '~'.
-
createFieldSignature
-
typeToSignature
-
scalarTypeToSignature
-