test_class.declarator: principal = new PrincipalImpl("name")
test_class.modifier: private
test_class.original_string: private Principal principal = new PrincipalImpl("name");
test_class.type: Principal
test_class.var_name: principal
test_class.file: oak-security-spi/src/test/java/org/apache/jackrabbit/oak/spi/security/principal/PrincipalImplTest.java
test_class.identifier: PrincipalImplTest
test_case.body: @Test
      public void testNotEquals() {
          List<Principal> principals = new ArrayList<>();
          principals.add(new PrincipalImpl("otherName"));
          principals.add(new Principal() {
              @Override
              public String getName() {
                  return "name";
              }
          });
  
          for (Principal p : principals) {
              assertFalse(principal.equals(p));
          }
      }
test_case.class_method_signature: PrincipalImplTest.testNotEquals()
test_case.full_signature: @Test public void testNotEquals()
test_case.identifier: testNotEquals
test_case.invocations: add add assertFalse equals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testNotEquals()
focal_class.declarator: name
focal_class.modifier: private final
focal_class.original_string: private final String name;
focal_class.type: String
focal_class.var_name: name
focal_class.file: oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/principal/PrincipalImpl.java
focal_class.identifier: PrincipalImpl
focal_class.interfaces: implements JackrabbitPrincipal
focal_class.class_method_signature: PrincipalImpl.PrincipalImpl(String name)
focal_class.full_signature: public  PrincipalImpl(String name)
focal_class.identifier: PrincipalImpl
focal_class.modifiers: public
focal_class.parameters: (String name)
focal_class.signature:  PrincipalImpl(String name)
focal_class.class_method_signature: PrincipalImpl.getName()
focal_class.full_signature: @Override public String getName()
focal_class.identifier: getName
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: PrincipalImpl.equals(Object obj)
focal_class.full_signature: @Override public boolean equals(Object obj)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (Object obj)
focal_class.return: boolean
focal_class.signature: boolean equals(Object obj)
focal_class.class_method_signature: PrincipalImpl.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: PrincipalImpl.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @Override
      public boolean equals(Object obj) {
          if (this == obj) {
              return true;
          }
          if (obj instanceof JackrabbitPrincipal) {
              return name.equals(((JackrabbitPrincipal) obj).getName());
          }
          return false;
      }
focal_method.class_method_signature: PrincipalImpl.equals(Object obj)
focal_method.full_signature: @Override public boolean equals(Object obj)
focal_method.identifier: equals
focal_method.invocations: equals getName
focal_method.modifiers: @Override public
focal_method.parameters: (Object obj)
focal_method.return: boolean
focal_method.signature: boolean equals(Object obj)