Class ApiType
java.lang.Object
com.github.muehmar.gradle.openapi.generator.java.model.type.api.ApiType
-
Method Summary
Modifier and TypeMethodDescription<T> Tfold(Function<PluginApiType, T> onPluginType, Function<UserDefinedApiType, T> onUserDefinedType, BiFunction<PluginApiType, UserDefinedApiType, T> onPluginAndUserDefinedType) static ApiTypeof(UserDefinedApiType userDefinedApiType, Optional<PluginApiType> pluginApiType) static ApiTypeofPluginType(PluginApiType pluginApiType) static ApiTypeofUserDefinedType(UserDefinedApiType userDefinedApiType)
-
Method Details
-
ofPluginType
-
ofUserDefinedType
-
of
public static ApiType of(UserDefinedApiType userDefinedApiType, Optional<PluginApiType> pluginApiType) -
getClassName
-
getParameterizedClassName
-
getToApiTypeConversion
-
getFromApiTypeConversion
-
fold
public <T> T fold(Function<PluginApiType, T> onPluginType, Function<UserDefinedApiType, T> onUserDefinedType, BiFunction<PluginApiType, UserDefinedApiType, T> onPluginAndUserDefinedType)
-