索引

A B C D E F G H I J L M N O P R S T U V W Y Z 
常量字段值|所有程序包|所有类和接口|序列化表格

A

ABORT - 枚举类 中的枚举常量 com.palantir.javaformat.LastLevelBreakability
Default behaviour.
ACCEPT_INLINE_CHAIN - 枚举类 中的枚举常量 com.palantir.javaformat.LastLevelBreakability
Unconditionally allow ending an inline chain at this level, after which this level may be broken as usual, or a prefix thereof could be inlined further (if it has the appropriate break behaviour of BreakBehaviour.Cases.preferBreakingLastInnerLevel(boolean)).
ACCEPT_INLINE_CHAIN_IF_SIMPLE_OTHERWISE_CHECK_INNER - 枚举类 中的枚举常量 com.palantir.javaformat.LastLevelBreakability
Behaves like LastLevelBreakability.ACCEPT_INLINE_CHAIN if the current inlined levels are all simple (according to OpenOp.complexity()), otherwise behave like LastLevelBreakability.CHECK_INNER.
actualSize(int, int) - 类中的方法 com.palantir.javaformat.OpsBuilder
Return the actual size of the AST node at position, including comments.
actualStartColumn(int) - 类中的方法 com.palantir.javaformat.OpsBuilder
Return the start column of the token at position, including leading comments.
add(DocBuilder) - 枚举类中的方法 com.palantir.javaformat.CloseOp
 
add(DocBuilder) - 类中的方法 com.palantir.javaformat.doc.Break
 
add(DocBuilder) - 类中的方法 com.palantir.javaformat.doc.Comment
 
add(DocBuilder) - 类中的方法 com.palantir.javaformat.doc.NonBreakingSpace
 
add(DocBuilder) - 类中的方法 com.palantir.javaformat.doc.Token
 
add(DocBuilder) - 接口中的方法 com.palantir.javaformat.Op
Add an Op to a DocBuilder.
add(DocBuilder) - 类中的方法 com.palantir.javaformat.OpenOp
 
addAll(List<Op>) - 类中的方法 com.palantir.javaformat.OpsBuilder
Add a list of Ops.
addBodyDeclarations(List<? extends Tree>, JavaInputAstVisitor.BracesOrNot, JavaInputAstVisitor.FirstDeclarationsOrNot) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
Add a list of declarations.
ALWAYS_PARTIALLY_INLINEABLE - 枚举类 中的枚举常量 com.palantir.javaformat.PartialInlineability
The level may always be partially inlined, regardless of how much space is left on the current line.
append(State, String, Range<Integer>) - 类中的方法 com.palantir.javaformat.java.JavaOutput
 
append(State, String, Range<Integer>) - 类中的方法 com.palantir.javaformat.Output
Output a string.
applyReplacements(String, Collection<Replacement>) - 类中的静态方法 com.palantir.javaformat.Utils
 

B

blankLine(int, OpsBuilder.BlankLineWanted) - 类中的方法 com.palantir.javaformat.java.InputMetadataBuilder
A blank line is or is not wanted here.
blankLines() - 接口中的方法 com.palantir.javaformat.java.InputMetadata
Remembers preferences from the input about whether blank lines are wanted or not at a given token index.
blankLineWanted(OpsBuilder.BlankLineWanted) - 类中的方法 com.palantir.javaformat.OpsBuilder
Force or suppress a blank line here in the output.
BlankLineWanted() - 类的构造器 com.palantir.javaformat.OpsBuilder.BlankLineWanted
 
branchingCoefficient() - 类中的方法 com.palantir.javaformat.doc.State
Counts how many times reached a branch, where multiple formattings would be considered.
Break - com.palantir.javaformat.doc中的类
A leaf node in a Doc for an optional break.
Break() - 类的构造器 com.palantir.javaformat.doc.Break
 
Break.Builder - com.palantir.javaformat.doc中的类
 
breakabilityIfLastLevel() - 类中的方法 com.palantir.javaformat.OpenOp
If it's the last level of its parent, when to inline this level rather than break the parent.
breakAndIndentTrailingComment() - 类中的方法 com.palantir.javaformat.doc.Token
Force a line break and indent trailing javadoc or block comments.
breakBehaviour() - 类中的方法 com.palantir.javaformat.OpenOp
When this level doesn't fit on one line, controls whether this level is to be broken (its breaks taken) or partially inlined onto the current line.
BreakBehaviour - com.palantir.javaformat中的类
 
BreakBehaviour() - 类的构造器 com.palantir.javaformat.BreakBehaviour
 
BreakBehaviour.Cases<R> - com.palantir.javaformat中的接口
 
breakOnlyIfInnerLevelsThenFitOnOneLine(boolean) - 接口中的方法 com.palantir.javaformat.BreakBehaviour.Cases
Break if by doing so all inner levels then fit on a single line.
breakOp() - 类中的方法 com.palantir.javaformat.OpsBuilder
Emit a Break.
breakOp(Break) - 类中的方法 com.palantir.javaformat.OpsBuilder
Emit a self-built Break.
breakOp(FillMode, String, Indent) - 类中的方法 com.palantir.javaformat.OpsBuilder
Emit a generic Break.
breakOp(FillMode, String, Indent, Optional<BreakTag>) - 类中的方法 com.palantir.javaformat.OpsBuilder
Emit a generic Break.
breakOp(Indent) - 类中的方法 com.palantir.javaformat.OpsBuilder
Emit a Break.
breakOp(String) - 类中的方法 com.palantir.javaformat.OpsBuilder
Emit a Break, with a specified flat value (e.g., " ").
breakStates() - 类中的方法 com.palantir.javaformat.doc.State
 
BreakTag - com.palantir.javaformat.doc中的类
Unique identifier for a break.
BreakTag() - 类的构造器 com.palantir.javaformat.doc.BreakTag
 
breakTagsTaken() - 类中的方法 com.palantir.javaformat.doc.State
 
breakThisLevel() - 接口中的方法 com.palantir.javaformat.BreakBehaviour.Cases
 
breakToFill() - 类中的方法 com.palantir.javaformat.OpsBuilder
Emit a filled Break.
breakToFill(String) - 类中的方法 com.palantir.javaformat.OpsBuilder
Emit a Break, with a specified flat value (e.g., " ").
build() - 类中的方法 com.palantir.javaformat.doc.DocBuilder
Return the Doc.
build() - 类中的方法 com.palantir.javaformat.java.InputMetadataBuilder
 
build() - 类中的方法 com.palantir.javaformat.OpsBuilder
Build a list of Ops from the OpsBuilder.
builder - 类中的变量 com.palantir.javaformat.java.JavaInputAstVisitor
 
builder() - 类中的静态方法 com.palantir.javaformat.doc.Break
 
builder() - 类中的静态方法 com.palantir.javaformat.doc.State
 
builder() - 类中的静态方法 com.palantir.javaformat.OpenOp
Builder @see ImmutableOpenOp.Builder#Builder().
Builder() - 类的构造器 com.palantir.javaformat.doc.Break.Builder
 
Builder() - 类的构造器 com.palantir.javaformat.doc.State.Builder
 
Builder() - 类的构造器 com.palantir.javaformat.OpenOp.Builder
 

C

characterRangesToTokenRanges(Collection<Range<Integer>>) - 类中的方法 com.palantir.javaformat.java.JavaInput
 
CHECK_INNER - 枚举类 中的枚举常量 com.palantir.javaformat.LastLevelBreakability
Delegate to the LastLevelBreakability of _this_ level's last inner level.
checkClosed(int) - 类中的方法 com.palantir.javaformat.OpsBuilder
Checks that all open ops in the op stream have matching close ops.
close() - 类中的方法 com.palantir.javaformat.doc.DocBuilder
Close the current Level.
close() - 类中的方法 com.palantir.javaformat.OpsBuilder
Close the current level, by emitting a CloseOp.
CLOSE - 枚举类 中的枚举常量 com.palantir.javaformat.CloseOp
 
