jmlparser-parent
Toggle table of contents
3.28.2-J8.0-K13.5-SNAPSHOT
java
Target filter
java
Switch theme
Search in API
Skip to content
jmlparser-parent
jmlparser-core
/
com.github.javaparser.ast.nodeTypes
/
NodeWithExtends
Node
With
Extends
interface
NodeWithExtends
<
N
:
Node
?
>
(
source
)
A node that explicitly extends other types, using the
extends
keyword.
Inheritors
ClassOrInterfaceDeclaration
Members
Functions
add
Extended
Type
Link copied to clipboard
open
fun
addExtendedType
(
extend
:
ClassOrInterfaceType
)
:
N
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
add
Extends
Link copied to clipboard
open
fun
addExtends
(
clazz
:
Class
<
out
Any
>
)
:
N
open
fun
addExtends
(
name
:
String
)
:
N
get
Extended
Types
Link copied to clipboard
abstract
fun
getExtendedTypes
(
)
:
NodeList
<
ClassOrInterfaceType
>
open
fun
getExtendedTypes
(
i
:
Int
)
:
ClassOrInterfaceType
set
Extended
Type
Link copied to clipboard
open
fun
setExtendedType
(
i
:
Int
,
extend
:
ClassOrInterfaceType
)
:
N
set
Extended
Types
Link copied to clipboard
abstract
fun
setExtendedTypes
(
extendsList
:
NodeList
<
ClassOrInterfaceType
>
)
:
N
try
Add
Import
To
Parent
Compilation
Unit
Link copied to clipboard
abstract
fun
tryAddImportToParentCompilationUnit
(
clazz
:
Class
<
out
Any
>
)