open class Annotate : JavaModifier
This modifier may be used to add annotations to an object. |
|
class Deprecated : Annotate
The |
|
interface JavaBodyMember : Comparable<JavaBodyMember> |
|
class JavaBodyMemberGroup<T : JavaTopLevelType<T, S>, S : JavaScope<T, S>> : JavaBodyMember |
|
class JavaClass : JavaTopLevelType<JavaClass, JavaClassScope>
An object representing a Java class. |
|
class JavaClassScope : JavaScope<JavaClass, JavaClassScope> |
|
class JavaConstructor : JavaMethod
A java constructor. |
|
class JavaField : JavaModifierTarget, JavaBodyMember
An object representing one or multiple Java field/s. |
|
enum class JavaImportForceMode |
|
class JavaInterface : JavaTopLevelType<JavaInterface, JavaInterfaceScope>
An object representing a Java interface. |
|
class JavaInterfaceScope : JavaScope<JavaInterface, JavaInterfaceScope> |
|
open class JavaMethod : JavaModifierTarget, JavaBodyMember
An object representing a Java method. |
|
abstract class JavaModifier
A modifier that may be applied to a java object. |
|
abstract class JavaModifierTarget
A JavaModifierTarget represents java object to which modifiers may be applied to. |
|
class JavaParameter : JavaModifierTarget
A parameter to be used in java methods (or constructors). |
|
abstract class JavaScope<T : JavaTopLevelType<T, S>, S : JavaScope<T, S>> |
|
abstract class JavaTopLevelType<T : JavaTopLevelType<T, S>, S : JavaScope<T, S>> : JavaModifierTarget, JavaBodyMember, IJvmType
A java top-level type. |
|
open class JavaVisibilityModifier : JavaModifier
A modifier of this type may be applied to mutate the visibility of a java object. |
|
object abstract : JavaVisibilityModifier
The |
|
object default : JavaVisibilityModifier
The |
|
object final : JavaVisibilityModifier
The |
|
object native : JavaVisibilityModifier
The |
|
object private : JavaVisibilityModifier
The |
|
object protected : JavaVisibilityModifier
The |
|
object public : JavaVisibilityModifier
The |
|
object static : JavaVisibilityModifier
The |
|
object strictfp : JavaVisibilityModifier
The |
|
object synchronized : JavaVisibilityModifier
The |
|
object transient : JavaVisibilityModifier
The |
|
object volatile : JavaVisibilityModifier
The |
val ABSTRACT: abstract
The |
|
val DEFAULT: default
The |
|
val FINAL: final
The |
|
val NATIVE: native
The |
|
val Override: Annotate
The |
|
val PRIVATE: private
The |
|
val PROTECTED: protected
The |
|
val PUBLIC: public
The |
|
val STATIC: static
The |
|
val STRICTFP: strictfp
The |
|
val SYNCHRONIZED: synchronized
The |
|
val TRANSIENT: transient
The |
|
val VOLATILE: volatile
The |
|
const val inheritDoc: String
The |
fun IJvmType.PARAM(name: String, documentation: String): JavaParameter
Shortcut to create a new JavaParameter. |
|
fun IJvmType.asString(from: JavaTopLevelType<*, *>?): String |
|
fun cast(from: AbstractJvmType, to: AbstractJvmType, value: String): String
Casts a value to another type (excluding unnecessary casts). |
|
fun convert(from: AbstractJvmType, to: AbstractJvmType, value: String): String
Converts a value to another type. |
|
fun Profile.javaClass(fileName: String, packageName: String, srcFolder: String, srcSet: String, documentation: String? = null, since: String? = null, superClass: IJvmType? = null, interfaces: Array<out IJvmType>? = null, copyrightHeader: String? = null, init: JavaClassScope.() -> Unit): JavaClass
Creates, registers and returns an object representing a Java class. |
|
fun Profile.javaInterface(fileName: String, packageName: String, srcFolder: String, srcSet: String, documentation: String? = null, since: String? = null, superInterfaces: Array<out IJvmType>? = null, copyrightHeader: String? = null, init: JavaInterfaceScope.() -> Unit): JavaInterface
Creates, registers and returns an object representing a Java interface. |
|
operator fun <T : JavaModifier, R : JavaModifierTarget> T.rangeTo(trg: R): Roperator fun <T : JavaModifier> T.rangeTo(other: T): Array<T>
Utility method to chain modifiers using the rangeTo operator. |