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

Method getUid

src/main/java/matcher/type/ClassInstance.java:879–892  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

877 }
878
879 @Override
880 public int getUid() {
881 if (uid >= 0) {
882 if (matchedClass != null && matchedClass.uid >= 0) {
883 return Math.min(uid, matchedClass.uid);
884 } else {
885 return uid;
886 }
887 } else if (matchedClass != null) {
888 return matchedClass.uid;
889 } else {
890 return -1;
891 }
892 }
893
894 public void setUid(int uid) {
895 this.uid = uid;

Callers 1

getNameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected