MCPcopy Create free account
hub / github.com/FabricMC/Matcher / setMatch

Method setMatch

src/main/java/matcher/type/ClassInstance.java:344–349  ·  view source on GitHub ↗
(ClassInstance cls)

Source from the content-addressed store, hash-verified

342 }
343
344 public void setMatch(ClassInstance cls) {
345 assert cls == null || isMatchable();
346 assert cls == null || cls.getEnv() != env && !cls.getEnv().isShared();
347
348 this.matchedClass = cls;
349 }
350
351 @Override
352 public boolean isFullyMatched(boolean recursive) {

Callers 4

matchMethod · 0.45
unmatchMembersMethod · 0.45
unmatchArgsVarsMethod · 0.45
unmatchMethod · 0.45

Calls 3

isMatchableMethod · 0.95
getEnvMethod · 0.65
isSharedMethod · 0.65

Tested by

no test coverage detected