Class Added
- java.lang.Object
-
- com.github.javaparser.printer.lexicalpreservation.Added
-
- All Implemented Interfaces:
DifferenceElement
public class Added extends Object implements DifferenceElement
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)CsmElementgetElement()Return the CsmElement considered in this DifferenceElement.inthashCode()booleanisAdded()booleanisIndent()booleanisRemoved()booleanisUnindent()StringtoString()TextElementtoTextElement()
-
-
-
Method Detail
-
getElement
public CsmElement getElement()
Description copied from interface:DifferenceElementReturn the CsmElement considered in this DifferenceElement.- Specified by:
getElementin interfaceDifferenceElement
-
isAdded
public boolean isAdded()
- Specified by:
isAddedin interfaceDifferenceElement
-
isRemoved
public boolean isRemoved()
- Specified by:
isRemovedin interfaceDifferenceElement
-
isIndent
public boolean isIndent()
-
isUnindent
public boolean isUnindent()
-
toTextElement
public TextElement toTextElement()
-
-