We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invoking static methods requires that a JObject value of the target class be instantiated first, which should not be needed.
For example, to invoke the static method java.util.UUID.randomUUID(), one has to first create a UUID object:
import native java.util.UUID(1, 2) into xy invoke xy->randomUUID() result into id
Perhaps we can have an invoke static that gets a full Java class name, instead of the JObject term, such that one can write:
invoke static java.util.UUID->randomUUID() result into id
The text was updated successfully, but these errors were encountered:
roozbehf
No branches or pull requests
Invoking static methods requires that a JObject value of the target class be instantiated first, which should not be needed.
For example, to invoke the static method java.util.UUID.randomUUID(), one has to first create a UUID object:
Perhaps we can have an invoke static that gets a full Java class name, instead of the JObject term, such that one can write:
The text was updated successfully, but these errors were encountered: