Package crypto.analysis.errors
Class ForbiddenMethodError
- java.lang.Object
-
- crypto.analysis.errors.AbstractError
-
- crypto.analysis.errors.ForbiddenMethodError
-
public class ForbiddenMethodError extends AbstractError
-
-
Constructor Summary
Constructors Constructor Description ForbiddenMethodError(IAnalysisSeed seed, boomerang.scene.Statement errorLocation, CrySLRule rule, boomerang.scene.DeclaredMethod calledMethod)ForbiddenMethodError(IAnalysisSeed seed, boomerang.scene.Statement errorLocation, CrySLRule rule, boomerang.scene.DeclaredMethod calledMethod, Collection<CrySLMethod> alternatives)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Collection<CrySLMethod>getAlternatives()boomerang.scene.DeclaredMethodgetCalledMethod()inthashCode()StringtoErrorMarkerString()StringtoString()-
Methods inherited from class crypto.analysis.errors.AbstractError
addCausingError, addCausingError, addSubsequentError, formatMethodName, formatMethodNames, getErrorStatement, getLineNumber, getMethod, getObjectType, getRootErrors, getRule, getSeed, getSubsequentErrors
-
-
-
-
Constructor Detail
-
ForbiddenMethodError
public ForbiddenMethodError(IAnalysisSeed seed, boomerang.scene.Statement errorLocation, CrySLRule rule, boomerang.scene.DeclaredMethod calledMethod)
-
ForbiddenMethodError
public ForbiddenMethodError(IAnalysisSeed seed, boomerang.scene.Statement errorLocation, CrySLRule rule, boomerang.scene.DeclaredMethod calledMethod, Collection<CrySLMethod> alternatives)
-
-
Method Detail
-
getAlternatives
public Collection<CrySLMethod> getAlternatives()
-
getCalledMethod
public boomerang.scene.DeclaredMethod getCalledMethod()
-
toErrorMarkerString
public String toErrorMarkerString()
- Specified by:
toErrorMarkerStringin classAbstractError
-
hashCode
public int hashCode()
- Overrides:
hashCodein classAbstractError
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classAbstractError
-
toString
public String toString()
- Overrides:
toStringin classAbstractError
-
-