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 Classes
    Modifier and Type
    Interface
    Description
    static class 
     
    static interface 
     
    static class 
     
    static class 
     
    static class 
     
    static class 
    Note that this class cannot easily be made to implement Properties like it should, because existing serialized ASTs will not have a JsonIdentityInfo reference to deserialize into the type.
  • Method Summary

    Modifier and Type
    Method
    Description
    default <R extends org.openrewrite.Tree, P>
    R
    accept(org.openrewrite.TreeVisitor<R,P> v, P p)
     
    default <P> @Nullable Properties
     
     
    default <P> boolean
    isAcceptable(org.openrewrite.TreeVisitor<?,P> v, P p)
     
     

    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:
      accept in interface org.openrewrite.Tree
    • isAcceptable

      default <P> boolean isAcceptable(org.openrewrite.TreeVisitor<?,P> v, P p)
      Specified by:
      isAcceptable in interface org.openrewrite.Tree
    • acceptProperties

      default <P> @Nullable Properties acceptProperties(PropertiesVisitor<P> v, P p)
    • getPrefix

      String getPrefix()
    • withPrefix

      Properties withPrefix(String prefix)