Package edu.umd.cs.findbugs.ba
Class AnalysisContext.DelegatingRepositoryLookupFailureCallback
- java.lang.Object
-
- edu.umd.cs.findbugs.ba.AnalysisContext.DelegatingRepositoryLookupFailureCallback
-
- All Implemented Interfaces:
RepositoryLookupFailureCallback
,IErrorLogger
- Enclosing class:
- AnalysisContext
static class AnalysisContext.DelegatingRepositoryLookupFailureCallback extends java.lang.Object implements RepositoryLookupFailureCallback
-
-
Constructor Summary
Constructors Constructor Description DelegatingRepositoryLookupFailureCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
logError(java.lang.String message)
Log an error that occurs while performing analysis.void
logError(java.lang.String message, java.lang.Throwable e)
Log an error that occurs while performing analysis.void
reportMissingClass(ClassDescriptor classDescriptor)
Called to report a class lookup failure.void
reportMissingClass(java.lang.ClassNotFoundException ex)
Called to report a class lookup failure.void
reportSkippedAnalysis(MethodDescriptor method)
Report that we skipped some analysis of a method
-
-
-
Method Detail
-
logError
public void logError(java.lang.String message)
Description copied from interface:IErrorLogger
Log an error that occurs while performing analysis.- Specified by:
logError
in interfaceIErrorLogger
- Parameters:
message
- the error message
-
logError
public void logError(java.lang.String message, java.lang.Throwable e)
Description copied from interface:IErrorLogger
Log an error that occurs while performing analysis.- Specified by:
logError
in interfaceIErrorLogger
- Parameters:
message
- the error messagee
- the exception which is the underlying cause of the error
-
reportMissingClass
public void reportMissingClass(java.lang.ClassNotFoundException ex)
Description copied from interface:IErrorLogger
Called to report a class lookup failure.- Specified by:
reportMissingClass
in interfaceIErrorLogger
- Parameters:
ex
- a ClassNotFoundException resulting from the class lookup failure
-
reportMissingClass
public void reportMissingClass(ClassDescriptor classDescriptor)
Description copied from interface:IErrorLogger
Called to report a class lookup failure.- Specified by:
reportMissingClass
in interfaceIErrorLogger
- Parameters:
classDescriptor
- ClassDescriptor of a missing class
-
reportSkippedAnalysis
public void reportSkippedAnalysis(MethodDescriptor method)
Description copied from interface:IErrorLogger
Report that we skipped some analysis of a method- Specified by:
reportSkippedAnalysis
in interfaceIErrorLogger
- Parameters:
method
- the method we skipped
-
-