com.github.themrmilchmann.kraton.lang.java / JavaConstructor

JavaConstructor

class JavaConstructor : JavaMethod (source)

A java constructor.

Inherited Properties

documentation

val documentation: String

the documentation of the method

exceptions

val exceptions: Array<out Pair<IJvmType, String?>>?

the exceptions that may be thrown by the method and their respective documentation entries

name

open val name: String

the name of the method

parameters

val parameters: Array<out JavaParameter>

the parameters of the method

returnDoc

val returnDoc: String?

the documentation of the method's @returnDoc tag

returnType

val returnType: IJvmType

the return type of the method

see

val see: Array<out String>?

the objects to be referenced in the method's documentation

since

val since: String?

the documentation of the method's @since tag

typeParameters

val typeParameters: Array<out Pair<JvmGenericType, String?>>?

the type parameters of the method

Inherited Functions

printMember

open fun PrintWriter.printMember(indent: String, containerType: JavaTopLevelType<*, *>): Unit

Prints this java object to the given PrintWriter.