NodeWithTypeParameters

A node that can have type parameters.

    class X {}        --> typeParameters == []
    class X<> {}      --> does not occur.
    class X<C,D> {}   --> typeParameters = [C,D]

Inheritors

Functions

Link copied to clipboard
open fun addTypeParameter(typeParameter: TypeParameter): N

open fun addTypeParameter(typeParameter: String): N
Adds a type parameter like X extends Serializable
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isGeneric(): Boolean
Link copied to clipboard
open fun setTypeParameter(i: Int, typeParameter: TypeParameter): N
Link copied to clipboard
abstract fun setTypeParameters(typeParameters: NodeList<TypeParameter>): N