Package org.openrewrite.properties.tree
Interface Properties
- All Superinterfaces:
org.openrewrite.Tree
- All Known Subinterfaces:
Properties.Content
- All Known Implementing Classes:
Properties.Comment,Properties.Entry,Properties.File
public interface Properties
extends org.openrewrite.Tree
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic interfacestatic classstatic classstatic classstatic classNote that this class cannot easily be made to implementPropertieslike it should, because existing serialized ASTs will not have aJsonIdentityInforeference to deserialize into the type. -
Method Summary
Modifier and TypeMethodDescriptiondefault <R extends org.openrewrite.Tree,P>
Raccept(org.openrewrite.TreeVisitor<R, P> v, P p) default <P> @Nullable PropertiesacceptProperties(PropertiesVisitor<P> v, P p) default <P> booleanisAcceptable(org.openrewrite.TreeVisitor<?, P> v, P p) withPrefix(String prefix) Methods inherited from interface org.openrewrite.Tree
cast, getId, getMarkers, isScope, print, print, print, printer, printTrimmed, printTrimmed, printTrimmed, withId, withMarkers
-
Method Details
-
accept
default <R extends org.openrewrite.Tree,P> R accept(org.openrewrite.TreeVisitor<R, P> v, P p) - Specified by:
acceptin interfaceorg.openrewrite.Tree
-
isAcceptable
default <P> boolean isAcceptable(org.openrewrite.TreeVisitor<?, P> v, P p) - Specified by:
isAcceptablein interfaceorg.openrewrite.Tree
-
acceptProperties
-
getPrefix
String getPrefix() -
withPrefix
-