public class ReflectionDataBuilder extends Object implements org.graalvm.nativeimage.impl.RuntimeReflectionSupport
Modifier and Type | Field and Description |
---|---|
static Class<?>[] |
EMPTY_CLASSES |
static Constructor<?>[] |
EMPTY_CONSTRUCTORS |
static Field[] |
EMPTY_FIELDS |
static Method[] |
EMPTY_METHODS |
Constructor and Description |
---|
ReflectionDataBuilder(FeatureImpl.DuringSetupAccessImpl access) |
Modifier and Type | Method and Description |
---|---|
protected void |
afterAnalysis() |
protected void |
duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess a) |
void |
register(boolean finalIsWritable,
boolean allowUnsafeAccess,
Field... fields) |
void |
register(Class<?>... classes) |
void |
register(Executable... methods) |
public static final Field[] EMPTY_FIELDS
public static final Method[] EMPTY_METHODS
public static final Constructor<?>[] EMPTY_CONSTRUCTORS
public static final Class<?>[] EMPTY_CLASSES
public ReflectionDataBuilder(FeatureImpl.DuringSetupAccessImpl access)
public void register(Class<?>... classes)
register
in interface org.graalvm.nativeimage.impl.ReflectionRegistry
public void register(Executable... methods)
register
in interface org.graalvm.nativeimage.impl.ReflectionRegistry
public void register(boolean finalIsWritable, boolean allowUnsafeAccess, Field... fields)
register
in interface org.graalvm.nativeimage.impl.ReflectionRegistry
protected void duringAnalysis(org.graalvm.nativeimage.hosted.Feature.DuringAnalysisAccess a)
protected void afterAnalysis()