CloseOp - com.palantir.javaformat中的枚举类
A CloseOp closes a level.
column() - 类中的方法 com.palantir.javaformat.doc.State
 
columnLimitBeforeLastBreak() - 类中的方法 com.palantir.javaformat.OpenOp
Custom max column limit that contents of this level before the last break may not exceed.
com.palantir.javaformat - 程序包 com.palantir.javaformat
 
com.palantir.javaformat.doc - 程序包 com.palantir.javaformat.doc
 
com.palantir.javaformat.java - 程序包 com.palantir.javaformat.java
 
com.palantir.javaformat.java.java14 - 程序包 com.palantir.javaformat.java.java14
 
com.palantir.javaformat.java.java21 - 程序包 com.palantir.javaformat.java.java21
 
com.palantir.javaformat.java.javadoc - 程序包 com.palantir.javaformat.java.javadoc
 
Comment - com.palantir.javaformat.doc中的类
A leaf node in a Doc for a non-token.
CommentsHelper - com.palantir.javaformat中的接口
Rewrite comments.
COMPACT_RECORD_CONSTRUCTOR - 类中的静态变量 com.palantir.javaformat.java.JavaInputAstVisitor
 
COMPLEX - 枚举类 中的枚举常量 com.palantir.javaformat.OpenOp.Complexity
This level is complex, which will cause certain levels downstream from here (that might otherwise fit on the same line) to not be considered.
complexity() - 类中的方法 com.palantir.javaformat.OpenOp
A level is "simple" if it doesn't have multiple parameters (in the case of a method call), or multiple chained method calls.
computeBreaks(CommentsHelper, int, State, Obs.ExplorationNode) - 类中的方法 com.palantir.javaformat.doc.Break
 
computeBreaks(CommentsHelper, int, State, Obs.ExplorationNode) - 类中的方法 com.palantir.javaformat.doc.Comment
 
computeBreaks(CommentsHelper, int, State, Obs.ExplorationNode) - 类中的方法 com.palantir.javaformat.doc.Doc
Make breaking decisions for a Doc.
computeBreaks(CommentsHelper, int, State, Obs.ExplorationNode) - 类中的方法 com.palantir.javaformat.doc.Level
 
computeBreaks(CommentsHelper, int, State, Obs.ExplorationNode) - 类中的方法 com.palantir.javaformat.doc.NonBreakingSpace
 
computeBreaks(CommentsHelper, int, State, Obs.ExplorationNode) - 类中的方法 com.palantir.javaformat.doc.Token
 
computeBreaks(State, boolean) - 类中的方法 com.palantir.javaformat.doc.Break
 
computeFlat() - 类中的方法 com.palantir.javaformat.doc.Break
 
computeFlat() - 类中的方法 com.palantir.javaformat.doc.Comment
 
computeFlat() - 类中的方法 com.palantir.javaformat.doc.Doc
Compute the Doc's flat value.
computeFlat() - 类中的方法 com.palantir.javaformat.doc.Level
 
computeFlat() - 类中的方法 com.palantir.javaformat.doc.NonBreakingSpace
 
computeFlat() - 类中的方法 com.palantir.javaformat.doc.Token
 
computeRange() - 类中的方法 com.palantir.javaformat.doc.Break
 
computeRange() - 类中的方法 com.palantir.javaformat.doc.Comment
 
computeRange() - 类中的方法 com.palantir.javaformat.doc.Doc
Compute the Doc's Range of Input.Tokens.
computeRange() - 类中的方法 com.palantir.javaformat.doc.Level
 
computeRange() - 类中的方法 com.palantir.javaformat.doc.NonBreakingSpace
 
computeRange() - 类中的方法 com.palantir.javaformat.doc.Token
 
computeRanges(List<? extends Input.Tok>) - 类中的方法 com.palantir.javaformat.InputOutput
 
computeWidth() - 类中的方法 com.palantir.javaformat.doc.Break
 
computeWidth() - 类中的方法 com.palantir.javaformat.doc.Comment
 
computeWidth() - 类中的方法 com.palantir.javaformat.doc.Doc
Compute the Doc's width.
computeWidth() - 类中的方法 com.palantir.javaformat.doc.Level
 
computeWidth() - 类中的方法 com.palantir.javaformat.doc.NonBreakingSpace
 
computeWidth() - 类中的方法 com.palantir.javaformat.doc.Token
 
conditional(BreakTag) - 类中的静态方法 com.palantir.javaformat.OpsBuilder.BlankLineWanted
Emit a blank line if the given break is taken.
containsBreaks(String) - 类中的静态方法 com.palantir.javaformat.Newlines
Returns true if the input contains any line breaks.
count(String) - 类中的静态方法 com.palantir.javaformat.Newlines
Returns the number of line breaks in the input.
create() - 类中的静态方法 com.palantir.javaformat.java.Formatter
A new Formatter instance with default options.
createDiagnostic(int, String) - 类中的方法 com.palantir.javaformat.Input
Construct a diagnostic.
createFormatter(JavaFormatterOptions) - 类中的静态方法 com.palantir.javaformat.java.Formatter
 
createRoot(Obs.Sink) - 类中的静态方法 com.palantir.javaformat.doc.Obs
 

D

debugName() - 类中的方法 com.palantir.javaformat.OpenOp
 
DebugRenderer - com.palantir.javaformat.java中的类
 
DebugRenderer() - 类的构造器 com.palantir.javaformat.java.DebugRenderer
 
depth() - 类中的方法 com.palantir.javaformat.OpsBuilder
Returns the number of unclosed open ops in the input stream.
diagnostic(String) - 类中的方法 com.palantir.javaformat.OpsBuilder
Create a FormatterDiagnostic at the current position.
diagnostics() - 异常错误类中的方法 com.palantir.javaformat.FormattingError
 
Doc - com.palantir.javaformat.doc中的类
JavaInputAstVisitor outputs a sequence of Ops using OpsBuilder.
Doc() - 类的构造器 com.palantir.javaformat.doc.Doc
 
DocBuilder - com.palantir.javaformat.doc中的类
A DocBuilder converts a sequence of Ops into a Doc.
DocBuilder() - 类的构造器 com.palantir.javaformat.doc.DocBuilder
Start to build a DocBuilder.
DocVisitor<T> - com.palantir.javaformat.doc中的接口
 
drain() - 类中的方法 com.palantir.javaformat.OpsBuilder
Output any remaining tokens from the input stream (e.g. terminal whitespace).
dropEmptyDeclarations() - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
Skips over extra semi-colons at the top-level, or in a class member declaration lists.

E

EMPTY_RANGE - 类中的静态变量 com.palantir.javaformat.InputOutput
 
endTok(Input.Token) - 类中的静态方法 com.palantir.javaformat.java.JavaOutput
The last non-whitespace Tok in the Token.
eval(State) - 类中的方法 com.palantir.javaformat.Indent.Const
 
eval(State) - 类中的方法 com.palantir.javaformat.Indent
 
eval(State) - 类中的方法 com.palantir.javaformat.Indent.If
 
evalPlusIndent(State) - 类中的方法 com.palantir.javaformat.doc.Break
Return the Break's extra indent.

F

fillMode() - 类中的方法 com.palantir.javaformat.doc.Break
 
FillMode - com.palantir.javaformat.doc中的枚举类
finishNode(int) - 接口中的方法 com.palantir.javaformat.doc.Obs.FinishLevelNode
 
