class JavaInterfaceScope : JavaScope<JavaInterface, JavaInterfaceScope> (source)
val members: MutableSet<JavaBodyMember> |
|
val scopeRoot: T |
operator fun IJvmType.invoke(name: String, value: String?, documentation: String, since: String? = null, see: List<String>? = null): JavaField
Creates, registers and returns an object representing a Java field. operator fun IJvmType.invoke(names: Array<String>, documentation: String, since: String? = null, see: List<String>? = null): JavaFieldoperator fun IJvmType.invoke(vararg entries: Pair<String, String?>, documentation: String, since: String? = null, see: List<String>? = null): JavaField
Creates, registers and returns an object representing one or multiple Java field/s. operator fun IJvmType.invoke(name: String, documentation: String, vararg parameters: JavaParameter, returnDoc: String? = null, since: String? = null, exceptions: Array<out Pair<IJvmType, String?>>? = null, see: Array<out String>? = null, typeParameters: Array<out Pair<JvmGenericType, String?>>? = null, body: String? = null): JavaMethod
Creates, registers and returns an object representing a Java method. |
|
fun String.typeParameter(documentation: String? = null, vararg bounds: IJvmType): JvmGenericType
Creates, registers and returns an object representing a Java type parameter. |
fun authors(vararg authors: String): Boolean |
|
fun import(type: String, isStatic: Boolean = false, isImplicit: Boolean = false): Unit
Imports all types that are directly underneath the given fun import(type: IJvmType, member: String, forceMode: JavaImportForceMode? = null, isImplicit: Boolean = false): Unit?
Statically imports the given member type. fun import(type: IJvmType, forceMode: JavaImportForceMode? = null, isImplicit: Boolean = false): Unit?
Imports the given type. |
|
fun javaClass(className: String, documentation: String? = null, since: String? = null, superClass: IJvmType? = null, interfaces: Array<out IJvmType>? = null, init: JavaClassScope.() -> Unit): JavaClass
Creates, registers and returns an object representing a Java class. |
|
fun javaInterface(className: String, documentation: String? = null, since: String? = null, superInterfaces: Array<out IJvmType>? = null, init: JavaInterfaceScope.() -> Unit): JavaInterface
Creates, registers and returns an object representing a Java interface. |
|
fun see(ref: String): Boolean |