This content has been marked as final. Show 4 replies
Ah... it's a known bug. I will fix it.
can I help to fix it? I read through the source code and could understand it somewhat.
Yes, thank you!
Now I detected anoher problem which I cannot solve. If I add in CtField public static final int TWO = 2; during runtime, the method call getConstantValue () will return a null.
Now this problem has been fixed. Static final fields can be case labels.