if (!referencedFromClassInitializer) {
((RefFieldImpl)refWhat).setFlag(false, CAN_BE_FINAL_MASK);
}
}
}
<BUG>public void buildReferences(RefElement refElement) {
</BUG>
if (refElement instanceof RefClass) {
final PsiClass psiClass = (PsiClass)refElement.getElement();
if (psiClass != null) {

if (!referencedFromClassInitializer) {
((RefFieldImpl)refWhat).setFlag(false, CAN_BE_FINAL_MASK);
}
}
}
public void onReferencesBuild(RefElement refElement) {
if (refElement instanceof RefClass) {
final PsiClass psiClass = (PsiClass)refElement.getElement();
if (psiClass != null) {
