test_class.declarator: name
test_class.modifier: private
test_class.original_string: private String name;
test_class.type: String
test_class.var_name: name
test_class.declarator: definition
test_class.modifier: private
test_class.original_string: private RestrictionDefinitionImpl definition;
test_class.type: RestrictionDefinitionImpl
test_class.var_name: definition
test_class.file: oak-security-spi/src/test/java/org/apache/jackrabbit/oak/spi/security/authorization/restriction/RestrictionDefinitionImplTest.java
test_class.identifier: RestrictionDefinitionImplTest
test_case.body: @Test
      public void testEquals() {
          // same definition
          assertEquals(definition, new RestrictionDefinitionImpl(name, Type.NAME, true));
      }
test_case.class_method_signature: RestrictionDefinitionImplTest.testEquals()
test_case.full_signature: @Test public void testEquals()
test_case.identifier: testEquals
test_case.invocations: assertEquals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEquals()
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.declarator: type
focal_class.modifier: private final
focal_class.original_string: private final Type<?> type;
focal_class.type: Type<?>
focal_class.var_name: type
focal_class.declarator: isMandatory
focal_class.modifier: private final
focal_class.original_string: private final boolean isMandatory;
focal_class.type: boolean
focal_class.var_name: isMandatory
focal_class.file: oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/restriction/RestrictionDefinitionImpl.java
focal_class.identifier: RestrictionDefinitionImpl
focal_class.interfaces: implements RestrictionDefinition
focal_class.class_method_signature: RestrictionDefinitionImpl.RestrictionDefinitionImpl(@NotNull String name, Type<?> type, boolean isMandatory)
focal_class.full_signature: public  RestrictionDefinitionImpl(@NotNull String name, Type<?> type, boolean isMandatory)
focal_class.identifier: RestrictionDefinitionImpl
focal_class.modifiers: public
focal_class.parameters: (@NotNull String name, Type<?> type, boolean isMandatory)
focal_class.signature:  RestrictionDefinitionImpl(@NotNull String name, Type<?> type, boolean isMandatory)
focal_class.class_method_signature: RestrictionDefinitionImpl.getName()
focal_class.full_signature: @NotNull @Override public String getName()
focal_class.identifier: getName
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getName()
focal_class.class_method_signature: RestrictionDefinitionImpl.getRequiredType()
focal_class.full_signature: @NotNull @Override public Type<?> getRequiredType()
focal_class.identifier: getRequiredType
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: Type<?>
focal_class.signature: Type<?> getRequiredType()
focal_class.class_method_signature: RestrictionDefinitionImpl.isMandatory()
focal_class.full_signature: @Override public boolean isMandatory()
focal_class.identifier: isMandatory
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isMandatory()
focal_class.class_method_signature: RestrictionDefinitionImpl.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: RestrictionDefinitionImpl.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 RestrictionDefinitionImpl) {
              RestrictionDefinitionImpl other = (RestrictionDefinitionImpl) o;
              return type == other.type && isMandatory == other.isMandatory && name.equals(other.name);
          }
  
          return false;
      }
focal_method.class_method_signature: RestrictionDefinitionImpl.equals(Object o)
focal_method.full_signature: @Override public boolean equals(Object o)
focal_method.identifier: equals
focal_method.invocations: equals
focal_method.modifiers: @Override public
focal_method.parameters: (Object o)
focal_method.return: boolean
focal_method.signature: boolean equals(Object o)