public final class PositionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
areInOrder(Node a,
Node b) |
static boolean |
areInOrder(Node a,
Node b,
boolean ignoringAnnotations) |
static AnnotationExpr |
getLastAnnotation(Node node) |
static boolean |
nodeContains(Node container,
Node contained,
boolean ignoringAnnotations) |
static <T extends Node> |
sortByBeginPosition(List<T> nodes) |
static <T extends Node> |
sortByBeginPosition(List<T> nodes,
boolean ignoringAnnotations) |
static <T extends Node> |
sortByBeginPosition(NodeList<T> nodes) |
public static <T extends Node> void sortByBeginPosition(List<T> nodes, boolean ignoringAnnotations)
public static AnnotationExpr getLastAnnotation(Node node)
Copyright © 2007–2018. All rights reserved.