Class NativeReflectionEntry
- java.lang.Object
-
- org.springframework.aot.context.bootstrap.generator.infrastructure.nativex.NativeReflectionEntry
-
- Direct Known Subclasses:
DefaultNativeReflectionEntry,GeneratedCodeNativeReflectionEntry
public abstract class NativeReflectionEntry extends Object
Describe the need for reflection for a particular type.- Author:
- Brian Clozel, Stephane Nicoll, Sebastien Deleuze
- See Also:
- GraalVM native image reflection documentation,
DefaultNativeReflectionEntry,GeneratedCodeNativeReflectionEntry
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNativeReflectionEntry.Builder<B extends NativeReflectionEntry.Builder<B,T>,T extends NativeReflectionEntry>
-
Constructor Summary
Constructors Modifier Constructor Description protectedNativeReflectionEntry(NativeReflectionEntry.Builder<?,?> builder)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Set<TypeAccess>getAccess()Return theaccessto set.protected abstract org.springframework.nativex.domain.reflect.ClassDescriptorinitializerClassDescriptor()protected <T> voidregisterIfNecessary(Iterable<T> members, TypeAccess allAccess, TypeAccess publicAccess, Predicate<T> isPublicMember, Consumer<T> memberConsumer)org.springframework.nativex.domain.reflect.ClassDescriptortoClassDescriptor()Create aClassDescriptorfrom this entry.
-
-
-
Constructor Detail
-
NativeReflectionEntry
protected NativeReflectionEntry(NativeReflectionEntry.Builder<?,?> builder)
-
-
Method Detail
-
getAccess
public Set<TypeAccess> getAccess()
Return theaccessto set.- Returns:
- the access to set
-
toClassDescriptor
public org.springframework.nativex.domain.reflect.ClassDescriptor toClassDescriptor()
Create aClassDescriptorfrom this entry.- Returns:
- a class descriptor describing this entry
-
initializerClassDescriptor
protected abstract org.springframework.nativex.domain.reflect.ClassDescriptor initializerClassDescriptor()
-
registerIfNecessary
protected <T> void registerIfNecessary(Iterable<T> members, TypeAccess allAccess, TypeAccess publicAccess, Predicate<T> isPublicMember, Consumer<T> memberConsumer)
-
-