JvmModifier

Represents a JVM modifier that is represented as an annotation in Kotlin but as a modifier in bytecode. Examples include annotations such as @JvmStatic or @JvmSynthetic.

This API is considered read-only and should not be implemented outside of KotlinPoet.

interface JvmModifier

Functions

annotationSpec
Link copied to clipboard
abstract fun annotationSpec(): AnnotationSpec
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Inheritors

JvmFieldModifier
Link copied to clipboard
JvmMethodModifier
Link copied to clipboard