Extracts conditions (represented by a string) from given require item.
(String require)
| 71 | * Extracts conditions (represented by a string) from given require item. |
| 72 | */ |
| 73 | static String extractConditions(String require) { |
| 74 | int index = require.indexOf('('); |
| 75 | return index == -1 ? null : |
| 76 | require.substring(index + 1, require.length() - 1); |
| 77 | } |
| 78 | |
| 79 | /** |
| 80 | * Checks if options satisfy the given conditions. |
no test coverage detected