Package edu.umd.cs.findbugs.ba
Class MethodUnprofitableException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- edu.umd.cs.findbugs.classfile.CheckedAnalysisException
-
- edu.umd.cs.findbugs.ba.CFGBuilderException
-
- edu.umd.cs.findbugs.ba.MethodUnprofitableException
-
- All Implemented Interfaces:
java.io.Serializable
public class MethodUnprofitableException extends CFGBuilderException
Used to signal a method not analyzed because it seemed unprofitable to do so- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private XMethod
method
private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description MethodUnprofitableException(JavaClassAndMethod method)
Constructor.MethodUnprofitableException(MethodDescriptor methodDescriptor)
Constructor.MethodUnprofitableException(org.apache.bcel.classfile.JavaClass jClass, org.apache.bcel.classfile.Method method)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description XMethod
getMethod()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
method
private final XMethod method
-
-
Constructor Detail
-
MethodUnprofitableException
public MethodUnprofitableException(JavaClassAndMethod method)
Constructor.- Parameters:
method
- the method that is unprofitable to analyze
-
MethodUnprofitableException
public MethodUnprofitableException(org.apache.bcel.classfile.JavaClass jClass, org.apache.bcel.classfile.Method method)
Constructor.- Parameters:
jClass
- the class containing the method that is unprofitable to analyzemethod
- the method that is unprofitable to analyze
-
MethodUnprofitableException
public MethodUnprofitableException(MethodDescriptor methodDescriptor)
Constructor.- Parameters:
methodDescriptor
- the MethodDescriptor indicating the method it is unprofitable to analyze
-
-
Method Detail
-
getMethod
public XMethod getMethod()
- Returns:
- the method that is unprofitable to analyze
-
-