@SuppressWarnings("Duplicates")
  default @Unmodifiable @NotNull Map<TextDecoration, TextDecoration.State> decorations() {
    final Map<TextDecoration, TextDecoration.State> decorations = new EnumMap<>(TextDecoration.class);
    for (int i = 0, length = DecorationMap.DECORATIONS.length; i < length; i++) {
      final TextDecoration decoration = DecorationMap.DECORATIONS[i];
      final TextDecoration.State value = this.decoration(decoration);
      decorations.put(decoration, value);
    }
    return decorations;
  }
Gets a map of decorations this stylable has.

@return a set of decorations this stylable has
@since 4.10.0
api/src/main/java/net/kyori/adventure/text/format/StyleGetter.java