NodeWithExtends

interface NodeWithExtends<N : Node?>(source)

A node that explicitly extends other types, using the extends keyword.

Inheritors

Functions

Link copied to clipboard

open fun addExtendedType(clazz: Class<out Any>): N
Add an "extends" to this and automatically add the import
open fun addExtendedType(name: String): N
Add an "extends" to this
Link copied to clipboard
open fun addExtends(clazz: Class<out Any>): N
open fun addExtends(name: String): N
Link copied to clipboard
open fun setExtendedType(i: Int, extend: ClassOrInterfaceType): N
Link copied to clipboard
abstract fun setExtendedTypes(extendsList: NodeList<ClassOrInterfaceType>): N
Link copied to clipboard