Package com._1c.g5.v8.dt.debug.util
Class BreakpointLocationValidator
java.lang.Object
com._1c.g5.v8.dt.debug.util.BreakpointLocationValidator
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
Modifier and TypeMethodDescriptionstatic intgetValidLocation(Module module, int line) Get valid location of module.static intgetValidLocationInsideMethod(Module module, int line) Get valid location of module inside method.
-
Method Details
-
getValidLocation
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
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
-