Class Properties.File

java.lang.Object
org.openrewrite.properties.tree.Properties.File
All Implemented Interfaces:
Properties, org.openrewrite.SourceFile, org.openrewrite.SourceFileWithReferences, org.openrewrite.Tree
Enclosing interface:
Properties

public static class Properties.File extends Object implements Properties, org.openrewrite.SourceFileWithReferences
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.openrewrite.properties.tree.Properties

    Properties.Comment, Properties.Content, Properties.Continuation, Properties.Entry, Properties.File, Properties.Value

    Nested classes/interfaces inherited from interface org.openrewrite.SourceFileWithReferences

    org.openrewrite.SourceFileWithReferences.References
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    org.openrewrite.SourceFileWithReferences.References
     
    <P> org.openrewrite.TreeVisitor<?,org.openrewrite.PrintOutputCapture<P>>
    printer(org.openrewrite.Cursor cursor)
     
    org.openrewrite.SourceFile
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.openrewrite.properties.tree.Properties

    accept, getPrefix, isAcceptable, withPrefix

    Methods inherited from interface org.openrewrite.SourceFile

    getChecksum, getFileAttributes, getSourcePath, getStyle, getStyle, getWeight, isCharsetBomMarked, printAll, printAll, printAll, printAllAsBytes, printAllAsBytes, printAllTrimmed, printAllTrimmed, printEqualsInput, service, withCharsetBomMarked, withChecksum, withFileAttributes, withSourcePath

    Methods inherited from interface org.openrewrite.SourceFileWithReferences

    build

    Methods inherited from interface org.openrewrite.Tree

    cast, getId, getMarkers, isScope, print, print, print, printTrimmed, printTrimmed, printTrimmed, withId, withMarkers
  • Constructor Details

    • File

      public File()
  • Method Details

    • getCharset

      public Charset getCharset()
      Specified by:
      getCharset in interface org.openrewrite.SourceFile
    • withCharset

      public org.openrewrite.SourceFile withCharset(Charset charset)
      Specified by:
      withCharset in interface org.openrewrite.SourceFile
    • acceptProperties

      public <P> Properties acceptProperties(PropertiesVisitor<P> v, P p)
      Specified by:
      acceptProperties in interface Properties
    • printer

      public <P> org.openrewrite.TreeVisitor<?,org.openrewrite.PrintOutputCapture<P>> printer(org.openrewrite.Cursor cursor)
      Specified by:
      printer in interface org.openrewrite.SourceFile
      Specified by:
      printer in interface org.openrewrite.Tree
    • getReferences

      public org.openrewrite.SourceFileWithReferences.References getReferences()
      Specified by:
      getReferences in interface org.openrewrite.SourceFileWithReferences