(String pattern, int flags, RE2 re2)
| 61 | |
| 62 | // This is visible for testing. |
| 63 | Pattern(String pattern, int flags, RE2 re2) { |
| 64 | if (pattern == null) { |
| 65 | throw new NullPointerException("pattern is null"); |
| 66 | } |
| 67 | if (re2 == null) { |
| 68 | throw new NullPointerException("re2 is null"); |
| 69 | } |
| 70 | this.pattern = pattern; |
| 71 | this.flags = flags; |
| 72 | this.re2 = re2; |
| 73 | } |
| 74 | |
| 75 | /** |
| 76 | * Releases memory used by internal caches associated with this pattern. Does not change the |
nothing calls this directly
no outgoing calls
no test coverage detected