Class Removed
- java.lang.Object
-
- com.github.javaparser.printer.lexicalpreservation.Removed
-
- All Implemented Interfaces:
DifferenceElement
public class Removed extends java.lang.Object implements DifferenceElement
-
-
Field Summary
Fields Modifier and Type Field Description private CsmElementelement
-
Constructor Summary
Constructors Constructor Description Removed(CsmElement element)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)NodegetChild()CsmElementgetElement()Return the CsmElement considered in this DifferenceElement.intgetTokenType()inthashCode()booleanisAdded()booleanisKept()booleanisNewLine()booleanisPrimitiveType()booleanisRemoved()booleanisToken()booleanisWhiteSpace()booleanisWhiteSpaceNotEol()java.lang.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, replaceEolTokens
-
-
-
-
Field Detail
-
element
private final CsmElement element
-
-
Constructor Detail
-
Removed
Removed(CsmElement element)
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
getElement
public CsmElement getElement()
Description copied from interface:DifferenceElementReturn the CsmElement considered in this DifferenceElement.- Specified by:
getElementin interfaceDifferenceElement
-
getChild
public Node 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()
-
-