question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Export Annotation

See original GitHub issue

Calling the method with multiple parameters becomes too verbose when a Java method is exported. Could it be much easier to just alias the annotated name to the verbose one? Such as,

public class JBox2DSimulation {
    @Export("proceedSimulation")
    public static void proceedSimulation(int a,int b,double c,double d,float e,float f) {
    }
}

instead of calling JBox2DSimulation.VOIDproceedSimulationINTINTDOUBLEDOUBLEFLOATFLOAT from host environment, just calling the annotated “proceedSimulation” that is made available to the window object can be much more clear and easier. For this purpose, another annotation may as well be provided keeping the currently implemented, one such as “Alias”.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mirkoserticcommented, Feb 26, 2018

The WASM module system already uses the names from the Export annotation. Maybe we can create the same functionality for the JS runtime.

0reactions
norzakcommented, Jan 17, 2019

How are the strings handled when target is WebAssembly with INTEROP? Is it automatic?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Exporting annotations — QuPath 0.4.0 documentation
You can export your objects via the File ‣ Object data… ‣ Export as GeoJSON command. Alternatively, the GeoJSON export can be done...
Read more >
Exporting and Importing Annotations
In this article, we are going to explore the annotation export and import function in the Annotations Sidebar. This option works well when...
Read more >
Export Annotation Summary | Documents Knowledge Base
All annotations you create within one PDF file are called the Annotation Summary. Documents allows you to easily export it as a separate...
Read more >
Export metadata and annotations from a dataset | Vertex AI
Vertex AI allows you to export the metadata and annotation sets from a Dataset resource. ... click View more more_vert and then click...
Read more >
Annotations Export - Spark NLP - John Snow Labs
Completions and predictions can be exported into the formats described below. JSON. You can export the manual annotations (completions) and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found