finishNode(Level, State) - 接口中的方法 com.palantir.javaformat.doc.Obs.FinishExplorationNode
Indicate that the exploration node was successful and produced this newState
firstBreak(String) - 类中的静态方法 com.palantir.javaformat.Newlines
Returns the index of the first break in the input, or -1.
fixImports(String) - 类中的方法 com.palantir.javaformat.java.Formatter
Fixes imports (e.g. ordering, spacing, and removal of unused import statements).
fixImports(String) - 类中的方法 com.palantir.javaformat.java.FormatterServiceImpl
 
flat() - 类中的方法 com.palantir.javaformat.doc.Break
 
FORCED - 枚举类 中的枚举常量 com.palantir.javaformat.doc.FillMode
A FORCED Break will always be broken, and a Level it appears in will not fit on one line.
forcedBreak() - 类中的方法 com.palantir.javaformat.OpsBuilder
Emit a forced Break.
forcedBreak(Indent) - 类中的方法 com.palantir.javaformat.OpsBuilder
Emit a forced Break.
format(String...) - 类中的方法 com.palantir.javaformat.java.Main
The main entry point for the formatter, with some number of file names to format.
formatJavadoc(String, int) - 类中的方法 com.palantir.javaformat.java.javadoc.JavadocFormatter
Formats the given Javadoc comment, which must start with ∕✱✱ and end with ✱∕.
formatSource(CharSource, CharSink) - 类中的方法 com.palantir.javaformat.java.Formatter
Format the given input (a Java compilation unit) into the output stream.
formatSource(String) - 类中的方法 com.palantir.javaformat.java.Formatter
Format an input string (a Java compilation unit) into an output string.
formatSource(String, Collection<Range<Integer>>) - 类中的方法 com.palantir.javaformat.java.Formatter
Format an input string (a Java compilation unit), for only the specified character ranges.
formatSourceAndFixImports(String) - 类中的方法 com.palantir.javaformat.java.Formatter
Formats an input string (a Java compilation unit) and fixes imports.
formatSourceAndFixImports(String, FormatContext) - 类中的方法 com.palantir.javaformat.java.Formatter
 
formatSourceReflowStringsAndFixImports(String) - 类中的方法 com.palantir.javaformat.java.FormatterServiceImpl
 
formatSourceReflowStringsAndFixImports(String, FormatContext) - 类中的方法 com.palantir.javaformat.java.FormatterServiceImpl
 
Formatter - com.palantir.javaformat.java中的类
This is google-java-format, a new Java formatter that follows the Google Java Style Guide quite precisely---to the letter and to the spirit.
FormatterServiceImpl - com.palantir.javaformat.java中的类
 
FormatterServiceImpl() - 类的构造器 com.palantir.javaformat.java.FormatterServiceImpl
 
FormattingError - com.palantir.javaformat中的异常错误类
An unchecked formatting error.
FormattingError(FormatterDiagnostic) - 异常错误类的构造器 com.palantir.javaformat.FormattingError
 
FormattingError(Iterable<FormatterDiagnostic>) - 异常错误类的构造器 com.palantir.javaformat.FormattingError
 

G

getBreakState(Break) - 类中的方法 com.palantir.javaformat.doc.State
 
getColumn() - 接口中的方法 com.palantir.javaformat.Input.Tok
Return the Tok's 0-based column number.
getColumnLimitBeforeLastBreak() - 类中的方法 com.palantir.javaformat.doc.Level
An optional, more restrictive column limit for inner breaks that are marked as Break.hasColumnLimit().
getColumnNumber(int) - 类中的方法 com.palantir.javaformat.Input
Converts a character offset in the input to a 0-based column number.
getColumnNumber(int) - 类中的方法 com.palantir.javaformat.java.JavaInput
 
getDebugName() - 类中的方法 com.palantir.javaformat.doc.Level
 
getFlat() - 类中的方法 com.palantir.javaformat.doc.Doc
Return a Doc's flat-string value; not defined (and never called) if the Doc contains forced breaks.
getFormatReplacements(RangeSet<Integer>) - 类中的方法 com.palantir.javaformat.java.JavaOutput
Emit a list of Replacements to convert from input to output.
getFormatReplacements(String, Collection<Range<Integer>>) - 类中的方法 com.palantir.javaformat.java.Formatter
Emit a list of Replacements to convert from input to output.
getFormatReplacements(String, Collection<Range<Integer>>) - 类中的方法 com.palantir.javaformat.java.FormatterServiceImpl
 
getGuard(CaseTree) - 类中的方法 com.palantir.javaformat.java.java14.Java14InputAstVisitor
 
getGuard(CaseTree) - 类中的方法 com.palantir.javaformat.java.java21.Java21InputAstVisitor
 
getIndex() - 接口中的方法 com.palantir.javaformat.Input.Tok
Return the Tok's index.
getInput() - 类中的方法 com.palantir.javaformat.OpsBuilder
Get the OpsBuilder's Input.
getLine(int) - 类中的方法 com.palantir.javaformat.InputOutput
Get a line.
getLineCount() - 类中的方法 com.palantir.javaformat.InputOutput
Get the line count.
getLineEnding(String) - 类中的静态方法 com.palantir.javaformat.Newlines
Returns the terminating line break in the input, or null if the input does not end in a break.
getLineNumber(int) - 类中的方法 com.palantir.javaformat.Input
Converts a character offset in the input to a line number.
getLineNumber(int) - 类中的方法 com.palantir.javaformat.java.JavaInput
 
getLineSeparator() - 类中的方法 com.palantir.javaformat.java.JavaInput
 
getOpenOp() - 类中的方法 com.palantir.javaformat.doc.Level
 
getOriginalText() - 接口中的方法 com.palantir.javaformat.Input.Tok
The Tok's original text (before processing escapes).
getOutput() - 类中的方法 com.palantir.javaformat.doc.NoopSink
 
getOutput() - 接口中的方法 com.palantir.javaformat.doc.Obs.Sink
 
getOutput() - 类中的方法 com.palantir.javaformat.java.JsonSink
 
getPermitsClause(ClassTree) - 类中的方法 com.palantir.javaformat.java.java14.Java14InputAstVisitor
 
getPermitsClause(ClassTree) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
Gets the permits clause for the given node.
getPlusIndent() - 类中的方法 com.palantir.javaformat.doc.Level
 
getPlusIndentCommentsBefore() - 类中的方法 com.palantir.javaformat.doc.Token
How much extra to indent comments before the Token.
getPosition() - 接口中的方法 com.palantir.javaformat.Input.Tok
Return the Tok's 0-based position.
getPositionToColumnMap() - 类中的方法 com.palantir.javaformat.Input
 
getPositionToColumnMap() - 类中的方法 com.palantir.javaformat.java.JavaInput
 
getPositionTokenMap() - 类中的方法 com.palantir.javaformat.Input
A map from [start, end] position ranges to Input.Tokens.
getPositionTokenMap() - 类中的方法 com.palantir.javaformat.java.JavaInput
Get the navigable map from position to JavaInput.Token.
getRanges(int) - 类中的方法 com.palantir.javaformat.InputOutput
Get the Range of Input.Toks lying in any part on a line.
getReflowReplacements(int, String) - 类中的静态方法 com.palantir.javaformat.java.StringWrapper
 
getText() - 类中的方法 com.palantir.javaformat.Input
 
