lang/ji


JavaClass

Proxy for Java classes

Fields
Methods
_constructor(this, args...)

Instantiate JavaObject of that class

See:
#JavaObject

JavaMethod

Proxy for Java methods

Fields

None

Methods

None

JavaObject

Proxy for Java objects

Fields

None

Methods
object getClass(this)

Get class (instance of JavaClass)

See:
#JavaClass

object static pack(object obj)
Static

Wraps Quail native value as a JavaObject

SketchedJavaClass

Used for runtime creation of Java classes

Fields

None

Methods
_constructor(this, string signature, contents...)

Prepares a Java class.
Signature is a sequence of Java keyword modifiers and name of the class:
E.g. public final ClassName
Contents is a sequence of SketchedJavaConstructors, SketchedJavaFields,
SketchedJavaInheritances and SketchedJavaMethods

See:
#SketchedJavaField#SketchedJavaInheritance#SketchedJavaMethod#SketchedJavaConstructor

SketchedJavaConstructor

Used for runtime creation of Java class constructors

Fields

None

Methods
_constructor(this, string signature, list args, func body)

Prepares a Java class constructor.
Signature is a sequence of Java keyword modifiers: public, private, protected, static, final
E.g. public
Args is a list of strings that contain argument signatures.
E.g. ["double a", "String b"]
Body is the Quail function that will be executed when this constructor is invoked

SketchedJavaField

Used for runtime creation of Java class fields

Fields

None

Methods
_constructor(this, string signature, object default)

Prepares a Java class sequence.
Signature is a sequence of Java keyword modifiers (public, private, protected, static, final),
a type (double, String, boolean...) and a name. E.g. public double a
Default is an instance of JavaObject. Resembles the default value of this field

SketchedJavaInheritance

Used for inheritance of runtime created Java classes

Fields

None

Methods
_constructor(this, object extends)

Receives a JavaClass instance of extension or implementation

See:
#JavaClass

SketchedJavaMethod

Used for runtime creation of Java class methods

Fields

None

Methods
_constructor(this, string signature, list args, func body)

Prepares a Java class constructor.
Signature is a sequence of Java keyword modifiers (public, private, protected, static, final),
a type (double, String, boolean...) and a name. E.g. public double a
Args is a list of strings that contain argument signatures.
E.g. ["double a", "String b"]
Body is the Quail function that will be executed when this method is invoked

SketchedJavaPackage

Used for runtime creation of Java packages

Fields

None

Methods
_constructor(this, string name, classes...)

Classes is a sequence of SketchedJavaClasses

See:
#SketchedJavaClass

getClass(string className)

Get defined Java class by qualified ID

See:
#JavaClass

deployPackage(object package)

Creates all Java classes specified in passed SketchedJavaPackage

See:
#SketchedJavaPackage