MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / off

Method off

src/main/java/field/utility/Log.java:72–78  ·  view source on GitHub ↗

turns a pattern off, by removing anything else associated with this pattern. If other rules (including the default) capture this output it will still be logged

(String pattern)

Source from the content-addressed store, hash-verified

70 * will still be logged
71 */
72 static public void off(String pattern) {
73 earlyFail.invalidateAll();
74 Iterator<Pair<Pattern, BiConsumer<String, Object>>> i = active.iterator();
75 while (i.hasNext()) {
76 if (i.next().first.equals(pattern)) i.remove();
77 }
78 }
79
80 /**
81 * turns a pattern off completely. All things that are associated with this pattern are removed, and a rule matching this pattern is added

Callers 15

onMethod · 0.95
disableMethod · 0.95
doneFunction · 0.45
merge.jsFile · 0.45
rulers.jsFile · 0.45
placeholder.jsFile · 0.45
stopListeningFunction · 0.45
positionFunction · 0.45
hideFunction · 0.45
abortFunction · 0.45
lintAsyncFunction · 0.45

Calls 5

hasNextMethod · 0.65
nextMethod · 0.65
iteratorMethod · 0.45
equalsMethod · 0.45
removeMethod · 0.45

Tested by

no test coverage detected