getText() - 接口中的方法 com.palantir.javaformat.Input.Tok
The Tok's text.
getText() - 类中的方法 com.palantir.javaformat.java.JavaInput
Get the input text.
getTok() - 接口中的方法 com.palantir.javaformat.Input.Token
Get the token's Input.Tok.
getToken() - 类中的方法 com.palantir.javaformat.doc.Token
Return the wrapped Input.Token.
getTokens() - 类中的方法 com.palantir.javaformat.Input
Get the input tokens.
getTokens() - 类中的方法 com.palantir.javaformat.java.JavaInput
Get the input tokens.
getToksAfter() - 接口中的方法 com.palantir.javaformat.Input.Token
Get the later Input.Toks assigned to this Token.
getToksBefore() - 接口中的方法 com.palantir.javaformat.Input.Token
Get the earlier Input.Toks assigned to this Token.
guessLineSeparator(String) - 类中的静态方法 com.palantir.javaformat.Newlines
Returns the first line separator in the text, or "\n" if the text does not contain a single line separator.
guessToken(String) - 类中的方法 com.palantir.javaformat.OpsBuilder
Emit an optional token iff it exists on the input.

H

handleModule(boolean, CompilationUnitTree) - 类中的方法 com.palantir.javaformat.java.java14.Java14InputAstVisitor
 
handleModule(boolean, CompilationUnitTree) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
hasColumnLimit() - 类中的方法 com.palantir.javaformat.doc.Break
If this break is restricted by its parent Level's Level.getColumnLimitBeforeLastBreak().
hasNewlineAt(String, int) - 类中的静态方法 com.palantir.javaformat.Newlines
Returns the length of the newline sequence at the current offset, or -1.
HasUniqueId - com.palantir.javaformat.doc中的类
This class exists in order to provide a stable Ord implementation for Doc and BreakTag, so that we can store them inside ordered immutable types like Set and HashMap.
HasUniqueId() - 类的构造器 com.palantir.javaformat.doc.HasUniqueId
 
HORIZONTAL - 枚举类 中的枚举常量 com.palantir.javaformat.java.JavaInputAstVisitor.Direction
 

I

id() - 类中的方法 com.palantir.javaformat.doc.HasUniqueId
 
id() - 接口中的方法 com.palantir.javaformat.doc.Obs.ExplorationNode
 
IF_FIRST_LEVEL_FITS - 枚举类 中的枚举常量 com.palantir.javaformat.PartialInlineability
Partially inlineable if the first inner level of this level fits on the current line.
IMAGINARY - 枚举类 中的枚举常量 com.palantir.javaformat.doc.Token.RealOrImaginary
 
ImportOrderer - com.palantir.javaformat.java中的类
Orders imports in Java source code.
indent() - 类中的方法 com.palantir.javaformat.doc.State
Next indent, if the level is about to be broken.
indent(int) - 类中的方法 com.palantir.javaformat.java.JavaOutput
 
indent(int) - 类中的方法 com.palantir.javaformat.Output
Indent by outputting indent spaces.
Indent - com.palantir.javaformat中的类
An indent for a Level or Break.
Indent() - 类的构造器 com.palantir.javaformat.Indent
 
Indent.Const - com.palantir.javaformat中的类
A constant function, returning a constant indent.
Indent.If - com.palantir.javaformat中的类
A conditional function, whose value depends on whether a break was taken.
indentMultiplier - 类中的变量 com.palantir.javaformat.java.JavaInputAstVisitor
 
INDEPENDENT - 枚举类 中的枚举常量 com.palantir.javaformat.doc.FillMode
If a Level will not fit on one line, its INDEPENDENT Breaks will be broken independently of each other, to fill in the Level.
inlineSuffix() - 接口中的方法 com.palantir.javaformat.BreakBehaviour.Cases
Attempt to inline the suffix of this level (which must be a Level and the last doc), recursing into the Level just before the last Level (if there is such a level) to see if that can be broken instead.
Input - com.palantir.javaformat中的类
An input to the formatter.
Input() - 类的构造器 com.palantir.javaformat.Input
 
Input.Tok - com.palantir.javaformat中的接口
A Tok ("tock") is a token, or a comment, or a newline, or a maximal string of blanks.
Input.Token - com.palantir.javaformat中的接口
A Token is a language-level token.
inputMetadata() - 接口中的方法 com.palantir.javaformat.OpsBuilder.OpsOutput
 
InputMetadata - com.palantir.javaformat.java中的接口
Records metadata about the input, namely existing blank lines that we might want to preserve, as well as what ranges can be partially formatted.
InputMetadataBuilder - com.palantir.javaformat.java中的类
 
InputMetadataBuilder() - 类的构造器 com.palantir.javaformat.java.InputMetadataBuilder
 
InputOutput - com.palantir.javaformat中的类
This interface defines methods common to an Input or an Output.
InputOutput() - 类的构造器 com.palantir.javaformat.InputOutput
 
isComment() - 接口中的方法 com.palantir.javaformat.Input.Tok
Is the Tok a comment?
isForced() - 类中的方法 com.palantir.javaformat.doc.Break
Is the Break forced?
isJavadocComment() - 接口中的方法 com.palantir.javaformat.Input.Tok
Is the Tok a javadoc comment?
isNewline() - 接口中的方法 com.palantir.javaformat.Input.Tok
Is the Tok a newline?
isNewline(String) - 类中的静态方法 com.palantir.javaformat.Newlines
Returns true if the entire input string is a recognized line break.
isSimple(boolean) - 类中的方法 com.palantir.javaformat.OpenOp.Builder
 
isSlashSlashComment() - 接口中的方法 com.palantir.javaformat.Input.Tok
Is the Tok a "//" comment?
isSlashStarComment() - 接口中的方法 com.palantir.javaformat.Input.Tok
Is the Tok a "//" comment?

J

Java14InputAstVisitor - com.palantir.javaformat.java.java14中的类
Extends JavaInputAstVisitor with support for AST nodes that were added or modified for Java 14.
Java14InputAstVisitor(OpsBuilder, int) - 类的构造器 com.palantir.javaformat.java.java14.Java14InputAstVisitor
 
Java14InputAstVisitor(OpsBuilder, int, Map<Long, ?>) - 类的构造器 com.palantir.javaformat.java.java14.Java14InputAstVisitor
 
Java14InputAstVisitor(OpsBuilder, int, Map<Long, ?>, List<FluentGroupConfig>) - 类的构造器 com.palantir.javaformat.java.java14.Java14InputAstVisitor
 
Java21InputAstVisitor - com.palantir.javaformat.java.java21中的类
Extends Java14InputAstVisitor with support for AST nodes that were added or modified in Java 21.
Java21InputAstVisitor(OpsBuilder, int) - 类的构造器 com.palantir.javaformat.java.java21.Java21InputAstVisitor
 
Java21InputAstVisitor(OpsBuilder, int, Map<Long, ?>) - 类的构造器 com.palantir.javaformat.java.java21.Java21InputAstVisitor
 
Java21InputAstVisitor(OpsBuilder, int, Map<Long, ?>, List<FluentGroupConfig>) - 类的构造器 com.palantir.javaformat.java.java21.Java21InputAstVisitor
 
JavaCommentsHelper - com.palantir.javaformat.java中的类
JavaCommentsHelper extends CommentsHelper to rewrite Java comments.
JavaCommentsHelper(String, JavaFormatterOptions) - 类的构造器 com.palantir.javaformat.java.JavaCommentsHelper
 
JavadocFormatter - com.palantir.javaformat.java.javadoc中的类
Entry point for formatting Javadoc.
JavadocFormatter(int) - 类的构造器 com.palantir.javaformat.java.javadoc.JavadocFormatter
 
