Class Reshuffled
java.lang.Object
com.github.javaparser.printer.lexicalpreservation.Reshuffled
- All Implemented Interfaces:
DifferenceElement
Elements in a CsmMix have been reshuffled. It could also mean that
some new elements have been added or removed to the mix.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return the CsmElement considered in this DifferenceElement.int
hashCode()
boolean
isAdded()
boolean
replaceEolTokens(CsmElement lineSeparator)
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.github.javaparser.printer.lexicalpreservation.DifferenceElement
isChild
-
Method Details
-
toString
-
equals
-
hashCode
public int hashCode() -
getElement
Description copied from interface:DifferenceElement
Return the CsmElement considered in this DifferenceElement.- Specified by:
getElement
in interfaceDifferenceElement
-
getPreviousOrder
-
getNextOrder
-
isAdded
public boolean isAdded()- Specified by:
isAdded
in interfaceDifferenceElement
-
isRemoved
public boolean isRemoved()- Specified by:
isRemoved
in interfaceDifferenceElement
-
replaceEolTokens
- Specified by:
replaceEolTokens
in interfaceDifferenceElement
-