Uses of Class
org.springframework.aot.generate.GeneratedClass
Packages that use GeneratedClass
Package
Description
Support classes for components that contribute generated code equivalent to a
runtime behavior.
-
Uses of GeneratedClass in org.springframework.aot.generate
Methods in org.springframework.aot.generate that return GeneratedClassModifier and TypeMethodDescriptionGeneratedClasses.addForFeature(String featureName, Consumer<org.springframework.javapoet.TypeSpec.Builder> type) Add a new generated class for the specifiedfeatureNameand no particular component.GeneratedClasses.addForFeatureComponent(String featureName, Class<?> targetComponent, Consumer<org.springframework.javapoet.TypeSpec.Builder> type) Add a new generated class for the specifiedfeatureNametargeting 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 specifiedfeatureNametargeting the specifiedcomponent.GeneratedClass.getEnclosingClass()Return the enclosingGeneratedClassornullif 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 specifiedfeatureNameand no particular component.GeneratedClasses.getOrAddForFeatureComponent(String featureName, Class<?> targetComponent, Consumer<org.springframework.javapoet.TypeSpec.Builder> type) Get or add a generated class for the specifiedfeatureNametargeting 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 specifiedfeatureNametargeting the specifiedcomponent.