Uses of Class
org.springframework.aot.generate.GeneratedClass
Package
Description
Support classes for components that contribute generated code equivalent to a
runtime behavior.
-
Uses of GeneratedClass in org.springframework.aot.generate
Modifier and TypeMethodDescriptionGeneratedClasses.addForFeature
(String featureName, Consumer<org.springframework.javapoet.TypeSpec.Builder> type) Add a new generated class for the specifiedfeatureName
and no particular component.GeneratedClasses.addForFeatureComponent
(String featureName, Class<?> targetComponent, Consumer<org.springframework.javapoet.TypeSpec.Builder> type) Add a new generated class for the specifiedfeatureName
targeting the specifiedcomponent
.GeneratedClasses.addForFeatureComponent
(String featureName, org.springframework.javapoet.ClassName targetComponent, Consumer<org.springframework.javapoet.TypeSpec.Builder> type) Add a new generated class for the specifiedfeatureName
targeting the specifiedcomponent
.GeneratedClass.getEnclosingClass()
Return the enclosingGeneratedClass
ornull
if this instance represents a top-level class.Get or add a nested generated class with the specified name.GeneratedClasses.getOrAddForFeature
(String featureName, Consumer<org.springframework.javapoet.TypeSpec.Builder> type) Get or add a generated class for the specifiedfeatureName
and no particular component.GeneratedClasses.getOrAddForFeatureComponent
(String featureName, Class<?> targetComponent, Consumer<org.springframework.javapoet.TypeSpec.Builder> type) Get or add a generated class for the specifiedfeatureName
targeting the specifiedcomponent
.GeneratedClasses.getOrAddForFeatureComponent
(String featureName, org.springframework.javapoet.ClassName targetComponent, Consumer<org.springframework.javapoet.TypeSpec.Builder> type) Get or add a generated class for the specifiedfeatureName
targeting the specifiedcomponent
.