You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure I understand what you're looking for, @wowoName.
I think you want to transpile some Java code and then access it from the JavaScript console, is that right?
If that's the case, jacline makes it very easy to do that:
All you need is to annotate the class with @JsType and @JsExport, and also annotate the method in question with @JsExport. Then your class will be accessible from vanilla JavaScript and the console by specifying the full package name (e.g., com.example.YourClass), and the methods (static or not) will be accessible by its Java name.
Does it work well now
The text was updated successfully, but these errors were encountered: