Class Added
java.lang.Object
com.github.javaparser.printer.lexicalpreservation.Added
- All Implemented Interfaces:
DifferenceElement
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return the CsmElement considered in this DifferenceElement.int
hashCode()
boolean
isAdded()
boolean
isIndent()
boolean
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
-
isAdded
public boolean isAdded()- Specified by:
isAdded
in interfaceDifferenceElement
-
isRemoved
public boolean isRemoved()- Specified by:
isRemoved
in interfaceDifferenceElement
-
isIndent
public boolean isIndent() -
isUnindent
public boolean isUnindent() -
toTextElement
-
replaceEolTokens
- Specified by:
replaceEolTokens
in interfaceDifferenceElement
-