lang/ji
JavaClass
Proxy for Java classes
static CLASS
static ABSTRACT
static INTERFACE
_constructor(this, args...)
Instantiate JavaObject of that class
See:
#JavaObject
JavaMethod
Proxy for Java methods
None
None
JavaObject
Proxy for Java objects
None
object getClass(this)
Get class (instance of JavaClass)
See:
#JavaClass
object static pack(object obj)
Wraps Quail native value as a JavaObject
SketchedJavaClass
Used for runtime creation of Java classes
None
_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
None
_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
None
_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
None
_constructor(this, object extends)
Receives a JavaClass instance of extension or implementation
See:
#JavaClass
SketchedJavaMethod
Used for runtime creation of Java class methods
None
_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
None
_constructor(this, string name, classes...)
Classes is a sequence of SketchedJavaClasses
getClass(string className)
Get defined Java class by qualified ID
See:
#JavaClass
deployPackage(object package)
Creates all Java classes specified in passed SketchedJavaPackage