Closed Simn closed 5 years ago
I just found out from the unit tests that genjava supports Java annotations through @:strict:
@:strict
@:strict(MyClass_MyAnnotation({ author:"author", currentRevision: 2 })) public function testAnnotations()
It's probably not worth inventing something new here, so we should just adhere to this. Requires writing a function that transforms expressions to https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.7.16.1.
P.S.: This is the last error in the unit tests before we can move on to failures.
I just found out from the unit tests that genjava supports Java annotations through
@:strict
:It's probably not worth inventing something new here, so we should just adhere to this. Requires writing a function that transforms expressions to https://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.7.16.1.
P.S.: This is the last error in the unit tests before we can move on to failures.