public class ReflectionRegistryAdapter extends Object implements ReflectionConfigurationParserDelegate<Class<?>>
Constructor and Description |
---|
ReflectionRegistryAdapter(org.graalvm.nativeimage.impl.ReflectionRegistry registry,
ImageClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
String |
getSimpleName(Class<?> type) |
String |
getTypeName(Class<?> type) |
boolean |
registerAllConstructors(Class<?> clazz) |
boolean |
registerAllMethodsWithName(Class<?> type,
String methodName) |
void |
registerConstructor(Class<?> clazz,
List<Class<?>> methodParameterTypes) |
void |
registerDeclaredClasses(Class<?> type) |
void |
registerDeclaredConstructors(Class<?> type) |
void |
registerDeclaredFields(Class<?> type) |
void |
registerDeclaredMethods(Class<?> type) |
void |
registerField(Class<?> type,
String fieldName,
boolean allowWrite,
boolean allowUnsafeAccess) |
void |
registerMethod(Class<?> type,
String methodName,
List<Class<?>> methodParameterTypes) |
void |
registerPublicClasses(Class<?> type) |
void |
registerPublicConstructors(Class<?> type) |
void |
registerPublicFields(Class<?> type) |
void |
registerPublicMethods(Class<?> type) |
void |
registerType(Class<?> type) |
Class<?> |
resolveType(String typeName) |
public ReflectionRegistryAdapter(org.graalvm.nativeimage.impl.ReflectionRegistry registry, ImageClassLoader classLoader)
public void registerType(Class<?> type)
registerType
in interface ReflectionConfigurationParserDelegate<Class<?>>
public Class<?> resolveType(String typeName)
resolveType
in interface ReflectionConfigurationParserDelegate<Class<?>>
public void registerPublicClasses(Class<?> type)
registerPublicClasses
in interface ReflectionConfigurationParserDelegate<Class<?>>
public void registerDeclaredClasses(Class<?> type)
registerDeclaredClasses
in interface ReflectionConfigurationParserDelegate<Class<?>>
public void registerPublicFields(Class<?> type)
registerPublicFields
in interface ReflectionConfigurationParserDelegate<Class<?>>
public void registerDeclaredFields(Class<?> type)
registerDeclaredFields
in interface ReflectionConfigurationParserDelegate<Class<?>>
public void registerPublicMethods(Class<?> type)
registerPublicMethods
in interface ReflectionConfigurationParserDelegate<Class<?>>
public void registerDeclaredMethods(Class<?> type)
registerDeclaredMethods
in interface ReflectionConfigurationParserDelegate<Class<?>>
public void registerPublicConstructors(Class<?> type)
registerPublicConstructors
in interface ReflectionConfigurationParserDelegate<Class<?>>
public void registerDeclaredConstructors(Class<?> type)
registerDeclaredConstructors
in interface ReflectionConfigurationParserDelegate<Class<?>>
public void registerField(Class<?> type, String fieldName, boolean allowWrite, boolean allowUnsafeAccess) throws NoSuchFieldException
registerField
in interface ReflectionConfigurationParserDelegate<Class<?>>
NoSuchFieldException
public boolean registerAllMethodsWithName(Class<?> type, String methodName)
registerAllMethodsWithName
in interface ReflectionConfigurationParserDelegate<Class<?>>
public boolean registerAllConstructors(Class<?> clazz)
registerAllConstructors
in interface ReflectionConfigurationParserDelegate<Class<?>>
public void registerMethod(Class<?> type, String methodName, List<Class<?>> methodParameterTypes) throws NoSuchMethodException
registerMethod
in interface ReflectionConfigurationParserDelegate<Class<?>>
NoSuchMethodException
public void registerConstructor(Class<?> clazz, List<Class<?>> methodParameterTypes) throws NoSuchMethodException
registerConstructor
in interface ReflectionConfigurationParserDelegate<Class<?>>
NoSuchMethodException
public String getTypeName(Class<?> type)
getTypeName
in interface ReflectionConfigurationParserDelegate<Class<?>>
public String getSimpleName(Class<?> type)
getSimpleName
in interface ReflectionConfigurationParserDelegate<Class<?>>