Class MutableClasses
java.lang.Object
edu.umd.cs.findbugs.util.MutableClasses
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisConstructorLikeMethod(String methodName) Check if the method name looks like a constructorstatic booleanlooksLikeASetter(XClass xClass, XMethod xmethod) static booleanlooksLikeASetter(String methodName) Check if the method name looks like a setterstatic booleanlooksLikeASetter(String classSig, XMethod xmethod) static booleanlooksLikeASetter(String methodName, String classSig, String retSig) Check if the method name looks like a setterstatic booleanlooksLikeASetter(String classSig, String clsName, org.apache.bcel.classfile.Method method) static booleanmutableSignature(String sig)
-
Constructor Details
-
MutableClasses
public MutableClasses()
-
-
Method Details
-
mutableSignature
-
isConstructorLikeMethod
Check if the method name looks like a constructor- Parameters:
methodName- the method name- Returns:
- true if the method name looks like a constructor
-
looksLikeASetter
-
looksLikeASetter
Check if the method name looks like a setter- Parameters:
methodName- the method name- Returns:
- true if the method name looks like a setter
-
looksLikeASetter
-
looksLikeASetter
-
looksLikeASetter
-