JavaFxPropertyTagDescriptor () { final PsiClass psiClass = getPsiClass(); final PsiAnnotation defaultProperty = AnnotationUtil .findAnnotationInHierarchy(psiClass, Collections.singleton(JavaFxCommonNames.JAVAFX_BEANS_DEFAULT_PROPERTY)); if (defaultProperty != null) { final PsiAnnotationMemberValue defaultPropertyAttributeValue = defaultProperty.findAttributeValue(FxmlConstants.VALUE); if (defaultPropertyAttributeValue instanceof PsiLiteralExpression) { final Object value = ((PsiLiteralExpression)defaultPropertyAttributeValue).getValue(); if (value instanceof String) { return new JavaFxPropertyTagDescriptor(psiClass, (String)value, false); } } } return null; }