Interface ClassSpec

Hierarchy

  • ClassSpec

Properties

fields?: {
    [name: string]: string;
}

Name and type of each field to expose.

Type declaration

  • [name: string]: string
implements?: Wrapper<{}>[]

Interfaces implemented by this class.

methods?: {
    [name: string]: MethodImplementation | Java.MethodSpec | Java.MethodSpec[];
}

Methods to implement. Use the special name $init to define one or more constructors.

Type declaration

name: string

Name of the class.

superClass?: Wrapper<{}>

Super-class. Omit to inherit from java.lang.Object.

Generated using TypeDoc