Package org.openrewrite.protobuf.tree
Class Proto.Document
java.lang.Object
org.openrewrite.protobuf.tree.Proto.Document
- All Implemented Interfaces:
Proto,org.openrewrite.SourceFile,org.openrewrite.Tree
- Enclosing interface:
- Proto
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface org.openrewrite.protobuf.tree.Proto
Proto.Block, Proto.Constant, Proto.Document, Proto.Empty, Proto.Enum, Proto.EnumField, Proto.Extend, Proto.ExtensionName, Proto.Field, Proto.FullIdentifier, Proto.Identifier, Proto.Import, Proto.Keyword, Proto.MapField, Proto.Message, Proto.OneOf, Proto.Option, Proto.OptionDeclaration, Proto.Package, Proto.Primitive, Proto.Range, Proto.Reserved, Proto.Rpc, Proto.RpcInOut, Proto.Service, Proto.StringLiteral, Proto.Syntax -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<P> ProtoacceptProto(ProtoVisitor<P> v, P p) getBody()<P> org.openrewrite.TreeVisitor<?,org.openrewrite.PrintOutputCapture<P>> printer(org.openrewrite.Cursor cursor) org.openrewrite.SourceFilewithCharset(Charset charset) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openrewrite.protobuf.tree.Proto
accept, getPrefix, isAcceptable, withPrefixMethods 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, withSourcePathMethods inherited from interface org.openrewrite.Tree
cast, getId, getJacksonPolymorphicTypeTag, getMarkers, isScope, print, print, print, printTrimmed, printTrimmed, printTrimmed, safeCast, withId, withMarkers
-
Constructor Details
-
Document
public Document()
-
-
Method Details
-
getCharset
- Specified by:
getCharsetin interfaceorg.openrewrite.SourceFile
-
withCharset
- Specified by:
withCharsetin interfaceorg.openrewrite.SourceFile
-
getBody
-
withBody
-
acceptProto
- Specified by:
acceptProtoin interfaceProto
-
printer
public <P> org.openrewrite.TreeVisitor<?,org.openrewrite.PrintOutputCapture<P>> printer(org.openrewrite.Cursor cursor) - Specified by:
printerin interfaceorg.openrewrite.SourceFile- Specified by:
printerin interfaceorg.openrewrite.Tree
-
getPadding
-