void (@NotNull PsiClass psiClass, @NotNull String propertyName, @NotNull String propertyValue, @NotNull PsiElement location) { final PsiMember declaration = JavaFxPsiUtil.getWritableProperties(psiClass).get(propertyName); final String boxedQName = JavaFxPsiUtil.getBoxedPropertyType(psiClass, declaration); if (CommonClassNames.JAVA_LANG_FLOAT.equals(boxedQName) || CommonClassNames.JAVA_LANG_DOUBLE.equals(boxedQName)) { try { double value = Double.parseDouble(propertyValue); if (value < 0.0 || value > 1.0) { holder.registerProblem(location, JavaFXBundle.message("inspection.javafx.color.component.out.of.range.problem")); } } catch (NumberFormatException ignored) { } } }