MCPcopy Create free account
hub / github.com/LFYSec/MScan / equals

Method equals

src/main/java/pascal/taie/language/type/ClassType.java:57–68  ·  view source on GitHub ↗
(Object o)

Source from the content-addressed store, hash-verified

55 }
56
57 @Override
58 public boolean equals(Object o) {
59 if (this == o) {
60 return true;
61 }
62 if (o == null || getClass() != o.getClass()) {
63 return false;
64 }
65 ClassType classType = (ClassType) o;
66 return loader.equals(classType.loader)
67 && name.equals(classType.name);
68 }
69
70 @Override
71 public int hashCode() {

Callers 7

getUnboxedTypeMethod · 0.45
isSubtypeMethod · 0.45
isPrimitiveTypeMethod · 0.45
getMethod · 0.45
buildTypeParameterMethod · 0.45
isJavaLangObjectMethod · 0.45

Calls 1

getClassMethod · 0.65

Tested by

no test coverage detected