public class InternalFlags
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
InternalFlags.CustomClassLoadingOption
The options for Guice custom class loading.
|
static class |
InternalFlags.IncludeStackTraceOption
The options for Guice stack trace collection.
|
static class |
InternalFlags.NullableProvidesOption |
Modifier and Type | Field and Description |
---|---|
private static InternalFlags.CustomClassLoadingOption |
CUSTOM_CLASS_LOADING |
private static InternalFlags.IncludeStackTraceOption |
INCLUDE_STACK_TRACES |
private static java.util.logging.Logger |
logger |
private static InternalFlags.NullableProvidesOption |
NULLABLE_PROVIDES |
Constructor and Description |
---|
InternalFlags() |
Modifier and Type | Method and Description |
---|---|
static InternalFlags.CustomClassLoadingOption |
getCustomClassLoadingOption() |
static InternalFlags.IncludeStackTraceOption |
getIncludeStackTraceOption() |
static InternalFlags.NullableProvidesOption |
getNullableProvidesOption() |
private static <T extends java.lang.Enum<T>> |
getSystemOption(java.lang.String name,
T defaultValue)
Gets the system option indicated by the specified key; runs as a privileged action.
|
private static <T extends java.lang.Enum<T>> |
getSystemOption(java.lang.String name,
T defaultValue,
T secureValue)
Gets the system option indicated by the specified key; runs as a privileged action.
|
private static InternalFlags.CustomClassLoadingOption |
parseCustomClassLoadingOption() |
private static InternalFlags.IncludeStackTraceOption |
parseIncludeStackTraceOption() |
private static InternalFlags.NullableProvidesOption |
parseNullableProvidesOption(InternalFlags.NullableProvidesOption defaultValue) |
private static final java.util.logging.Logger logger
private static final InternalFlags.IncludeStackTraceOption INCLUDE_STACK_TRACES
private static final InternalFlags.CustomClassLoadingOption CUSTOM_CLASS_LOADING
private static final InternalFlags.NullableProvidesOption NULLABLE_PROVIDES
public static InternalFlags.IncludeStackTraceOption getIncludeStackTraceOption()
public static InternalFlags.CustomClassLoadingOption getCustomClassLoadingOption()
public static InternalFlags.NullableProvidesOption getNullableProvidesOption()
private static InternalFlags.IncludeStackTraceOption parseIncludeStackTraceOption()
private static InternalFlags.CustomClassLoadingOption parseCustomClassLoadingOption()
private static InternalFlags.NullableProvidesOption parseNullableProvidesOption(InternalFlags.NullableProvidesOption defaultValue)
private static <T extends java.lang.Enum<T>> T getSystemOption(java.lang.String name, T defaultValue)
name
- of the system optiondefaultValue
- if the option is not setprivate static <T extends java.lang.Enum<T>> T getSystemOption(java.lang.String name, T defaultValue, T secureValue)
name
- of the system optiondefaultValue
- if the option is not setsecureValue
- if the security manager disallows access to the option