class ParameterizedTypeName : TypeName
| rawType |
val rawType: ClassName |
| typeArguments |
val typeArguments: List<TypeName> |
| annotations |
val annotations: List<AnnotationSpec> |
| isAnnotated |
val isAnnotated: Boolean |
| annotated |
fun annotated(annotations: List<AnnotationSpec>): ParameterizedTypeName |
| nestedClass |
fun nestedClass(name: String, typeArguments: List<TypeName>): ParameterizedTypeName
Returns a new ParameterizedTypeName instance for the specified |
| withoutAnnotations |
fun withoutAnnotations(): ParameterizedTypeName |
| annotated |
fun annotated(vararg annotations: AnnotationSpec): TypeName |
| equals |
open fun equals(other: Any?): Boolean |
| hashCode |
open fun hashCode(): Int |
| toString |
open fun toString(): String |
| get |
fun get(rawType: ClassName, vararg typeArguments: TypeName): ParameterizedTypeNamefun get(rawType: KClass<*>, vararg typeArguments: KClass<*>): ParameterizedTypeNamefun get(rawType: Class<*>, vararg typeArguments: Type): ParameterizedTypeName
Returns a parameterized type, applying fun get(type: ParameterizedType): ParameterizedTypeName
Returns a parameterized type equivalent to |