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
ANativeReflectionEntry
that uses standard reflection.- Author:
- Brian Clozel, Stephane Nicoll, Sebastien Deleuze
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultNativeReflectionEntry.Builder
static class
DefaultNativeReflectionEntry.FieldAccess
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<java.lang.reflect.Constructor<?>>
getConstructors()
Return theconstructor
.java.util.Set<java.lang.reflect.Field>
getFields()
Return thefields
.java.util.Set<java.lang.reflect.Method>
getMethods()
Return themethods
.java.lang.Class<?>
getType()
Return the type to consider.protected org.springframework.nativex.domain.reflect.ClassDescriptor
initializerClassDescriptor()
static DefaultNativeReflectionEntry.Builder
of(java.lang.Class<?> type)
Create a newDefaultNativeReflectionEntry.Builder
for the specified type.java.lang.String
toString()
-
Methods inherited from class org.springframework.aot.context.bootstrap.generator.infrastructure.nativex.NativeReflectionEntry
getAccess, registerIfNecessary, toClassDescriptor
-
-
-
-
Method Detail
-
of
public static DefaultNativeReflectionEntry.Builder of(java.lang.Class<?> type)
Create a newDefaultNativeReflectionEntry.Builder
for the specified type.- Parameters:
type
- the type to consider- Returns:
- a new builder
-
getType
public java.lang.Class<?> getType()
Return the type to consider.- Returns:
- the type to consider
-
getConstructors
public java.util.Set<java.lang.reflect.Constructor<?>> getConstructors()
Return theconstructor
.- Returns:
- the constructors
-
getMethods
public java.util.Set<java.lang.reflect.Method> getMethods()
Return themethods
.- Returns:
- the methods
-
getFields
public java.util.Set<java.lang.reflect.Field> getFields()
Return thefields
.- Returns:
- the fields
-
initializerClassDescriptor
protected org.springframework.nativex.domain.reflect.ClassDescriptor initializerClassDescriptor()
- Specified by:
initializerClassDescriptor
in classNativeReflectionEntry
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-