Class GeneratedTypeReference
java.lang.Object
org.springframework.aot.hint.AbstractTypeReference
org.springframework.aot.generator.GeneratedTypeReference
- All Implemented Interfaces:
TypeReference
A
TypeReference
for a generated type.- Since:
- 6.0
- Author:
- Stephane Nicoll
-
Method Summary
Modifier and TypeMethodDescriptionReturn the canonical name of this type reference.Return the enclosing type reference, ornull
if this type reference does not have an enclosing type.Return the package name of this type.Return the simple name of this type reference.static GeneratedTypeReference
of
(org.springframework.javapoet.ClassName className) Methods inherited from class org.springframework.aot.hint.AbstractTypeReference
equals, hashCode, toString
-
Method Details
-
of
-
getCanonicalName
Description copied from interface:TypeReference
Return the canonical name of this type reference.- Returns:
- the canonical name
-
getPackageName
Description copied from interface:TypeReference
Return the package name of this type.- Returns:
- the package name
-
getSimpleName
Description copied from interface:TypeReference
Return the simple name of this type reference.- Returns:
- the simple name
-
getEnclosingType
Description copied from interface:TypeReference
Return the enclosing type reference, ornull
if this type reference does not have an enclosing type.- Returns:
- the enclosing type, if any
-