test_class.file: smart-common/src/test/java/org/smartdata/model/TestRuleInfo.java
test_class.identifier: TestRuleInfo
test_case.body: @Test
    public void testEquals() throws Exception {
      //Case 1:
      Assert.assertEquals(true, new RuleInfo().equals(new RuleInfo()));
  
      //Case 2:
      RuleInfo ruleInfo = new RuleInfo(1, 1, "", RuleState.ACTIVE, 1, 1, 1);
      Assert.assertEquals(true, ruleInfo.equals(ruleInfo));
  
      //Case 3:
      RuleInfo ruleInfo1 = new RuleInfo(1, 1, "", null, 1, 1, 1);
      Assert.assertEquals(false, ruleInfo.equals(ruleInfo1));
      Assert.assertEquals(false, ruleInfo1.equals(ruleInfo));
  
      //Case 4:
      RuleInfo ruleInfo2 = new RuleInfo(1, 1, null, RuleState.ACTIVE, 1, 1, 1);
      Assert.assertEquals(false, ruleInfo.equals(ruleInfo2));
      Assert.assertEquals(false, ruleInfo2.equals(ruleInfo));
    }
test_case.class_method_signature: TestRuleInfo.testEquals()
test_case.full_signature: @Test public void testEquals()
test_case.identifier: testEquals
test_case.invocations: assertEquals equals assertEquals equals assertEquals equals assertEquals equals assertEquals equals assertEquals equals
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEquals()
focal_class.declarator: id
focal_class.modifier: private
focal_class.original_string: private long id;
focal_class.type: long
focal_class.var_name: id
focal_class.declarator: submitTime
focal_class.modifier: private
focal_class.original_string: private long submitTime;
focal_class.type: long
focal_class.var_name: submitTime
focal_class.declarator: ruleText
focal_class.modifier: private
focal_class.original_string: private String ruleText;
focal_class.type: String
focal_class.var_name: ruleText
focal_class.declarator: state
focal_class.modifier: private
focal_class.original_string: private RuleState state;
focal_class.type: RuleState
focal_class.var_name: state
focal_class.declarator: numChecked
focal_class.modifier: private
focal_class.original_string: private long numChecked;
focal_class.type: long
focal_class.var_name: numChecked
focal_class.declarator: numCmdsGen
focal_class.modifier: private
focal_class.original_string: private long numCmdsGen;
focal_class.type: long
focal_class.var_name: numCmdsGen
focal_class.declarator: lastCheckTime
focal_class.modifier: private
focal_class.original_string: private long lastCheckTime;
focal_class.type: long
focal_class.var_name: lastCheckTime
focal_class.file: smart-common/src/main/java/org/smartdata/model/RuleInfo.java
focal_class.identifier: RuleInfo
focal_class.interfaces: implements Cloneable
focal_class.class_method_signature: RuleInfo.getId()
focal_class.full_signature: public long getId()
focal_class.identifier: getId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getId()
focal_class.class_method_signature: RuleInfo.setId(long id)
focal_class.full_signature: public void setId(long id)
focal_class.identifier: setId
focal_class.modifiers: public
focal_class.parameters: (long id)
focal_class.return: void
focal_class.signature: void setId(long id)
focal_class.class_method_signature: RuleInfo.getSubmitTime()
focal_class.full_signature: public long getSubmitTime()
focal_class.identifier: getSubmitTime
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getSubmitTime()
focal_class.class_method_signature: RuleInfo.setSubmitTime(long submitTime)
focal_class.full_signature: public void setSubmitTime(long submitTime)
focal_class.identifier: setSubmitTime
focal_class.modifiers: public
focal_class.parameters: (long submitTime)
focal_class.return: void
focal_class.signature: void setSubmitTime(long submitTime)
focal_class.class_method_signature: RuleInfo.getRuleText()
focal_class.full_signature: public String getRuleText()
focal_class.identifier: getRuleText
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getRuleText()
focal_class.class_method_signature: RuleInfo.setRuleText(String ruleText)
focal_class.full_signature: public void setRuleText(String ruleText)
focal_class.identifier: setRuleText
focal_class.modifiers: public
focal_class.parameters: (String ruleText)
focal_class.return: void
focal_class.signature: void setRuleText(String ruleText)
focal_class.class_method_signature: RuleInfo.getState()
focal_class.full_signature: public RuleState getState()
focal_class.identifier: getState
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: RuleState
focal_class.signature: RuleState getState()
focal_class.class_method_signature: RuleInfo.setState(RuleState state)
focal_class.full_signature: public void setState(RuleState state)
focal_class.identifier: setState
focal_class.modifiers: public
focal_class.parameters: (RuleState state)
focal_class.return: void
focal_class.signature: void setState(RuleState state)
focal_class.class_method_signature: RuleInfo.getNumChecked()
focal_class.full_signature: public long getNumChecked()
focal_class.identifier: getNumChecked
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getNumChecked()
focal_class.class_method_signature: RuleInfo.setNumChecked(long numChecked)
focal_class.full_signature: public void setNumChecked(long numChecked)
focal_class.identifier: setNumChecked
focal_class.modifiers: public
focal_class.parameters: (long numChecked)
focal_class.return: void
focal_class.signature: void setNumChecked(long numChecked)
focal_class.class_method_signature: RuleInfo.getNumCmdsGen()
focal_class.full_signature: public long getNumCmdsGen()
focal_class.identifier: getNumCmdsGen
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getNumCmdsGen()
focal_class.class_method_signature: RuleInfo.setNumCmdsGen(long numCmdsGen)
focal_class.full_signature: public void setNumCmdsGen(long numCmdsGen)
focal_class.identifier: setNumCmdsGen
focal_class.modifiers: public
focal_class.parameters: (long numCmdsGen)
focal_class.return: void
focal_class.signature: void setNumCmdsGen(long numCmdsGen)
focal_class.class_method_signature: RuleInfo.getLastCheckTime()
focal_class.full_signature: public long getLastCheckTime()
focal_class.identifier: getLastCheckTime
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getLastCheckTime()
focal_class.class_method_signature: RuleInfo.setLastCheckTime(long lastCheckTime)
focal_class.full_signature: public void setLastCheckTime(long lastCheckTime)
focal_class.identifier: setLastCheckTime
focal_class.modifiers: public
focal_class.parameters: (long lastCheckTime)
focal_class.return: void
focal_class.signature: void setLastCheckTime(long lastCheckTime)
focal_class.class_method_signature: RuleInfo.updateRuleInfo(RuleState rs, long lastCheckTime,
        long checkedCount, int cmdletsGen)
