-
Notifications
You must be signed in to change notification settings - Fork 30
CompilerOptions
Values: a comma separated list of pathes
Automatically generated by the compiler.
Values: true
/false
It controls generating Clazz.defineMethod or $_M.
Values: a String (default $_
)
It controls generating Clazz.defineMethod or $_M.
(j2s.compiler.abbreviation must be true
)
Values: enable/disable
Since: 4.5
If interface casting is disabled (by default), #castObjectAs won't be generated for #methodA(instanceA) invocation for #methodA(InterfaceA) and #methodA(InterfaceB) definitions, as in most cases instanceA won't be instance of InterfaceB and #castObjectAs is unnecessary
Values: aString
Experimental feature to control the layout of the generated *.js files. May not work.
(See also j2s.compiler.whitespace)
Values: enable/disable
Since: 4.5
If method overloading is enabled(by default), #castObjectAs will be generated, else it won't be generated.
Values: debug
/release
When set to release
the compiler generates "compressed" codes with variables starting "a", "b", "c", ..., much harder to read or debug.
Values: path to the directory containing the *.class files
The Java2Script compiler will generate the *.js files next the *.class files.
Values: enable
/disable
When enabled the Java2Script compiler will generate ".js" files next to the ".class" files.
Values: false
|otherString
Experimental feature to control the layout of the generated *.js files. May not work.
(See also j2s.compiler.linebreak)
Values: a comma separated list of pathes
Automatically generated by the compiler.