JavaInput - com.palantir.javaformat.java中的类
JavaInput extends Input to represent a Java input document.
JavaInput(String) - 类的构造器 com.palantir.javaformat.java.JavaInput
Input constructor.
JavaInputAstVisitor - com.palantir.javaformat.java中的类
An AST visitor that builds a stream of Ops to format from the given CompilationUnitTree.
JavaInputAstVisitor(OpsBuilder, int) - 类的构造器 com.palantir.javaformat.java.JavaInputAstVisitor
The Visitor constructor.
JavaInputAstVisitor(OpsBuilder, int, Map<Long, ?>) - 类的构造器 com.palantir.javaformat.java.JavaInputAstVisitor
 
JavaInputAstVisitor(OpsBuilder, int, Map<Long, ?>, List<FluentGroupConfig>) - 类的构造器 com.palantir.javaformat.java.JavaInputAstVisitor
 
JavaInputAstVisitor.AllowLeadingBlankLine - com.palantir.javaformat.java中的枚举类
Whether to allow leading blank lines in blocks.
JavaInputAstVisitor.AllowTrailingBlankLine - com.palantir.javaformat.java中的枚举类
Whether to allow trailing blank lines in blocks.
JavaInputAstVisitor.BracesOrNot - com.palantir.javaformat.java中的枚举类
Whether to include braces.
JavaInputAstVisitor.CollapseEmptyOrNot - com.palantir.javaformat.java中的枚举类
Whether to collapse empty blocks.
JavaInputAstVisitor.Direction - com.palantir.javaformat.java中的枚举类
Direction for Annotations (usually VERTICAL).
JavaInputAstVisitor.FirstDeclarationsOrNot - com.palantir.javaformat.java中的枚举类
Whether these declarations are the first in the block.
JavaOutput - com.palantir.javaformat.java中的类
JavaOutput extends Output to represent a Java output document.
JavaOutput(JavaInput, InputMetadata) - 类的构造器 com.palantir.javaformat.java.JavaOutput
JavaOutput constructor.
JsonDocVisitor - com.palantir.javaformat.doc中的类
 
JsonDocVisitor(State) - 类的构造器 com.palantir.javaformat.doc.JsonDocVisitor
 
JsonSink - com.palantir.javaformat.java中的类
 
JsonSink() - 类的构造器 com.palantir.javaformat.java.JsonSink
 

L

lastIndent() - 类中的方法 com.palantir.javaformat.doc.State
Last indent that was actually taken.
LastLevelBreakability - com.palantir.javaformat中的枚举类
How to decide whether to break the last inner level ("this level") of a parent level with BreakBehaviour.Cases.preferBreakingLastInnerLevel(boolean).
length() - 接口中的方法 com.palantir.javaformat.Input.Tok
The length of the Tok's original text.
Level - com.palantir.javaformat.doc中的类
A Level inside a Doc.
LevelDelimitedFlatValueDocVisitor - com.palantir.javaformat.doc中的类
 
LevelDelimitedFlatValueDocVisitor(State) - 类的构造器 com.palantir.javaformat.doc.LevelDelimitedFlatValueDocVisitor
 
levelStates() - 类中的方法 com.palantir.javaformat.doc.State
 
lineIterator(String) - 类中的静态方法 com.palantir.javaformat.Newlines
Returns an iterator over lines in the input, including trailing whitespace.
lineOffsetIterator(String) - 类中的静态方法 com.palantir.javaformat.Newlines
Returns an iterator over the start offsets of lines in the input.
lineRangesToCharRanges(String, RangeSet<Integer>) - 类中的静态方法 com.palantir.javaformat.Utils
Converts zero-indexed, [closed, open) line ranges in the given source file to character ranges.
linesNeedWrapping(int, String, RangeSet<Integer>) - 类中的静态方法 com.palantir.javaformat.java.StringWrapper
Returns true if the lines containing the initialRangesToChange in the given Java source exceed the column limit or contain text blocks.
LOWER_CAMEL - 枚举类 中的枚举常量 com.palantir.javaformat.java.TypeNameClassifier.JavaCaseFormat
 
LOWERCASE - 枚举类 中的枚举常量 com.palantir.javaformat.java.TypeNameClassifier.JavaCaseFormat
 

M

main(String[]) - 类中的静态方法 com.palantir.javaformat.java.Main
The main method for the formatter, with some number of file names to format.
Main - com.palantir.javaformat.java中的类
The main class for the Java formatter CLI.
Main(PrintWriter, PrintWriter, InputStream) - 类的构造器 com.palantir.javaformat.java.Main
 
make() - 枚举类中的静态方法 com.palantir.javaformat.CloseOp
Make a CloseOp, returning a singleton since they are all the same.
make() - 类中的静态方法 com.palantir.javaformat.doc.NonBreakingSpace
 
make(int, int) - 类中的静态方法 com.palantir.javaformat.Indent.Const
 
make(BreakTag, Indent, Indent) - 类中的静态方法 com.palantir.javaformat.Indent.If
 
make(FillMode, String, Indent) - 类中的静态方法 com.palantir.javaformat.doc.Break
Make a Break.
make(FillMode, String, Indent, Optional<BreakTag>) - 类中的静态方法 com.palantir.javaformat.doc.Break
Make a Break.
make(Indent) - 类中的静态方法 com.palantir.javaformat.OpenOp
Make an ordinary OpenOp.
make(Input.Tok) - 类中的静态方法 com.palantir.javaformat.doc.Comment
Factory method for a Tok.
make(Input.Token, Token.RealOrImaginary, Indent, Optional<Indent>) - 类中的静态方法 com.palantir.javaformat.doc.Token
Make a Token.
makeForced() - 类中的静态方法 com.palantir.javaformat.doc.Break
Make a forced Break.
makeKToIJ(InputOutput) - 类中的静态方法 com.palantir.javaformat.InputOutput
Given an InputOutput, compute the map from tok indices to line ranges.
markForPartialFormat() - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
markForPartialFormat() - 类中的方法 com.palantir.javaformat.OpsBuilder
Make the boundary of a region that can be partially formatted.
markForPartialFormat(Input.Token, Input.Token) - 类中的方法 com.palantir.javaformat.java.InputMetadataBuilder
Marks a region that can be partially formatted.
match(BreakBehaviour.Cases<R>) - 类中的方法 com.palantir.javaformat.BreakBehaviour
 
merge(OpsBuilder.BlankLineWanted) - 类中的方法 com.palantir.javaformat.OpsBuilder.BlankLineWanted
Merge this blank line request with another.
methodInvocationTypeInfo(MethodInvocationTree) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
minusFour - 类中的变量 com.palantir.javaformat.java.JavaInputAstVisitor
 
minusTwo - 类中的变量 com.palantir.javaformat.java.JavaInputAstVisitor
 
mostRecentTokenFollowedByNewline() - 类中的方法 com.palantir.javaformat.OpsBuilder
Return whether the last token emitted is followed by a newline.
mustBreak() - 类中的方法 com.palantir.javaformat.doc.State
 

N

newChildNode(Level, State) - 接口中的方法 com.palantir.javaformat.doc.Obs.ExplorationNode
 
Newlines - com.palantir.javaformat中的类
Platform-independent newline handling.
Newlines() - 类的构造器 com.palantir.javaformat.Newlines
 
NO - 枚举类 中的枚举常量 com.palantir.javaformat.java.JavaInputAstVisitor.AllowLeadingBlankLine
 
NO - 枚举类 中的枚举常量 com.palantir.javaformat.java.JavaInputAstVisitor.AllowTrailingBlankLine
 
NO - 枚举类 中的枚举常量 com.palantir.javaformat.java.JavaInputAstVisitor.BracesOrNot
 
NO - 枚举类 中的枚举常量 com.palantir.javaformat.java.JavaInputAstVisitor.CollapseEmptyOrNot
 
