Class DefaultNativeReflectionEntry.Builder
- java.lang.Object
-
- org.springframework.aot.context.bootstrap.generator.infrastructure.nativex.NativeReflectionEntry.Builder<DefaultNativeReflectionEntry.Builder,DefaultNativeReflectionEntry>
-
- org.springframework.aot.context.bootstrap.generator.infrastructure.nativex.DefaultNativeReflectionEntry.Builder
-
- Enclosing class:
- DefaultNativeReflectionEntry
public static class DefaultNativeReflectionEntry.Builder extends NativeReflectionEntry.Builder<DefaultNativeReflectionEntry.Builder,DefaultNativeReflectionEntry>
-
-
Field Summary
-
Fields inherited from class org.springframework.aot.context.bootstrap.generator.infrastructure.nativex.NativeReflectionEntry.Builder
conditionalOnTypeReachable
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultNativeReflectionEntrybuild()Create aDefaultNativeReflectionEntryfrom the state of this builderDefaultNativeReflectionEntry.BuilderconditionalOnTypeReachable(Class<?> conditionalOnTypeReachable)Makes this entry conditional to provided type.DefaultNativeReflectionEntry.BuilderwithExecutables(Executable... executables)Add the specifiedmethods or constructors.DefaultNativeReflectionEntry.BuilderwithField(Field field, DefaultNativeReflectionEntry.FieldAccess... access)DefaultNativeReflectionEntry.BuilderwithFields(Field... fields)Add the specifiedfields.DefaultNativeReflectionEntry.BuilderwithQueriedExecutables(Executable... executables)Add the specifiedmethods or constructorsfor metadata query access only.-
Methods inherited from class org.springframework.aot.context.bootstrap.generator.infrastructure.nativex.NativeReflectionEntry.Builder
self, withAccess
-
-
-
-
Method Detail
-
conditionalOnTypeReachable
public DefaultNativeReflectionEntry.Builder conditionalOnTypeReachable(Class<?> conditionalOnTypeReachable)
Makes this entry conditional to provided type.- Parameters:
conditionalOnTypeReachable- The type which should make this entry taken in account.- Returns:
- this for method chaining
-
withExecutables
public DefaultNativeReflectionEntry.Builder withExecutables(Executable... executables)
Add the specifiedmethods or constructors.- Parameters:
executables- the executables to add- Returns:
- this for method chaining
-
withQueriedExecutables
public DefaultNativeReflectionEntry.Builder withQueriedExecutables(Executable... executables)
Add the specifiedmethods or constructorsfor metadata query access only.- Parameters:
executables- the executables to add- Returns:
- this for method chaining
-
withFields
public DefaultNativeReflectionEntry.Builder withFields(Field... fields)
Add the specifiedfields.- Parameters:
fields- the fields to add- Returns:
- this for method chaining
-
withField
public DefaultNativeReflectionEntry.Builder withField(Field field, DefaultNativeReflectionEntry.FieldAccess... access)
-
build
public DefaultNativeReflectionEntry build()
Create aDefaultNativeReflectionEntryfrom the state of this builder- Returns:
- a new entry
-
-