Files
lombok/test/pretty/resource/after/Interfaces.java
T
peichhorn 68b079d312 fixed Issue 233:
Javac parser handles ";" (empty statements) as empty blocks with an invalid position. Thats why delomok replaces ";" with "{}". This gets an issue when you use this in an interface, since interfaces are not allowed to have initializer blocks.
2011-07-14 10:42:42 +02:00

16 lines
162 B
Java

@SuppressWarnings("all")
interface Interfaces {
enum Ranks {
CLUBS,
HEARTS,
DIAMONDS,
SPADES;
}
;
;
int x = 10;
void y();
int a = 20;
void b();
}