Package org.springframework.aot.generate
Class GeneratedClass
java.lang.Object
org.springframework.aot.generate.GeneratedClass
A single generated class.
- Since:
- 6.0
- Author:
- Phillip Webb, Stephane Nicoll
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturn generated methods for this instance.org.springframework.javapoet.ClassName
getName()
Return the name of the generated class.void
reserveMethodNames
(String... reservedMethodNames) Update this instance with a set of reserved method names that should not be used for generated methods.
-
Method Details
-
reserveMethodNames
Update this instance with a set of reserved method names that should not be used for generated methods. Reserved names are often needed when a generated class implements a specific interface.- Parameters:
reservedMethodNames
- the reserved method names
-
getName
public org.springframework.javapoet.ClassName getName()Return the name of the generated class.- Returns:
- the name of the generated class
-
getMethods
Return generated methods for this instance.- Returns:
- the generated methods
-