public final class Errors
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
Errors.Closure<T> |
static class |
Errors.ErrorMessage |
static class |
Errors.ErrorMessagesException |
Constructor and Description |
---|
Errors() |
Modifier and Type | Method and Description |
---|---|
static void |
abstractClass(java.lang.Class c) |
static void |
error(java.lang.String message) |
static void |
error(java.lang.String message,
boolean isFatal) |
static boolean |
getReportMissingDependentFieldOrMethod() |
static void |
innerClass(java.lang.Class c) |
static void |
interfaceClass(java.lang.Class c) |
static void |
mark() |
static void |
missingDependency(java.lang.reflect.Constructor ctor,
int i) |
static void |
missingDependency(java.lang.reflect.Field f) |
static void |
missingDependency(java.lang.reflect.Method m,
int i) |
static void |
nonPublicClass(java.lang.Class c) |
static void |
nonPublicConstructor(java.lang.Class c) |
int |
numberOfErrors() |
static <T> T |
processWithErrors(Errors.Closure<T> c) |
static void |
reset() |
static void |
setReportMissingDependentFieldOrMethod(boolean fieldReporting) |
static void |
unmark() |
public static <T> T processWithErrors(Errors.Closure<T> c)
public static void mark()
public static void unmark()
public static void reset()
public static void error(java.lang.String message)
public static void error(java.lang.String message, boolean isFatal)
public int numberOfErrors()
public static void innerClass(java.lang.Class c)
public static void nonPublicClass(java.lang.Class c)
public static void nonPublicConstructor(java.lang.Class c)
public static void abstractClass(java.lang.Class c)
public static void interfaceClass(java.lang.Class c)
public static void missingDependency(java.lang.reflect.Constructor ctor, int i)
public static void setReportMissingDependentFieldOrMethod(boolean fieldReporting)
public static boolean getReportMissingDependentFieldOrMethod()
public static void missingDependency(java.lang.reflect.Field f)
public static void missingDependency(java.lang.reflect.Method m, int i)
Copyright © 2016 Oracle Corporation. All Rights Reserved.