NO - 枚举类 中的枚举常量 com.palantir.javaformat.java.JavaInputAstVisitor.FirstDeclarationsOrNot
 
NO - 类中的静态变量 com.palantir.javaformat.OpsBuilder.BlankLineWanted
Never emit a blank line.
NonBreakingSpace - com.palantir.javaformat.doc中的类
A Leaf node in a Doc for a non-breaking space.
NoopSink - com.palantir.javaformat.doc中的类
 
NoopSink() - 类的构造器 com.palantir.javaformat.doc.NoopSink
 
numLines() - 类中的方法 com.palantir.javaformat.doc.State
Counts how many lines a particular formatting took.

O

Obs - com.palantir.javaformat.doc中的类
These classes exist purely for observing the operation of Doc.computeBreaks(com.palantir.javaformat.CommentsHelper, int, com.palantir.javaformat.doc.State, com.palantir.javaformat.doc.Obs.ExplorationNode), including all the alternative hypotheses it has considered and rejected before deciding on the final formatting.
Obs.ExplorationNode - com.palantir.javaformat.doc中的接口
Within an 'exploration', allows you to descend into child levels.
Obs.FinishExplorationNode - com.palantir.javaformat.doc中的接口
 
Obs.FinishLevelNode - com.palantir.javaformat.doc中的接口
 
Obs.Sink - com.palantir.javaformat.doc中的接口
 
op(String) - 类中的方法 com.palantir.javaformat.OpsBuilder
Emit a single- or multi-character op by breaking it into single-character Tokens.
Op - com.palantir.javaformat中的接口
An Op is a member of the sequence of formatting operations emitted by OpsBuilder and transformed by DocBuilder into a Doc.
open(Indent) - 类中的方法 com.palantir.javaformat.OpsBuilder
Open a new level by emitting an OpenOp.
open(Indent, BreakBehaviour, LastLevelBreakability) - 类中的方法 com.palantir.javaformat.OpsBuilder
Open a new level by emitting an OpenOp.
open(OpenOp) - 类中的方法 com.palantir.javaformat.doc.DocBuilder
Open a new Level.
open(OpenOp) - 类中的方法 com.palantir.javaformat.OpsBuilder
 
open(String, Indent) - 类中的方法 com.palantir.javaformat.OpsBuilder
Open a new level by emitting an OpenOp.
OpenOp - com.palantir.javaformat中的类
An OpenOp opens a level.
OpenOp() - 类的构造器 com.palantir.javaformat.OpenOp
 
OpenOp.Builder - com.palantir.javaformat中的类
 
OpenOp.Complexity - com.palantir.javaformat中的枚举类
 
ops() - 接口中的方法 com.palantir.javaformat.OpsBuilder.OpsOutput
 
OpsBuilder - com.palantir.javaformat中的类
An OpsBuilder creates a list of Ops, which is turned into a Doc by DocBuilder.
OpsBuilder(Input) - 类的构造器 com.palantir.javaformat.OpsBuilder
The OpsBuilder constructor.
OpsBuilder.BlankLineWanted - com.palantir.javaformat中的类
A request to add or remove a blank line in the output.
OpsBuilder.OpsOutput - com.palantir.javaformat中的接口
 
optTag() - 类中的方法 com.palantir.javaformat.doc.Break
 
Output - com.palantir.javaformat中的类
An output from the formatter.
Output() - 类的构造器 com.palantir.javaformat.Output
 

P

partialFormatRanges() - 接口中的方法 com.palantir.javaformat.java.InputMetadata
Marks regions that can be partially formatted, used to determine the actual ranges that will be formatted when ranges are requested.
partialInlineability() - 类中的方法 com.palantir.javaformat.doc.Level
 
partialInlineability() - 类中的方法 com.palantir.javaformat.OpenOp
 
PartialInlineability - com.palantir.javaformat中的枚举类
What are the conditions for a level to be partially inlineable.
peekToken() - 类中的方法 com.palantir.javaformat.OpsBuilder
Return the text of the next Input.Token, or absent if there is none.
peekToken(int) - 类中的方法 com.palantir.javaformat.OpsBuilder
Return the text of an upcoming Input.Token, or absent if there is none.
plusFour - 类中的变量 com.palantir.javaformat.java.JavaInputAstVisitor
 
plusIndent() - 类中的方法 com.palantir.javaformat.doc.Break
 
plusIndent() - 类中的方法 com.palantir.javaformat.OpenOp
The extra indent inside this level.
plusTwo - 类中的变量 com.palantir.javaformat.java.JavaInputAstVisitor
 
preferBreakingLastInnerLevel(boolean) - 接口中的方法 com.palantir.javaformat.BreakBehaviour.Cases
If the last level is breakable, prefer breaking it if it will keep the rest of this level on line line.
PRESERVE - 类中的静态变量 com.palantir.javaformat.OpsBuilder.BlankLineWanted
Explicitly preserve blank lines from the input (e.g. before the first member in a class declaration).
processArgs(String...) - 类中的静态方法 com.palantir.javaformat.java.Main
Parses and validates command-line flags.

R

ranges - 类中的变量 com.palantir.javaformat.InputOutput
The Ranges of the tokens or comments lying on each line, in any part.
REAL - 枚举类 中的枚举常量 com.palantir.javaformat.doc.Token.RealOrImaginary
 
realOrImaginary() - 类中的方法 com.palantir.javaformat.doc.Token
Is the token good?
RECORD - 类中的静态变量 com.palantir.javaformat.java.JavaInputAstVisitor
 
removeUnusedImports(String) - 类中的静态方法 com.palantir.javaformat.java.RemoveUnusedImports
 
RemoveUnusedImports - com.palantir.javaformat.java中的类
Removes unused imports from a source file.
RemoveUnusedImports() - 类的构造器 com.palantir.javaformat.java.RemoveUnusedImports
 
reorderImports(String) - 类中的静态方法 com.palantir.javaformat.java.ImportOrderer
reorderImports(String, JavaFormatterOptions.Style) - 类中的静态方法 com.palantir.javaformat.java.ImportOrderer
Reorder the inputs in text, a complete Java program.
representation(State) - 类中的方法 com.palantir.javaformat.doc.Level
An indented representation of this level and all nested levels inside it.
rewrite(Input.Tok, int, int) - 接口中的方法 com.palantir.javaformat.CommentsHelper
Try to rewrite comments, returning rewritten text.
rewrite(Input.Tok, int, int) - 类中的方法 com.palantir.javaformat.java.JavaCommentsHelper
 

S

