test_class.declarator: entry
test_class.modifier: private
test_class.original_string: private ValidationEntry entry;
test_class.type: ValidationEntry
test_class.var_name: entry
test_class.file: oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/accesscontrol/ValidationEntryTest.java
test_class.identifier: ValidationEntryTest
test_class.superclass: extends AbstractAccessControlTest
test_case.body: @Test
      public void testEquals() {
          assertEquals(entry, new ValidationEntry(entry.principalName, entry.privilegeBits, entry.isAllow, entry.restrictions));
          assertEquals(entry, new ValidationEntry(entry.principalName, entry.privilegeBits, entry.isAllow, entry.restrictions, entry.index+1));
          assertTrue(entry.equals(entry));
      }
test_case.class_method_signature: ValidationEntryTest.testEquals()
test_case.full_signature: @Test public void testEquals()
test_case.identifier: testEquals
test_case.invocations: assertEquals assertEquals assertTrue equals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEquals()
focal_class.declarator: principalName
focal_class.modifier: protected final
focal_class.original_string: protected final String principalName;
focal_class.type: String
focal_class.var_name: principalName
focal_class.declarator: privilegeBits
focal_class.modifier: protected final
focal_class.original_string: protected final PrivilegeBits privilegeBits;
focal_class.type: PrivilegeBits
focal_class.var_name: privilegeBits
focal_class.declarator: isAllow
focal_class.modifier: protected final
focal_class.original_string: protected final boolean isAllow;
focal_class.type: boolean
focal_class.var_name: isAllow
focal_class.declarator: restrictions
focal_class.modifier: protected final
focal_class.original_string: protected final Set<Restriction> restrictions;
focal_class.type: Set<Restriction>
focal_class.var_name: restrictions
focal_class.declarator: index
focal_class.modifier: protected final
focal_class.original_string: protected final int index;
focal_class.type: int
focal_class.var_name: index
focal_class.file: oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/accesscontrol/ValidationEntry.java
focal_class.identifier: ValidationEntry
focal_class.class_method_signature: ValidationEntry.ValidationEntry(@NotNull String principalName, @NotNull PrivilegeBits privilegeBits, boolean isAllow, @NotNull Set<Restriction> restrictions)
focal_class.full_signature: public  ValidationEntry(@NotNull String principalName, @NotNull PrivilegeBits privilegeBits, boolean isAllow, @NotNull Set<Restriction> restrictions)
focal_class.identifier: ValidationEntry
focal_class.modifiers: public
focal_class.parameters: (@NotNull String principalName, @NotNull PrivilegeBits privilegeBits, boolean isAllow, @NotNull Set<Restriction> restrictions)
focal_class.signature:  ValidationEntry(@NotNull String principalName, @NotNull PrivilegeBits privilegeBits, boolean isAllow, @NotNull Set<Restriction> restrictions)
focal_class.class_method_signature: ValidationEntry.ValidationEntry(@NotNull String principalName, @NotNull PrivilegeBits privilegeBits, boolean isAllow, @NotNull Set<Restriction> restrictions, int index)
focal_class.full_signature: public  ValidationEntry(@NotNull String principalName, @NotNull PrivilegeBits privilegeBits, boolean isAllow, @NotNull Set<Restriction> restrictions, int index)
focal_class.identifier: ValidationEntry
focal_class.modifiers: public
focal_class.parameters: (@NotNull String principalName, @NotNull PrivilegeBits privilegeBits, boolean isAllow, @NotNull Set<Restriction> restrictions, int index)
focal_class.signature:  ValidationEntry(@NotNull String principalName, @NotNull PrivilegeBits privilegeBits, boolean isAllow, @NotNull Set<Restriction> restrictions, int index)
focal_class.class_method_signature: ValidationEntry.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: ValidationEntry.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_method.body: @Override
      public boolean equals(Object o) {
          if (o == this) {
              return true;
          }
          if (o instanceof ValidationEntry) {
              ValidationEntry other = (ValidationEntry) o;
              return isAllow ==  other.isAllow
                      && Objects.equal(principalName, other.principalName)
                      && privilegeBits.equals(other.privilegeBits)
                      && restrictions.equals(other.restrictions);
          }
          return false;
      }
focal_method.class_method_signature: ValidationEntry.equals(Object o)
focal_method.full_signature: @Override public boolean equals(Object o)
focal_method.identifier: equals
focal_method.invocations: equal equals equals
focal_method.modifiers: @Override public
focal_method.parameters: (Object o)
focal_method.return: boolean
focal_method.signature: boolean equals(Object o)