BraceStyleParameter

public class BraceStyleParameter extends Parameter

A parameter implementation to mimic the formatting of brace style placeholders (ie, "{n}").

See also

<a href="https://github.com/google/flogger/blob/cb9e836a897d36a78309ee8badf5cad4e6a2d3d8/api/src/main/java/com/google/common/flogger/parameter/BraceStyleParameter.java">

Original Java code of Google Flogger

Inherited properties

Link copied to clipboard
public final int index

Functions

Link copied to clipboard
protected void accept(ParameterVisitor visitor, Object value)
Link copied to clipboard
public String getFormat()
Returns the printf format string specified for this parameter (eg, "%d" or "%tc").
Link copied to clipboard
public static BraceStyleParameter of(int index)
Returns a Parameter representing a plain "brace style" placeholder "{n}".

Inherited functions

Link copied to clipboard
public final void accept(ParameterVisitor visitor, Array<Object> args)
Link copied to clipboard
protected final FormatOptions getFormatOptions()
Returns the formatting options.
Link copied to clipboard
public final int getIndex()
Returns the index of the argument to be processed by this parameter.