test_class.file: util/src/test/java/org/microbule/util/reflect/DelegatingClassLoaderTest.java
test_class.identifier: DelegatingClassLoaderTest
test_class.superclass: extends MockObjectTestCase
test_case.body: @Test
      public void testEquals() {
          final URLClassLoader delegate = new URLClassLoader(new URL[]{DelegatingClassLoader.class.getProtectionDomain().getCodeSource().getLocation()});
          final DelegatingClassLoader loader1 = new DelegatingClassLoader(ClassLoader.getSystemClassLoader(), delegate);
          final DelegatingClassLoader loader2 = new DelegatingClassLoader(ClassLoader.getSystemClassLoader(), delegate);
          assertNotEquals(loader1, null);
          assertNotEquals(loader1, "FOO");
          assertEquals(loader1, loader1);
          assertEquals(loader1, loader2);
      }
test_case.class_method_signature: DelegatingClassLoaderTest.testEquals()
test_case.full_signature: @Test public void testEquals()
test_case.identifier: testEquals
test_case.invocations: getLocation getCodeSource getProtectionDomain getSystemClassLoader getSystemClassLoader assertNotEquals assertNotEquals assertEquals assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEquals()
focal_class.declarator: delegate
focal_class.modifier: private final
focal_class.original_string: private final ClassLoader delegate;
focal_class.type: ClassLoader
focal_class.var_name: delegate
focal_class.file: util/src/main/java/org/microbule/util/reflect/DelegatingClassLoader.java
focal_class.identifier: DelegatingClassLoader
focal_class.class_method_signature: DelegatingClassLoader.DelegatingClassLoader(ClassLoader parent, ClassLoader delegate)
focal_class.full_signature: public  DelegatingClassLoader(ClassLoader parent, ClassLoader delegate)
focal_class.identifier: DelegatingClassLoader
focal_class.modifiers: public
focal_class.parameters: (ClassLoader parent, ClassLoader delegate)
focal_class.signature:  DelegatingClassLoader(ClassLoader parent, ClassLoader delegate)
focal_class.class_method_signature: DelegatingClassLoader.getDelegate()
focal_class.full_signature: public ClassLoader getDelegate()
focal_class.identifier: getDelegate
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ClassLoader
focal_class.signature: ClassLoader getDelegate()
focal_class.class_method_signature: DelegatingClassLoader.equals(Object o)
focal_class.full_signature: @Override public boolean equals(Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(Object o)
focal_class.class_method_signature: DelegatingClassLoader.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: DelegatingClassLoader.findClass(String name)
focal_class.full_signature: @Override protected Class<?> findClass(String name)
focal_class.identifier: findClass
focal_class.modifiers: @Override protected
focal_class.parameters: (String name)
focal_class.return: Class<?>
focal_class.signature: Class<?> findClass(String name)
focal_class.superclass: extends ClassLoader
focal_method.body: @Override
      public boolean equals(Object o) {
          if (this == o) return true;
  
          if (o == null || getClass() != o.getClass()) return false;
  
          DelegatingClassLoader that = (DelegatingClassLoader) o;
  
          return new EqualsBuilder()
                  .append(getParent(), that.getParent())
                  .append(delegate, that.delegate)
                  .isEquals();
      }
focal_method.class_method_signature: DelegatingClassLoader.equals(Object o)
focal_method.full_signature: @Override public boolean equals(Object o)
focal_method.identifier: equals
focal_method.invocations: getClass getClass isEquals append append getParent getParent
focal_method.modifiers: @Override public
focal_method.parameters: (Object o)
focal_method.return: boolean
focal_method.signature: boolean equals(Object o)