This is true for example for this class:
class Test {
|
|
private final static ThreadLocal<Test> local = new ThreadLocal<Test>(){
|
|
@Override
|
protected Test initialValue(){
|
return new Test();
|
}
|
};
|
}
|
In this case the org.jboss.weld.util.reflection.Reflections#isStatic(java.lang.Class<?>) method returns true for the anonymous type, which looks bit weird.
|