boolean (@NotNull Attribute attribute) { if (attribute.getName().equals(Constants.VALUE)) { Element parent = attribute.getParent(); if (parent != null && Constants.OPTION.equals(parent.getName()) && "ADDITIONAL_OPTIONS_STRING".equals(parent.getAttributeValue(Constants.NAME))) { Element grandParent = parent.getParentElement(); return grandParent != null && grandParent.getName().equals(FileStorageCoreUtil.COMPONENT) && "JavacSettings".equals(grandParent.getAttributeValue(Constants.NAME)); } } return false; }