コード例 #1
0
 @Override
 public boolean equals(Object other) {
   if (this == other) return true;
   if (other == null || getClass() != other.getClass()) return false;
   Compiled compiled = (Compiled) other;
   return instrumentedType.equals(compiled.instrumentedType)
       && loadedTypeInitializer.equals(compiled.loadedTypeInitializer)
       && typeInitializer.equals(compiled.typeInitializer)
       && implementations.equals(compiled.implementations);
 }
コード例 #2
0
 @Override
 public boolean equals(Object other) {
   if (this == other) return true;
   if (other == null || getClass() != other.getClass()) return false;
   Prepared prepared = (Prepared) other;
   return implementations.equals(prepared.implementations)
       && loadedTypeInitializer.equals(prepared.loadedTypeInitializer)
       && typeInitializer.equals(prepared.typeInitializer)
       && instrumentedType.equals(prepared.instrumentedType)
       && methodGraph.equals(prepared.methodGraph);
 }