Class Removed
java.lang.Object
com.github.javaparser.printer.lexicalpreservation.Removed
- All Implemented Interfaces:
DifferenceElement
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from interface DifferenceElement
isChild, replaceEolTokens
-
Field Details
-
element
-
-
Constructor Details
-
Removed
Removed(CsmElement element)
-
-
Method Details
-
toString
-
equals
-
hashCode
-
getElement
Description copied from interface:DifferenceElementReturn the CsmElement considered in this DifferenceElement.- Specified by:
getElementin interfaceDifferenceElement
-
getChild
-
getTokenType
public int getTokenType() -
isAdded
public boolean isAdded()- Specified by:
isAddedin interfaceDifferenceElement
-
isRemoved
public boolean isRemoved()- Specified by:
isRemovedin interfaceDifferenceElement
-
isKept
public boolean isKept()- Specified by:
isKeptin interfaceDifferenceElement
-
isToken
public boolean isToken() -
isPrimitiveType
public boolean isPrimitiveType() -
isWhiteSpace
public boolean isWhiteSpace() -
isWhiteSpaceNotEol
public boolean isWhiteSpaceNotEol() -
isNewLine
public boolean isNewLine()
-