Uses of Class
com.github.javaparser.printer.lexicalpreservation.Removed
Packages that use Removed
-
Uses of Removed in com.github.javaparser.printer.lexicalpreservation
Fields in com.github.javaparser.printer.lexicalpreservation with type parameters of type RemovedMethods in com.github.javaparser.printer.lexicalpreservation that return RemovedModifier and TypeMethodDescription(package private) final Removed
RemovedGroup.getFirstElement()
Returns the first element of this RemovedGroup(package private) final Removed
RemovedGroup.getLastElement()
Returns the last element of this RemovedGroupMethods in com.github.javaparser.printer.lexicalpreservation that return types with arguments of type RemovedModifier and TypeMethodDescriptionprivate Map
<Removed, RemovedGroup> Difference.combineRemovedElementsToRemovedGroups()
Maps all Removed elements as keys to their corresponding RemovedGroup.Difference.groupConsecutiveRemovedElements()
RemovedGroup.iterator()
Methods in com.github.javaparser.printer.lexicalpreservation with parameters of type RemovedModifier and TypeMethodDescriptionprivate void
Difference.applyRemovedDiffElement
(RemovedGroup removedGroup, Removed removed, TextElement originalElement, boolean originalElementIsChild, boolean originalElementIsToken) private void
Difference.cleanTheLineOfLeftOverSpace
(RemovedGroup removedGroup, Removed removed) Cleans the line of left over space if there is unnecessary indentation and the element will not be replacedprivate boolean
RemovedGroup.hasOnlyWhitespace
(Removed startElement, Function<TokenRange, Boolean> hasOnlyWhitespaceFunction) (package private) final boolean
RemovedGroup.isLastElement
(Removed element) Returns true if the specified element is the last element of this RemovedGroupMethod parameters in com.github.javaparser.printer.lexicalpreservation with type arguments of type RemovedModifier and TypeMethodDescriptionstatic RemovedGroup
Factory method to create a RemovedGroup which consists of consecutive Removed elementsConstructor parameters in com.github.javaparser.printer.lexicalpreservation with type arguments of type RemovedModifierConstructorDescriptionprivate
RemovedGroup
(Integer firstElementIndex, List<Removed> removedList)