Convenient static factory for creating an AnalysisConfig by merely specifying id and options. The given options should be an array of key-value pairs, e.g., [k1, v1, k2, v2, ...].
(String id, Object... options)
| 123 | * of key-value pairs, e.g., [k1, v1, k2, v2, ...]. |
| 124 | */ |
| 125 | public static AnalysisConfig of(String id, Object... options) { |
| 126 | return new AnalysisConfig(null, null, id, null, convertOptions(options)); |
| 127 | } |
| 128 | |
| 129 | /** |
| 130 | * Converts an array of key-value pairs (e.g, [k1, v1, k2, v2, ...]) |
nothing calls this directly
no test coverage detected