Package com._1c.g5.v8.dt.debug.util
Class BreakpointLocationValidator
- java.lang.Object
-
- com._1c.g5.v8.dt.debug.util.BreakpointLocationValidator
-
public final class BreakpointLocationValidator extends Object
Validator utility class for breakpoint location validation.- Restriction:
- This class is not intended to be sub-classed by clients.
- Restriction:
- This class is not intended to be instantiated by clients.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static intgetValidLocation(Module module, int line)Get valid location of module.static intgetValidLocationInsideMethod(Module module, int line)Get valid location of module inside method.
-
-
-
Method Detail
-
getValidLocation
public static int getValidLocation(Module module, int line)
Get valid location of module.Returns next valid line number (or just the same as given), that belongs to method, or returns just this line, if there aren't methods next to this line.
- Parameters:
module- BSL module, cannot benullline- line number of module- Returns:
- next valid line number
-
getValidLocationInsideMethod
public static int getValidLocationInsideMethod(Module module, int line)
Get valid location of module inside method.Returns next valid line number (or just the same as given), that belongs to method.
- Parameters:
module- BSL module, cannot benullline- line number of module- Returns:
- next valid line number
-
-