scan(Tree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
setCompilationUnit(JCTree.JCCompilationUnit) - 类中的方法 com.palantir.javaformat.java.JavaInput
 
setLines(ImmutableList<String>) - 类中的方法 com.palantir.javaformat.InputOutput
Set the lines.
SIMPLE - 枚举类 中的枚举常量 com.palantir.javaformat.OpenOp.Complexity
This level is simple.
space() - 类中的方法 com.palantir.javaformat.OpsBuilder
startExplorationNode(int, OptionalInt, String, int, Optional<State>) - 类中的方法 com.palantir.javaformat.doc.NoopSink
 
startExplorationNode(int, OptionalInt, String, int, Optional<State>) - 接口中的方法 com.palantir.javaformat.doc.Obs.Sink
 
startExplorationNode(int, OptionalInt, String, int, Optional<State>) - 类中的方法 com.palantir.javaformat.java.JsonSink
 
startingState() - 类中的静态方法 com.palantir.javaformat.doc.State
 
startPosition(Input.Token) - 类中的静态方法 com.palantir.javaformat.java.JavaOutput
The earliest position of any Tok in the Token, including leading whitespace.
startTok(Input.Token) - 类中的静态方法 com.palantir.javaformat.java.JavaOutput
The earliest non-whitespace Tok in the Token.
State - com.palantir.javaformat.doc中的类
State for writing.
State() - 类的构造器 com.palantir.javaformat.doc.State
 
State.Builder - com.palantir.javaformat.doc中的类
 
STRING_CONCAT_DELIMITER - 类中的静态变量 com.palantir.javaformat.java.StringWrapper
 
StringWrapper - com.palantir.javaformat.java中的类
Wraps string literals that exceed the column limit.
sync(int) - 类中的方法 com.palantir.javaformat.OpsBuilder
Sync to position in the input.
sync(Tree) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
Sync to position in the input.

T

TEXT_BLOCK_DELIMITER - 类中的静态变量 com.palantir.javaformat.java.StringWrapper
 
token(String) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
Emit a Token.
token(String, Token.RealOrImaginary, Indent, Optional<Indent>) - 类中的方法 com.palantir.javaformat.OpsBuilder
 
token(String, Indent) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
Emit a Token.
Token - com.palantir.javaformat.doc中的类
A leaf Doc for a token.
Token.RealOrImaginary - com.palantir.javaformat.doc中的枚举类
Is a Token a real token, or imaginary (e.g., a token generated incorrectly, or an EOF)?
tokStates() - 类中的方法 com.palantir.javaformat.doc.State
Keep track of how each Comment was written (these are mostly comments), which can differ depending on the starting column and the maxLength.
toString() - 类中的方法 com.palantir.javaformat.BreakBehaviour
toString() - 枚举类中的方法 com.palantir.javaformat.CloseOp
 
toString() - 类中的方法 com.palantir.javaformat.doc.Comment
 
toString() - 类中的方法 com.palantir.javaformat.doc.DocBuilder
 
toString() - 类中的方法 com.palantir.javaformat.doc.Level
 
toString() - 类中的方法 com.palantir.javaformat.doc.NonBreakingSpace
 
toString() - 类中的方法 com.palantir.javaformat.doc.Token
 
toString() - 类中的方法 com.palantir.javaformat.Indent.Const
 
toString() - 类中的方法 com.palantir.javaformat.Indent.If
 
toString() - 类中的方法 com.palantir.javaformat.Input
 
toString() - 类中的方法 com.palantir.javaformat.InputOutput
 
toString() - 类中的方法 com.palantir.javaformat.java.JavaInput
 
toString() - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
toString() - 类中的方法 com.palantir.javaformat.java.JavaOutput
 
toString() - 类中的方法 com.palantir.javaformat.OpsBuilder
 
toString() - 类中的方法 com.palantir.javaformat.Output
 
TypeNameClassifier - com.palantir.javaformat.java中的类
Heuristics for classifying qualified names as types.
TypeNameClassifier.JavaCaseFormat - com.palantir.javaformat.java中的枚举类
Case formats used in Java identifiers.
typeParametersRest(List<? extends TypeParameterTree>, Indent) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
Does not omit the leading '无效输入:'<'', which should be associated with the type name.

U

UNIFIED - 枚举类 中的枚举常量 com.palantir.javaformat.doc.FillMode
If a Level will not fit on one line, all of its UNIFIED Breaks will be broken.
UPPER_CAMEL - 枚举类 中的枚举常量 com.palantir.javaformat.java.TypeNameClassifier.JavaCaseFormat
 
UPPERCASE - 枚举类 中的枚举常量 com.palantir.javaformat.java.TypeNameClassifier.JavaCaseFormat
 
Utils - com.palantir.javaformat中的类
 

V

valueOf(String) - 枚举类中的静态方法 com.palantir.javaformat.CloseOp
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 com.palantir.javaformat.doc.FillMode
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 com.palantir.javaformat.doc.Token.RealOrImaginary
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 com.palantir.javaformat.java.JavaInputAstVisitor.AllowLeadingBlankLine
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 com.palantir.javaformat.java.JavaInputAstVisitor.AllowTrailingBlankLine
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 com.palantir.javaformat.java.JavaInputAstVisitor.BracesOrNot
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 com.palantir.javaformat.java.JavaInputAstVisitor.CollapseEmptyOrNot
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 com.palantir.javaformat.java.JavaInputAstVisitor.Direction
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 com.palantir.javaformat.java.JavaInputAstVisitor.FirstDeclarationsOrNot
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 com.palantir.javaformat.java.TypeNameClassifier.JavaCaseFormat
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 com.palantir.javaformat.LastLevelBreakability
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 com.palantir.javaformat.OpenOp.Complexity
返回带有指定名称的该类的枚举常量。
valueOf(String) - 枚举类中的静态方法 com.palantir.javaformat.PartialInlineability
返回带有指定名称的该类的枚举常量。
values() - 枚举类中的静态方法 com.palantir.javaformat.CloseOp
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 com.palantir.javaformat.doc.FillMode
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 com.palantir.javaformat.doc.Token.RealOrImaginary
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 com.palantir.javaformat.java.JavaInputAstVisitor.AllowLeadingBlankLine
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 com.palantir.javaformat.java.JavaInputAstVisitor.AllowTrailingBlankLine
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 com.palantir.javaformat.java.JavaInputAstVisitor.BracesOrNot
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 com.palantir.javaformat.java.JavaInputAstVisitor.CollapseEmptyOrNot
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 com.palantir.javaformat.java.JavaInputAstVisitor.Direction
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 com.palantir.javaformat.java.JavaInputAstVisitor.FirstDeclarationsOrNot
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 com.palantir.javaformat.java.TypeNameClassifier.JavaCaseFormat
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 com.palantir.javaformat.LastLevelBreakability
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 com.palantir.javaformat.OpenOp.Complexity
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
values() - 枚举类中的静态方法 com.palantir.javaformat.PartialInlineability
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
variableName(Name) - 类中的方法 com.palantir.javaformat.java.java21.Java21InputAstVisitor
 
variableName(Name) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
VERTICAL - 枚举类 中的枚举常量 com.palantir.javaformat.java.JavaInputAstVisitor.Direction
 
visit(Doc) - 接口中的方法 com.palantir.javaformat.doc.DocVisitor
 
visit(Name) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitAnnotatedType(AnnotatedTypeTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitAnnotation(AnnotationTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitAnnotationArgument(AssignmentTree) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitAnnotationType(ClassTree) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitArrayAccess(ArrayAccessTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitArrayInitializer(List<? extends ExpressionTree>) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitArrayType(ArrayTypeTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitAssert(AssertTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitAssignment(AssignmentTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitBinary(BinaryTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitBindingPattern(BindingPatternTree, Void) - 类中的方法 com.palantir.javaformat.java.java14.Java14InputAstVisitor
 
visitBlock(BlockTree, JavaInputAstVisitor.CollapseEmptyOrNot, JavaInputAstVisitor.AllowLeadingBlankLine, JavaInputAstVisitor.AllowTrailingBlankLine) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
Helper method for blocks.
visitBlock(BlockTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitBreak(Break) - 接口中的方法 com.palantir.javaformat.doc.DocVisitor
 
visitBreak(Break) - 类中的方法 com.palantir.javaformat.doc.JsonDocVisitor
 
visitBreak(Break) - 类中的方法 com.palantir.javaformat.doc.LevelDelimitedFlatValueDocVisitor
 
visitBreak(BreakTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitCase(CaseTree, Void) - 类中的方法 com.palantir.javaformat.java.java14.Java14InputAstVisitor
 
visitCase(CaseTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitCatch(CatchTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitClass(ClassTree, Void) - 类中的方法 com.palantir.javaformat.java.java14.Java14InputAstVisitor
 
visitClass(ClassTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitClassDeclaration(ClassTree) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitComment(Comment) - 接口中的方法 com.palantir.javaformat.doc.DocVisitor
 
visitComment(Comment) - 类中的方法 com.palantir.javaformat.doc.JsonDocVisitor
 
visitComment(Comment) - 类中的方法 com.palantir.javaformat.doc.LevelDelimitedFlatValueDocVisitor
 
visitCompilationUnit(CompilationUnitTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitCompoundAssignment(CompoundAssignmentTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitConditionalExpression(ConditionalExpressionTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitConstantCaseLabel(ConstantCaseLabelTree, Void) - 类中的方法 com.palantir.javaformat.java.java21.Java21InputAstVisitor
 
visitContinue(ContinueTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitDeconstructionPattern(DeconstructionPatternTree, Void) - 类中的方法 com.palantir.javaformat.java.java21.Java21InputAstVisitor
 
visitDefaultCaseLabel(DefaultCaseLabelTree, Void) - 类中的方法 com.palantir.javaformat.java.java21.Java21InputAstVisitor
 
visitDoWhileLoop(DoWhileLoopTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitEmptyStatement(EmptyStatementTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitEnhancedForLoop(EnhancedForLoopTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitEnumDeclaration(ClassTree) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitExports(ExportsTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitExpressionStatement(ExpressionStatementTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitForLoop(ForLoopTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitFormals(Optional<VariableTree>, List<? extends VariableTree>) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitIdentifier(IdentifierTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitIf(IfTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitImport(ImportTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitInstanceOf(InstanceOfTree, Void) - 类中的方法 com.palantir.javaformat.java.java14.Java14InputAstVisitor
 
visitInstanceOf(InstanceOfTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitIntersectionType(IntersectionTypeTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitLabeledStatement(LabeledStatementTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitLambdaExpression(LambdaExpressionTree, boolean) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitLambdaExpression(LambdaExpressionTree, Void) - 类中的方法 com.palantir.javaformat.java.java14.Java14InputAstVisitor
TODO(fwindheuser): Collapse with JavaInputAstVisitor.visitLambdaExpression(LambdaExpressionTree, Void)} after dropping Java 11 compatibility.
visitLambdaExpression(LambdaExpressionTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitLevel(Level) - 接口中的方法 com.palantir.javaformat.doc.DocVisitor
 
visitLevel(Level) - 类中的方法 com.palantir.javaformat.doc.JsonDocVisitor
 
visitLevel(Level) - 类中的方法 com.palantir.javaformat.doc.LevelDelimitedFlatValueDocVisitor
 
visitLiteral(LiteralTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitMemberReference(MemberReferenceTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitMemberSelect(MemberSelectTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitMethod(MethodTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitMethodInvocation(MethodInvocationTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitModifiers(ModifiersTree, JavaInputAstVisitor.Direction, Optional<BreakTag>) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
Output combined modifiers and annotations and returns the trailing break.
visitModifiers(ModifiersTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitModule(ModuleTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitNewArray(NewArrayTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitNewClass(NewClassTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitOpens(OpensTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitParameterizedType(ParameterizedTypeTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitParenthesized(ParenthesizedTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitPatternCaseLabel(PatternCaseLabelTree, Void) - 类中的方法 com.palantir.javaformat.java.java21.Java21InputAstVisitor
 
visitPrimitiveType(PrimitiveTypeTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitProvides(ProvidesTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitRecordDeclaration(ClassTree) - 类中的方法 com.palantir.javaformat.java.java14.Java14InputAstVisitor
 
visitRequires(RequiresTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitReturn(ReturnTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitSpace(NonBreakingSpace) - 接口中的方法 com.palantir.javaformat.doc.DocVisitor
 
visitSpace(NonBreakingSpace) - 类中的方法 com.palantir.javaformat.doc.JsonDocVisitor
 
visitSpace(NonBreakingSpace) - 类中的方法 com.palantir.javaformat.doc.LevelDelimitedFlatValueDocVisitor
 
visitStatements(List<? extends StatementTree>, boolean) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitSwitch(ExpressionTree, List<? extends CaseTree>) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitSwitch(SwitchTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitSwitchExpression(SwitchExpressionTree, Void) - 类中的方法 com.palantir.javaformat.java.java14.Java14InputAstVisitor
 
visitSynchronized(SynchronizedTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitThrow(ThrowTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitToken(Token) - 接口中的方法 com.palantir.javaformat.doc.DocVisitor
 
visitToken(Token) - 类中的方法 com.palantir.javaformat.doc.JsonDocVisitor
 
visitToken(Token) - 类中的方法 com.palantir.javaformat.doc.LevelDelimitedFlatValueDocVisitor
 
visitTry(TryTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitTypeCast(TypeCastTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitTypeParameter(TypeParameterTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitUnary(UnaryTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitUnionType(UnionTypeTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitUses(UsesTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitVariable(VariableTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitWhileLoop(WhileLoopTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitWildcard(WildcardTree, Void) - 类中的方法 com.palantir.javaformat.java.JavaInputAstVisitor
 
visitYield(YieldTree, Void) - 类中的方法 com.palantir.javaformat.java.java14.Java14InputAstVisitor
 

W

wanted(State) - 类中的方法 com.palantir.javaformat.OpsBuilder.BlankLineWanted
Is the blank line wanted?
wasBreakTaken(BreakTag) - 类中的方法 com.palantir.javaformat.doc.State
 
withOps(List<Op>) - 类中的方法 com.palantir.javaformat.doc.DocBuilder
Add a list of Ops to the OpsBuilder.
write(State, Output) - 类中的方法 com.palantir.javaformat.doc.Break
 
write(State, Output) - 类中的方法 com.palantir.javaformat.doc.Comment
 
write(State, Output) - 类中的方法 com.palantir.javaformat.doc.Doc
Write a Doc to an Output, after breaking decisions have been made.
write(State, Output) - 类中的方法 com.palantir.javaformat.doc.Level
 
write(State, Output) - 类中的方法 com.palantir.javaformat.doc.NonBreakingSpace
 
write(State, Output) - 类中的方法 com.palantir.javaformat.doc.Token
 
writeLevelNode(int, int, State, Level) - 类中的方法 com.palantir.javaformat.doc.NoopSink
 
writeLevelNode(int, int, State, Level) - 接口中的方法 com.palantir.javaformat.doc.Obs.Sink
Write the given level node
writeLevelNode(int, int, State, Level) - 类中的方法 com.palantir.javaformat.java.JsonSink
 

Y

YES - 枚举类 中的枚举常量 com.palantir.javaformat.java.JavaInputAstVisitor.AllowLeadingBlankLine
 
YES - 枚举类 中的枚举常量 com.palantir.javaformat.java.JavaInputAstVisitor.AllowTrailingBlankLine
 
YES - 枚举类 中的枚举常量 com.palantir.javaformat.java.JavaInputAstVisitor.BracesOrNot
 
YES - 枚举类 中的枚举常量 com.palantir.javaformat.java.JavaInputAstVisitor.CollapseEmptyOrNot
 
YES - 枚举类 中的枚举常量 com.palantir.javaformat.java.JavaInputAstVisitor.FirstDeclarationsOrNot
 
YES - 类中的静态变量 com.palantir.javaformat.OpsBuilder.BlankLineWanted
Always emit a blank line.

Z

ZERO - 类中的静态变量 com.palantir.javaformat.Indent.Const
 
ZERO - 类中的静态变量 com.palantir.javaformat.java.JavaInputAstVisitor
 
A B C D E F G H I J L M N O P R S T U V W Y Z 
常量字段值|所有程序包|所有类和接口|序列化表格