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, ornullif 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 GeneratedTypeReferenceof(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:TypeReferenceReturn the canonical name of this type reference.- Returns:
- the canonical name
-
getPackageName
Description copied from interface:TypeReferenceReturn the package name of this type.- Returns:
- the package name
-
getSimpleName
Description copied from interface:TypeReferenceReturn the simple name of this type reference.- Returns:
- the simple name
-
getEnclosingType
Description copied from interface:TypeReferenceReturn the enclosing type reference, ornullif this type reference does not have an enclosing type.- Returns:
- the enclosing type, if any
-