MCPcopy Index your code
hub / github.com/processing/processing / getFileForContrib

Method getFileForContrib

app/src/processing/app/Base.java:529–537  ·  view source on GitHub ↗
(ModeContribution contrib,
                                 Map<File, ModeContribution> known)

Source from the content-addressed store, hash-verified

527
528
529 static private File getFileForContrib(ModeContribution contrib,
530 Map<File, ModeContribution> known) {
531 for (Entry<File, ModeContribution> entry : known.entrySet()) {
532 if (entry.getValue() == contrib) {
533 return entry.getKey();
534 }
535 }
536 return null;
537 }
538
539
540 /**

Callers 1

rebuildContribModesMethod · 0.95

Calls 2

getValueMethod · 0.80
getKeyMethod · 0.80

Tested by

no test coverage detected