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

JavaField

class JavaField : JavaModifierTarget, JavaBodyMember (source)

An object representing one or multiple Java field/s.

Properties

documentation

val documentation: String

the documentation of the field/s

entries

val entries: Array<out Pair<String, String?>>

the key-value mappings of the field/s (A null value will leave the respective field uninitialized. For null use "null" instead.)

name

val name: String

The name of this java object.

see

val see: List<String>?

the references to be in the documentation of the field/s

since

val since: String?

the documentation of the field's/fields' @since tag

type

val type: IJvmType

the type of this field/s

Functions

printMember

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

Prints this java object to the given PrintWriter.

Inherited Functions

compareTo

open fun compareTo(other: JavaBodyMember): Int