java.lang.Object
io.helidon.codegen.apt.AptTypeFactory
Deprecated, for removal: This API element is subject to removal in a future version.
this is intended for internal use. This will be a package private type in the future.
Factory for types.
-
Method Summary
Modifier and TypeMethodDescriptioncreateTypeName
(Element type) Deprecated, for removal: This API element is subject to removal in a future version.Creates a name from an element type during annotation processing.createTypeName
(TypeElement element, TypeMirror mirror) Deprecated, for removal: This API element is subject to removal in a future version.Create type from type mirror.createTypeName
(DeclaredType type) Deprecated, for removal: This API element is subject to removal in a future version.Creates a name from a declared type during annotation processing.createTypeName
(TypeMirror typeMirror) Deprecated, for removal: This API element is subject to removal in a future version.Create type from type mirror.
-
Method Details
-
createTypeName
Deprecated, for removal: This API element is subject to removal in a future version.Creates a name from a declared type during annotation processing.- Parameters:
type
- the element type- Returns:
- the associated type name instance
-
createTypeName
Deprecated, for removal: This API element is subject to removal in a future version.Create type from type mirror.- Parameters:
typeMirror
- annotation processing type mirror- Returns:
- type name
- Throws:
IllegalArgumentException
- when the mirror cannot be resolved into a name (such as when it represents none or error)
-
createTypeName
Deprecated, for removal: This API element is subject to removal in a future version.Create type from type mirror. The element is needed to correctly map type arguments to type parameters.- Parameters:
element
- the type element of the type mirrormirror
- the type mirror as declared in source code- Returns:
- type for the provided values
-
createTypeName
Deprecated, for removal: This API element is subject to removal in a future version.Creates a name from an element type during annotation processing.- Parameters:
type
- the element type- Returns:
- the associated type name instance
-