operator fun ClassName.get(vararg typeArguments: KClass<*>): ParameterizedTypeName
Build a generic, parameterized type from the current class.
Example: TypeNames.OptionalInt::class // Output: java.lang.Optional
operator fun ClassName.get(vararg typeArguments: TypeName): ParameterizedTypeName
Build a generic, parameterized type from the current class.
Example: TypeNames.OptionalTypeName.INT // Output: java.lang.Optional