public interface TypeMapper
-
Method Summary
Modifier and TypeMethodDescriptionmap
(CodegenContext ctx, TypeInfo typeInfo) Map the original type to a different type, or remove it from processing.boolean
supportsType
(TypeInfo type) Check if the type is supported.
-
Method Details
-
supportsType
Check if the type is supported.- Parameters:
type
- type to check- Returns:
true
if this mapper is interested in the element
-
map
Map the original type to a different type, or remove it from processing.- Parameters:
ctx
- code generation contexttypeInfo
- type info to map- Returns:
- mapped type info, or empty optional to remove the type info
-