public class GraphBuilderConfiguration extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GraphBuilderConfiguration.DebugInfoMode |
static class |
GraphBuilderConfiguration.Plugins |
Modifier and Type | Field and Description |
---|---|
private boolean |
clearNonLiveLocals |
private GraphBuilderConfiguration.DebugInfoMode |
debugInfoMode |
private boolean |
eagerResolving |
private static ResolvedJavaType[] |
EMPTY |
private boolean |
omitAllExceptionEdges |
private boolean |
omitAssertions |
private GraphBuilderConfiguration.Plugins |
plugins |
private ResolvedJavaType[] |
skippedExceptionTypes |
private boolean |
useProfiling |
Modifier | Constructor and Description |
---|---|
protected |
GraphBuilderConfiguration(boolean eagerResolving,
boolean omitAllExceptionEdges,
boolean omitAssertions,
GraphBuilderConfiguration.DebugInfoMode debugInfoMode,
ResolvedJavaType[] skippedExceptionTypes,
boolean clearNonLiveLocals,
GraphBuilderConfiguration.Plugins plugins) |
private static final ResolvedJavaType[] EMPTY
private final boolean eagerResolving
private final boolean omitAllExceptionEdges
private final boolean omitAssertions
private final ResolvedJavaType[] skippedExceptionTypes
private final GraphBuilderConfiguration.DebugInfoMode debugInfoMode
private final boolean clearNonLiveLocals
private boolean useProfiling
private final GraphBuilderConfiguration.Plugins plugins
protected GraphBuilderConfiguration(boolean eagerResolving, boolean omitAllExceptionEdges, boolean omitAssertions, GraphBuilderConfiguration.DebugInfoMode debugInfoMode, ResolvedJavaType[] skippedExceptionTypes, boolean clearNonLiveLocals, GraphBuilderConfiguration.Plugins plugins)
public GraphBuilderConfiguration copy()
InvocationPlugins
in
this configuration become the parent of the
InvocationPlugins
in the copy.public boolean getUseProfiling()
public void setUseProfiling(boolean b)
public GraphBuilderConfiguration withEagerResolving(boolean newEagerResolving)
public GraphBuilderConfiguration withSkippedExceptionTypes(ResolvedJavaType[] newSkippedExceptionTypes)
public GraphBuilderConfiguration withOmitAllExceptionEdges(boolean newOmitAllExceptionEdges)
public GraphBuilderConfiguration withOmitAssertions(boolean newOmitAssertions)
public GraphBuilderConfiguration withDebugInfoMode(GraphBuilderConfiguration.DebugInfoMode newDebugInfoMode)
public GraphBuilderConfiguration withClearNonLiveLocals(boolean newClearNonLiveLocals)
public ResolvedJavaType[] getSkippedExceptionTypes()
public boolean eagerResolving()
public boolean omitAllExceptionEdges()
public boolean omitAssertions()
public boolean insertNonSafepointDebugInfo()
public boolean insertFullDebugInfo()
public boolean insertSimpleDebugInfo()
public boolean clearNonLiveLocals()
public static GraphBuilderConfiguration getDefault(GraphBuilderConfiguration.Plugins plugins)
public static GraphBuilderConfiguration getInfopointDefault(GraphBuilderConfiguration.Plugins plugins)
public static GraphBuilderConfiguration getEagerDefault(GraphBuilderConfiguration.Plugins plugins)
public static GraphBuilderConfiguration getInfopointEagerDefault(GraphBuilderConfiguration.Plugins plugins)
public static GraphBuilderConfiguration getSnippetDefault(GraphBuilderConfiguration.Plugins plugins)
public static GraphBuilderConfiguration getFullDebugDefault(GraphBuilderConfiguration.Plugins plugins)
public boolean unresolvedIsError()
true
if it is an error for a class/field/method resolution to fail. The
default is the same result as returned by eagerResolving()
. However, it may be
overridden to allow failure even when eagerResolving
is true
.public GraphBuilderConfiguration.Plugins getPlugins()