public class AnalysisError extends Error
| Modifier and Type | Class and Description |
|---|---|
static class |
AnalysisError.FieldNotPresentError |
static class |
AnalysisError.InterruptAnalysis |
static class |
AnalysisError.ParsingError
Thrown when the analysis parsing encounters an error.
|
static class |
AnalysisError.TypeNotFoundError
Thrown when the analysis is sealed if a type that was not discovered during the analysis is
requested.
|
static class |
AnalysisError.UserError
Thrown when the analysis is misused.
|
| Modifier and Type | Method and Description |
|---|---|
static AnalysisError.FieldNotPresentError |
fieldNotPresentError(PointsToAnalysis bb,
TypeFlow<?> objectFlow,
BytecodePosition context,
AnalysisField field,
AnalysisType type) |
static void |
guarantee(boolean condition) |
static void |
guarantee(boolean condition,
String format,
Object... args) |
static RuntimeException |
interruptAnalysis(String msg) |
static AnalysisError.ParsingError |
parsingError(AnalysisMethod method,
Throwable original) |
static RuntimeException |
shouldNotReachHere(String msg) |
static RuntimeException |
shouldNotReachHere(String msg,
Throwable cause) |
static RuntimeException |
shouldNotReachHere(Throwable cause) |
static RuntimeException |
shouldNotReachHereUnexpectedInput(Object input) |
static AnalysisError.TypeNotFoundError |
typeNotFound(ResolvedJavaType type) |
static AnalysisError.UserError |
userError(String message) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static AnalysisError.TypeNotFoundError typeNotFound(ResolvedJavaType type)
public static AnalysisError.ParsingError parsingError(AnalysisMethod method, Throwable original)
public static AnalysisError.UserError userError(String message)
public static AnalysisError.FieldNotPresentError fieldNotPresentError(PointsToAnalysis bb, TypeFlow<?> objectFlow, BytecodePosition context, AnalysisField field, AnalysisType type)
public static RuntimeException shouldNotReachHereUnexpectedInput(Object input)
public static RuntimeException shouldNotReachHere(String msg)
public static RuntimeException shouldNotReachHere(Throwable cause)
public static RuntimeException shouldNotReachHere(String msg, Throwable cause)
public static void guarantee(boolean condition)
public static RuntimeException interruptAnalysis(String msg)