public abstract class NewLine extends AbstractCodeElement implements BlockElement, ClassBodyElement, InterfaceBodyElement
BodyElement.Kind| Modifier and Type | Method and Description |
|---|---|
void |
acceptNewLineFormattingAction(NewLineFormatting.NewLineFormattingAction action) |
void |
acceptSemicolon(Block.Semicolon semicolon) |
void |
acceptStatementOrBlockBuilder(StatementOrBlockBuilder builder) |
boolean |
equals(Object obj) |
abstract int |
hashCode() |
BodyElement.Kind |
kind() |
static CodeElement |
nextLine() |
static NewLine |
single() |
toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waithasKindacceptCodeWriterpublic static CodeElement nextLine()
public static NewLine single()
public final void acceptNewLineFormattingAction(NewLineFormatting.NewLineFormattingAction action)
acceptNewLineFormattingAction in interface BodyElementpublic final void acceptSemicolon(Block.Semicolon semicolon)
acceptSemicolon in interface BlockElementpublic final void acceptStatementOrBlockBuilder(StatementOrBlockBuilder builder)
acceptStatementOrBlockBuilder in interface BlockElementpublic final boolean equals(Object obj)
equals in class AbstractCodeElementpublic abstract int hashCode()
hashCode in class AbstractCodeElementpublic final BodyElement.Kind kind()
kind in interface BodyElementCopyright © 2019 Objectos Software LTDA. All rights reserved.