JavaFxBuiltInAttributeDescriptor (String name, PsiClass psiClass) { if (FxmlConstants.FX_ID.equals(name)) return new FxIdAttributeDescriptor(psiClass); if (FxmlConstants.FX_VALUE.equals(name)) return new FxValueAttributeDescriptor(psiClass); if (FxmlConstants.FX_CONSTANT.equals(name)) return new FxConstantAttributeDescriptor(psiClass); return new JavaFxBuiltInAttributeDescriptor(name, psiClass); }