focal_class.full_signature: public void updateRuleInfo(RuleState rs, long lastCheckTime,
        long checkedCount, int cmdletsGen)
focal_class.identifier: updateRuleInfo
focal_class.modifiers: public
focal_class.parameters: (RuleState rs, long lastCheckTime,
        long checkedCount, int cmdletsGen)
focal_class.return: void
focal_class.signature: void updateRuleInfo(RuleState rs, long lastCheckTime,
        long checkedCount, int cmdletsGen)
focal_class.class_method_signature: RuleInfo.RuleInfo()
focal_class.full_signature: public  RuleInfo()
focal_class.identifier: RuleInfo
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.signature:  RuleInfo()
focal_class.class_method_signature: RuleInfo.RuleInfo(long id, long submitTime, String ruleText, RuleState state,
        long numChecked, long numCmdsGen, long lastCheckTime)
focal_class.full_signature: public  RuleInfo(long id, long submitTime, String ruleText, RuleState state,
        long numChecked, long numCmdsGen, long lastCheckTime)
focal_class.identifier: RuleInfo
focal_class.modifiers: public
focal_class.parameters: (long id, long submitTime, String ruleText, RuleState state,
        long numChecked, long numCmdsGen, long lastCheckTime)
focal_class.signature:  RuleInfo(long id, long submitTime, String ruleText, RuleState state,
        long numChecked, long numCmdsGen, long lastCheckTime)
focal_class.class_method_signature: RuleInfo.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: RuleInfo.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: RuleInfo.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_class.class_method_signature: RuleInfo.newCopy()
focal_class.full_signature: public RuleInfo newCopy()
focal_class.identifier: newCopy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: RuleInfo
focal_class.signature: RuleInfo newCopy()
focal_class.class_method_signature: RuleInfo.newBuilder()
focal_class.full_signature: public static Builder newBuilder()
focal_class.identifier: newBuilder
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Builder
focal_class.signature: Builder newBuilder()
focal_method.body: @Override
    public boolean equals(Object o) {
      if (this == o) {
        return true;
      }
      if (o == null || getClass() != o.getClass()) {
        return false;
      }
      RuleInfo ruleInfo = (RuleInfo) o;
      return id == ruleInfo.id
          && submitTime == ruleInfo.submitTime
          && numChecked == ruleInfo.numChecked
          && numCmdsGen == ruleInfo.numCmdsGen
          && lastCheckTime == ruleInfo.lastCheckTime
          && Objects.equals(ruleText, ruleInfo.ruleText)
          && state == ruleInfo.state;
    }
focal_method.class_method_signature: RuleInfo.equals(Object o)
focal_method.full_signature: @Override public boolean equals(Object o)
focal_method.identifier: equals
focal_method.invocations: getClass getClass equals
focal_method.modifiers: @Override public
focal_method.parameters: (Object o)
focal_method.return: boolean
focal_method.signature: boolean equals(Object o)