Enum Class CompilerPlugin
- All Implemented Interfaces:
Serializable
,Comparable<CompilerPlugin>
,Constable
- Since:
- 1.0
- Author:
- Erik C. Thauvin
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionRepresents the KotlinAll-Open
compiler plugin JAR.Represents the KotlinAssignment
compiler plugin JAR.Represents the KotlinCompose
compiler plugin JAR.Represents the Kotlin Imports Dumper compiler plugin JAR.Represents the KotlinxSerialization
compiler plugin JAR.Represents the KotlinSerialization
compiler plugin JAR.Represents the KotlinLombok
compiler plugin JAR.Represents theNo-Arg
compiler plugin JAR.Represents thePower-Assert
compiler plugin JAR.Represents the KotlinSAM-with-receiver
compiler plugin JAR. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic CompilerPlugin
Returns the enum constant of this class with the specified name.static CompilerPlugin[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALL_OPEN
Represents the KotlinAll-Open
compiler plugin JAR.This plugin allows certain classes or methods to be open for inheritance without requiring explicit modification of their declarations.
-
ASSIGNMENT
Represents the KotlinAssignment
compiler plugin JAR.This plugin enables features related to assignments in Kotlin, enhancing the compilation process for related constructs.
-
COMPOSE
Represents the KotlinCompose
compiler plugin JAR.This plugin is used to enable and optimize Jetpack Compose usage within Kotlin projects, integrating UI development into the compilation process.
-
KOTLIN_IMPORTS_DUMPER
Represents the Kotlin Imports Dumper compiler plugin JAR.This plugin is used to analyze and dump Kotlin imports during the compilation process. It allows the export or inspection of import directives within Kotlin sources, aiding in diagnostics or code analysis tasks within a build or compiler plugin integration.
-
KOTLINX_SERIALIZATION
Represents the KotlinSerialization
compiler plugin JAR.This plugin facilitates serialization and deserialization of Kotlin classes, allowing them to transform into various formats such as JSON, XML, or ProtoBuf. It integrates seamlessly with Kotlin's syntax and provides efficient runtime serialization mechanisms.
-
KOTLIN_SERIALIZATION
Represents the KotlinxSerialization
compiler plugin JAR.This plugin integrates serialization and deserialization capabilities into Kotlin projects. It facilitates the transformation of Kotlin classes into various formats, such as JSON or XML, by leveraging Kotlin's serialization framework.
-
LOMBOK
Represents the KotlinLombok
compiler plugin JAR.This plugin enables support for the Lombok Java library in Kotlin projects, facilitating the generation of boilerplate code such as getters, setters, equals, hashCode, and more during the compilation process.
-
NOARG
Represents theNo-Arg
compiler plugin JAR.This plugin enables the automatic generation of no-argument constructors for classes and data classes in Kotlin.
This plugin is useful in scenarios where frameworks or libraries require objects with no-argument constructors, such as when using reflection-based instantiation.
-
POWER_ASSERT
Represents thePower-Assert
compiler plugin JAR.This plugin often used to enable enhanced assertion capabilities in Kotlin compilation.
This plugin provides powerful runtime assertion messages, useful for debugging and testing purposes.
-
SAM_WITH_RECEIVER
Represents the KotlinSAM-with-receiver
compiler plugin JAR.This plugin enables support for single abstract method (SAM) conversions with an implicit receiver in Kotlin.
-
-
Field Details
-
jar
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-