Class Added
java.lang.Object
com.github.javaparser.printer.lexicalpreservation.Added
- All Implemented Interfaces:
DifferenceElement
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn the CsmElement considered in this DifferenceElement.inthashCode()booleanisAdded()booleanisIndent()booleanbooleanreplaceEolTokens(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
-
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
-
isIndent
public boolean isIndent() -
isUnindent
public boolean isUnindent() -
toTextElement
-
replaceEolTokens
- Specified by:
replaceEolTokensin interfaceDifferenceElement
-