Icon (@Nullable YAMLValue itemValue) { if (itemValue instanceof YAMLScalar) { return PlatformIcons.PROPERTY_ICON; } else if (itemValue instanceof YAMLAlias) { return ALIAS_ICON; } else { return PlatformIcons.XML_TAG_ICON; } }