Uses of Class
com.github.javaparser.Position
-
Packages that use Position Package Description com.github.javaparser com.github.javaparser.ast.nodeTypes com.github.javaparser.printer -
-
Uses of Position in com.github.javaparser
Fields in com.github.javaparser declared as Position Modifier and Type Field Description PositionRange. beginPositionRange. endstatic PositionPosition. HOMEThe first position in the fileMethods in com.github.javaparser that return Position Modifier and Type Method Description PositionPosition. orIfInvalid(Position anotherPosition)static PositionPosition. pos(int line, int column)Convenient factory method.PositionPosition. withColumn(int column)PositionPosition. withLine(int line)Methods in com.github.javaparser with parameters of type Position Modifier and Type Method Description intPosition. compareTo(Position o)booleanPosition. isAfter(Position position)booleanRange. isAfter(Position position)booleanPosition. isBefore(Position position)booleanRange. isBefore(Position position)PositionPosition. orIfInvalid(Position anotherPosition)static RangeRange. range(Position begin, Position end)RangeRange. withBegin(Position begin)RangeRange. withEnd(Position end)Constructors in com.github.javaparser with parameters of type Position Constructor Description Range(Position begin, Position end) -
Uses of Position in com.github.javaparser.ast.nodeTypes
Methods in com.github.javaparser.ast.nodeTypes that return types with arguments of type Position Modifier and Type Method Description default Optional<Position>NodeWithRange. getBegin()The begin position of this node in the source file.default Optional<Position>NodeWithRange. getEnd()The end position of this node in the source file.Methods in com.github.javaparser.ast.nodeTypes with parameters of type Position Modifier and Type Method Description default booleanNodeWithRange. isPositionedAfter(Position position)Deprecated.use isAfter() on rangedefault booleanNodeWithRange. isPositionedBefore(Position position)Deprecated.use isBefore() on range -
Uses of Position in com.github.javaparser.printer
Methods in com.github.javaparser.printer that return Position Modifier and Type Method Description PositionSourcePrinter. getCursor()Return the current cursor position (line, column) in the source printer buffer.
-