Class GeneratedCodeNativeReflectionEntry.Builder
- java.lang.Object
-
- org.springframework.aot.context.bootstrap.generator.infrastructure.nativex.NativeReflectionEntry.Builder<GeneratedCodeNativeReflectionEntry.Builder,GeneratedCodeNativeReflectionEntry>
-
- org.springframework.aot.context.bootstrap.generator.infrastructure.nativex.GeneratedCodeNativeReflectionEntry.Builder
-
- Enclosing class:
- GeneratedCodeNativeReflectionEntry
public static class GeneratedCodeNativeReflectionEntry.Builder extends NativeReflectionEntry.Builder<GeneratedCodeNativeReflectionEntry.Builder,GeneratedCodeNativeReflectionEntry>
-
-
Field Summary
-
Fields inherited from class org.springframework.aot.context.bootstrap.generator.infrastructure.nativex.NativeReflectionEntry.Builder
conditionalOnTypeReachable
-
-
Constructor Summary
Constructors Constructor Description Builder(com.squareup.javapoet.ClassName type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GeneratedCodeNativeReflectionEntry.Builder
conditionalOnTypeReachable(com.squareup.javapoet.ClassName conditionalOnTypeReachable)
Makes this entry conditional to the provided type.GeneratedCodeNativeReflectionEntry.Builder
withFields(com.squareup.javapoet.FieldSpec... fields)
Add the specifiedfields
.GeneratedCodeNativeReflectionEntry.Builder
withMethods(com.squareup.javapoet.MethodSpec... methods)
Add the specifiedmethods or constructors
.GeneratedCodeNativeReflectionEntry.Builder
withQueriedMethods(com.squareup.javapoet.MethodSpec... methods)
Add the specifiedmethods or constructors
.-
Methods inherited from class org.springframework.aot.context.bootstrap.generator.infrastructure.nativex.NativeReflectionEntry.Builder
self, withAccess
-
-
-
-
Method Detail
-
conditionalOnTypeReachable
public GeneratedCodeNativeReflectionEntry.Builder conditionalOnTypeReachable(com.squareup.javapoet.ClassName conditionalOnTypeReachable)
Makes this entry conditional to the provided type.- Parameters:
conditionalOnTypeReachable
- the type which should make this entry taken into account.- Returns:
- this for method chaining
-
withMethods
public GeneratedCodeNativeReflectionEntry.Builder withMethods(com.squareup.javapoet.MethodSpec... methods)
Add the specifiedmethods or constructors
.- Parameters:
methods
- the method specs to add- Returns:
- this for method chaining
-
withQueriedMethods
public GeneratedCodeNativeReflectionEntry.Builder withQueriedMethods(com.squareup.javapoet.MethodSpec... methods)
Add the specifiedmethods or constructors
.- Parameters:
methods
- the method specs to add- Returns:
- this for method chaining
-
withFields
public GeneratedCodeNativeReflectionEntry.Builder withFields(com.squareup.javapoet.FieldSpec... fields)
Add the specifiedfields
.- Parameters:
fields
- the field specs to add- Returns:
- this for method chaining
-
-