Open
Description
@monperrus
Do you know why CtFieldReference has non derived roles:
- IS_FINAL
- IS_STATIC
Do you know why CtExecutableReference has non derived role:
- IS_STATIC
I can see reason for static
on CtExecutableReference and CtFieldReference. E.g. here:
class A {
static void method() {}
}
... some code...
//non static call of static method
this.method();
//static call of static method
A.method();
but why final
? I guess that CtFieldReference#isFinal()
might be derived.
WDYT?