String (@NotNull Element node, final String type, final String defaultVisibility) { final String visibility = node.getAttributeValue(type); if (visibility == null) { return defaultVisibility; } return visibility; }