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 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.ClassDescriptorinitializerClassDescriptor()static DefaultNativeReflectionEntry.Builderof(java.lang.Class<?> type)Create a newDefaultNativeReflectionEntry.Builderfor the specified type.java.lang.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(java.lang.Class<?> type)
Create a newDefaultNativeReflectionEntry.Builderfor 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:
initializerClassDescriptorin classNativeReflectionEntry
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-