Package org.openrewrite.style
Class NamedStyles
- java.lang.Object
-
- org.openrewrite.style.NamedStyles
-
- Direct Known Subclasses:
DeclarativeNamedStyles
public class NamedStyles extends java.lang.Object implements Marker
A collection of styles by name, e.g. IntelliJ or Google Java Format.
-
-
Constructor Summary
Constructors Constructor Description NamedStyles()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <S extends Style>
Smerge(java.lang.Class<S> styleClass, java.lang.Iterable<? extends NamedStyles> namedStyles)Validatedvalidate()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.openrewrite.marker.Marker
isAcceptable
-
Methods inherited from interface org.openrewrite.Tree
accept, getId, getJacksonPolymorphicTypeTag, isScope, print, print, print, print, printer, printTrimmed, printTrimmed, printTrimmed
-
-
-
-
Method Detail
-
merge
@Nullable public static <S extends Style> S merge(java.lang.Class<S> styleClass, java.lang.Iterable<? extends NamedStyles> namedStyles)
-
validate
public Validated validate()
-
-