lang/jiJavaClassProxy for Java classes
static CLASSstatic ABSTRACTstatic INTERFACE _constructor(this, args...)Instantiate JavaObject of that class
See:
#JavaObject
JavaMethodProxy for Java methods
None
None
JavaObjectProxy 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
SketchedJavaClassUsed 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
SketchedJavaConstructorUsed 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
SketchedJavaFieldUsed 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
SketchedJavaInheritanceUsed for inheritance of runtime created Java classes
None
_constructor(this, object extends)Receives a JavaClass instance of extension or implementation
See:
#JavaClass
SketchedJavaMethodUsed 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
SketchedJavaPackageUsed 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