Closed dwickern closed 3 years ago
public class JavaConstants { public static final int FOO = 42; }
nameOf(JavaConstants.FOO) // compile error
The identifier is replaced with the constant value 42 before the macro evaluates.
The identifier is replaced with the constant value 42 before the macro evaluates.