Class DefaultNativeReflectionEntry
- java.lang.Object
-
- org.springframework.aot.context.bootstrap.generator.infrastructure.nativex.NativeReflectionEntry
-
- org.springframework.aot.context.bootstrap.generator.infrastructure.nativex.DefaultNativeReflectionEntry
-
public class DefaultNativeReflectionEntry extends NativeReflectionEntry
ANativeReflectionEntrythat uses standard reflection.- Author:
- Brian Clozel, Stephane Nicoll, Sebastien Deleuze
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultNativeReflectionEntry.Builderstatic classDefaultNativeReflectionEntry.FieldAccess
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<Constructor<?>>getConstructors()Return theconstructor.Set<Field>getFields()Return thefields.Set<Method>getMethods()Return themethods.Class<?>getType()Return the type to consider.protected org.springframework.nativex.domain.reflect.ClassDescriptorinitializerClassDescriptor()static DefaultNativeReflectionEntry.Builderof(Class<?> type)Create a newDefaultNativeReflectionEntry.Builderfor the specified type.StringtoString()-
Methods inherited from class org.springframework.aot.context.bootstrap.generator.infrastructure.nativex.NativeReflectionEntry
getAccess, registerIfNecessary, toClassDescriptor
-
-
-
-
Method Detail
-
of
public static DefaultNativeReflectionEntry.Builder of(Class<?> type)
Create a newDefaultNativeReflectionEntry.Builderfor the specified type.- Parameters:
type- the type to consider- Returns:
- a new builder
-
getType
public Class<?> getType()
Return the type to consider.- Returns:
- the type to consider
-
getConstructors
public Set<Constructor<?>> getConstructors()
Return theconstructor.- Returns:
- the constructors
-
initializerClassDescriptor
protected org.springframework.nativex.domain.reflect.ClassDescriptor initializerClassDescriptor()
- Specified by:
initializerClassDescriptorin classNativeReflectionEntry
-
-