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 TypeMethodDescriptionbooleanReturn the CsmElement considered in this DifferenceElement.inthashCode()booleanisAdded()booleanisKept()booleanreplaceEolTokens(CsmElement lineSeparator) toString()Methods inherited from interface DifferenceElement
isChild
-
Method Details
-
toString
-
equals
-
hashCode
-
getElement
Description copied from interface:DifferenceElementReturn the CsmElement considered in this DifferenceElement.- Specified by:
getElementin interfaceDifferenceElement
-
getPreviousOrder
-
getNextOrder
-
isAdded
public boolean isAdded()- Specified by:
isAddedin interfaceDifferenceElement
-
isRemoved
public boolean isRemoved()- Specified by:
isRemovedin interfaceDifferenceElement
-
isKept
public boolean isKept()- Specified by:
isKeptin interfaceDifferenceElement
-
replaceEolTokens
- Specified by:
replaceEolTokensin interfaceDifferenceElement
-