@Retention(value=RUNTIME) @Target(value={FIELD,METHOD,PACKAGE}) @Documented public @interface Name
It can be used when the name of an element is not a valid Java identifier. By convention, JSweet implements a built-in convention to save the use of @Name annotations:
Keyword
in Java transpiles to
keyword
, when keyword is a Java keyword (such as catch, finally,
int, long, and so forth)public abstract String value