Class Reshuffled
- java.lang.Object
-
- com.github.javaparser.printer.lexicalpreservation.Reshuffled
-
- All Implemented Interfaces:
DifferenceElement
public class Reshuffled extends Object implements 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)CsmMixgetElement()Return the CsmElement considered in this DifferenceElement.CsmMixgetNextOrder()CsmMixgetPreviousOrder()inthashCode()booleanisAdded()booleanisKept()booleanisRemoved()DifferenceElementreplaceEolTokens(CsmElement lineSeparator)StringtoString()-
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 Detail
-
getElement
public CsmMix getElement()
Description copied from interface:DifferenceElementReturn the CsmElement considered in this DifferenceElement.- Specified by:
getElementin interfaceDifferenceElement
-
getPreviousOrder
public CsmMix getPreviousOrder()
-
getNextOrder
public CsmMix 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
public DifferenceElement replaceEolTokens(CsmElement lineSeparator)
- Specified by:
replaceEolTokensin interfaceDifferenceElement
-
-