Class Added
java.lang.Object
com.github.javaparser.printer.lexicalpreservation.Added
- All Implemented Interfaces:
DifferenceElement
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the CsmElement considered in this DifferenceElement.inthashCode()booleanisAdded()booleanisIndent()booleanisKept()booleanbooleanprivate booleanisToken()booleanreplaceEolTokens(CsmElement lineSeparator) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.javaparser.printer.lexicalpreservation.DifferenceElement
isChild
-
Field Details
-
element
-
-
Constructor Details
-
Added
Added(CsmElement element)
-
-
Method Details
-
toString
-
equals
-
hashCode
public int hashCode() -
getElement
Description copied from interface:DifferenceElementReturn the CsmElement considered in this DifferenceElement.- Specified by:
getElementin interfaceDifferenceElement
-
isAdded
public boolean isAdded()- Specified by:
isAddedin interfaceDifferenceElement
-
isRemoved
public boolean isRemoved()- Specified by:
isRemovedin interfaceDifferenceElement
-
isKept
public boolean isKept()- Specified by:
isKeptin interfaceDifferenceElement
-
isIndent
public boolean isIndent() -
isUnindent
public boolean isUnindent() -
isToken
private boolean isToken() -
toTextElement
-
replaceEolTokens
- Specified by:
replaceEolTokensin interfaceDifferenceElement
-
isNewLine
public boolean isNewLine()
-