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

Annotate

open class Annotate : JavaModifier (source)

This modifier may be used to add annotations to an object.

Constructors

<init>

Annotate(type: IJvmType, parameters: String? = null)

This modifier may be used to add annotations to an object.

Functions

asString

fun asString(containerType: JavaTopLevelType<*, *>?): String

Returns a pre-formatted annotation string.

Inheritors

Deprecated

class Deprecated : Annotate

The @Deprecated annotation.