test_class.file: smart-common/src/test/java/org/smartdata/model/TestFileInfo.java
test_class.identifier: TestFileInfo
test_case.body: @Test
    public void testEquals() throws Exception {
      //Case 1:
      FileInfo fileInfo =
          new FileInfo(" ", 1, 1, true, (short) 1, 1, 1,
              1, (short) 1, " ", " ", (byte) 1, (byte) 0);
      Assert.assertEquals(true, fileInfo.equals(fileInfo));
  
      //Case 2:
      FileInfo fileInfo1 =
          new FileInfo(" ", 1, 1, true, (short) 1, 1, 1,
              1, (short) 1, " ", " ", (byte) 1, (byte) 0);
      Assert.assertEquals(true, fileInfo.equals(fileInfo1));
  
      //Case 3:
      FileInfo fileInfo2 =
          new FileInfo(" ", 1, 1, true, (short) 1, 1, 1,
              1, (short) 1, null, " ", (byte) 1, (byte) 0);
  
      Assert.assertEquals(false, fileInfo.equals(fileInfo2));
      Assert.assertEquals(false, fileInfo2.equals(fileInfo));
  
      //Case 4:
      FileInfo fileInfo3 =
          new FileInfo(null, 1, 1, true, (short) 1, 1, 1,
              1, (short) 1, " ", " ", (byte) 1, (byte) 0);
  
      Assert.assertEquals(false, fileInfo.equals(fileInfo3));
      Assert.assertEquals(false, fileInfo3.equals(fileInfo));
  
      //Case 5:
      FileInfo fileInfo4 =
          new FileInfo(null, 1, 1, true, (short) 1, 1, 1,
              1, (short) 1, " ", null, (byte) 1, (byte) 0);
      Assert.assertEquals(false, fileInfo.equals(fileInfo4));
      Assert.assertEquals(false, fileInfo4.equals(fileInfo));
  
      //Case 6:
      FileInfo fileInfo5 =
          new FileInfo(" ", 1, 1, true, (short) 1, 1, 1,
              1, (short) 2, " ", " ", (byte) 1, (byte) 0);
      Assert.assertEquals(false, fileInfo.equals(fileInfo5));
    }
test_case.class_method_signature: TestFileInfo.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 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: path
focal_class.modifier: private
focal_class.original_string: private String path;
focal_class.type: String
focal_class.var_name: path
focal_class.declarator: fileId
focal_class.modifier: private
focal_class.original_string: private long fileId;
focal_class.type: long
focal_class.var_name: fileId
focal_class.declarator: length
focal_class.modifier: private
focal_class.original_string: private long length;
focal_class.type: long
focal_class.var_name: length
focal_class.declarator: isdir
focal_class.modifier: private
focal_class.original_string: private boolean isdir;
focal_class.type: boolean
focal_class.var_name: isdir
focal_class.declarator: blockReplication
focal_class.modifier: private
focal_class.original_string: private short blockReplication;
focal_class.type: short
focal_class.var_name: blockReplication
focal_class.declarator: blocksize
focal_class.modifier: private
focal_class.original_string: private long blocksize;
focal_class.type: long
focal_class.var_name: blocksize
focal_class.declarator: modificationTime
focal_class.modifier: private
focal_class.original_string: private long modificationTime;
focal_class.type: long
focal_class.var_name: modificationTime
focal_class.declarator: accessTime
focal_class.modifier: private
focal_class.original_string: private long accessTime;
focal_class.type: long
focal_class.var_name: accessTime
focal_class.declarator: permission
focal_class.modifier: private
focal_class.original_string: private short permission;
focal_class.type: short
focal_class.var_name: permission
focal_class.declarator: owner
focal_class.modifier: private
focal_class.original_string: private String owner;
focal_class.type: String
focal_class.var_name: owner
focal_class.declarator: group
focal_class.modifier: private
focal_class.original_string: private String group;
focal_class.type: String
focal_class.var_name: group
focal_class.declarator: storagePolicy
focal_class.modifier: private
focal_class.original_string: private byte storagePolicy;
focal_class.type: byte
focal_class.var_name: storagePolicy
focal_class.declarator: erasureCodingPolicy
focal_class.modifier: private
focal_class.original_string: private byte erasureCodingPolicy;
focal_class.type: byte
focal_class.var_name: erasureCodingPolicy
focal_class.file: smart-common/src/main/java/org/smartdata/model/FileInfo.java
focal_class.identifier: FileInfo
focal_class.class_method_signature: FileInfo.FileInfo(String path, long fileId, long length, boolean isdir,
        short blockReplication, long blocksize, long modificationTime,
        long accessTime, short permission, String owner, String group,
        byte storagePolicy, byte erasureCodingPolicy)
focal_class.full_signature: public  FileInfo(String path, long fileId, long length, boolean isdir,
        short blockReplication, long blocksize, long modificationTime,
        long accessTime, short permission, String owner, String group,
        byte storagePolicy, byte erasureCodingPolicy)
focal_class.identifier: FileInfo
focal_class.modifiers: public
focal_class.parameters: (String path, long fileId, long length, boolean isdir,
        short blockReplication, long blocksize, long modificationTime,
        long accessTime, short permission, String owner, String group,
        byte storagePolicy, byte erasureCodingPolicy)
focal_class.signature:  FileInfo(String path, long fileId, long length, boolean isdir,
        short blockReplication, long blocksize, long modificationTime,
        long accessTime, short permission, String owner, String group,
        byte storagePolicy, byte erasureCodingPolicy)
focal_class.class_method_signature: FileInfo.getPath()
focal_class.full_signature: public String getPath()
focal_class.identifier: getPath
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getPath()
focal_class.class_method_signature: FileInfo.setPath(String path)
focal_class.full_signature: public void setPath(String path)
focal_class.identifier: setPath
focal_class.modifiers: public
focal_class.parameters: (String path)
focal_class.return: void
focal_class.signature: void setPath(String path)
focal_class.class_method_signature: FileInfo.getFileId()
focal_class.full_signature: public long getFileId()
focal_class.identifier: getFileId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getFileId()
focal_class.class_method_signature: FileInfo.setFileId(long fileId)
focal_class.full_signature: public void setFileId(long fileId)
focal_class.identifier: setFileId
focal_class.modifiers: public
focal_class.parameters: (long fileId)
focal_class.return: void
focal_class.signature: void setFileId(long fileId)
focal_class.class_method_signature: FileInfo.getLength()
focal_class.full_signature: public long getLength()
focal_class.identifier: getLength
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getLength()
focal_class.class_method_signature: FileInfo.setLength(long length)
focal_class.full_signature: public void setLength(long length)
focal_class.identifier: setLength
focal_class.modifiers: public
focal_class.parameters: (long length)
focal_class.return: void
focal_class.signature: void setLength(long length)
focal_class.class_method_signature: FileInfo.isdir()
focal_class.full_signature: public boolean isdir()
focal_class.identifier: isdir
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isdir()
focal_class.class_method_signature: FileInfo.setIsdir(boolean isdir)
focal_class.full_signature: public void setIsdir(boolean isdir)
focal_class.identifier: setIsdir
focal_class.modifiers: public
focal_class.parameters: (boolean isdir)
focal_class.return: void
focal_class.signature: void setIsdir(boolean isdir)
focal_class.class_method_signature: FileInfo.getBlockReplication()
focal_class.full_signature: public short getBlockReplication()
focal_class.identifier: getBlockReplication
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: short
focal_class.signature: short getBlockReplication()
focal_class.class_method_signature: FileInfo.setBlockReplication(short blockReplication)
focal_class.full_signature: public void setBlockReplication(short blockReplication)
focal_class.identifier: setBlockReplication
focal_class.modifiers: public
focal_class.parameters: (short blockReplication)
focal_class.return: void
focal_class.signature: void setBlockReplication(short blockReplication)
focal_class.class_method_signature: FileInfo.getBlocksize()
focal_class.full_signature: public long getBlocksize()
focal_class.identifier: getBlocksize
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getBlocksize()
focal_class.class_method_signature: FileInfo.setBlocksize(long blocksize)
focal_class.full_signature: public void setBlocksize(long blocksize)
focal_class.identifier: setBlocksize
focal_class.modifiers: public
focal_class.parameters: (long blocksize)
focal_class.return: void
focal_class.signature: void setBlocksize(long blocksize)
focal_class.class_method_signature: FileInfo.getModificationTime()
focal_class.full_signature: public long getModificationTime()
focal_class.identifier: getModificationTime
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getModificationTime()
focal_class.class_method_signature: FileInfo.setModificationTime(long modificationTime)
focal_class.full_signature: public void setModificationTime(long modificationTime)
focal_class.identifier: setModificationTime
focal_class.modifiers: public
focal_class.parameters: (long modificationTime)
focal_class.return: void
focal_class.signature: void setModificationTime(long modificationTime)
focal_class.class_method_signature: FileInfo.getAccessTime()
focal_class.full_signature: public long getAccessTime()
focal_class.identifier: getAccessTime
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: long
focal_class.signature: long getAccessTime()
focal_class.class_method_signature: FileInfo.setAccessTime(long accessTime)
focal_class.full_signature: public void setAccessTime(long accessTime)
focal_class.identifier: setAccessTime
focal_class.modifiers: public
focal_class.parameters: (long accessTime)
focal_class.return: void
focal_class.signature: void setAccessTime(long accessTime)
focal_class.class_method_signature: FileInfo.getPermission()
focal_class.full_signature: public short getPermission()
focal_class.identifier: getPermission
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: short
focal_class.signature: short getPermission()
focal_class.class_method_signature: FileInfo.setPermission(short permission)
focal_class.full_signature: public void setPermission(short permission)
focal_class.identifier: setPermission
focal_class.modifiers: public
focal_class.parameters: (short permission)
focal_class.return: void
focal_class.signature: void setPermission(short permission)
focal_class.class_method_signature: FileInfo.getOwner()
focal_class.full_signature: public String getOwner()
focal_class.identifier: getOwner
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getOwner()
focal_class.class_method_signature: FileInfo.setOwner(String owner)
focal_class.full_signature: public void setOwner(String owner)
focal_class.identifier: setOwner
focal_class.modifiers: public
focal_class.parameters: (String owner)
focal_class.return: void
focal_class.signature: void setOwner(String owner)
focal_class.class_method_signature: FileInfo.getGroup()
focal_class.full_signature: public String getGroup()
focal_class.identifier: getGroup
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getGroup()
focal_class.class_method_signature: FileInfo.setGroup(String group)
focal_class.full_signature: public void setGroup(String group)
focal_class.identifier: setGroup
focal_class.modifiers: public
focal_class.parameters: (String group)
focal_class.return: void
focal_class.signature: void setGroup(String group)
focal_class.class_method_signature: FileInfo.getStoragePolicy()
focal_class.full_signature: public byte getStoragePolicy()
focal_class.identifier: getStoragePolicy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: byte
focal_class.signature: byte getStoragePolicy()
focal_class.class_method_signature: FileInfo.setStoragePolicy(byte storagePolicy)
focal_class.full_signature: public void setStoragePolicy(byte storagePolicy)
focal_class.identifier: setStoragePolicy
focal_class.modifiers: public
focal_class.parameters: (byte storagePolicy)
focal_class.return: void
focal_class.signature: void setStoragePolicy(byte storagePolicy)
focal_class.class_method_signature: FileInfo.getErasureCodingPolicy()
focal_class.full_signature: public byte getErasureCodingPolicy()
focal_class.identifier: getErasureCodingPolicy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: byte
focal_class.signature: byte getErasureCodingPolicy()
focal_class.class_method_signature: FileInfo.setErasureCodingPolicy(byte erasureCodingPolicy)
focal_class.full_signature: public void setErasureCodingPolicy(byte erasureCodingPolicy)
focal_class.identifier: setErasureCodingPolicy
focal_class.modifiers: public
focal_class.parameters: (byte erasureCodingPolicy)
focal_class.return: void
focal_class.signature: void setErasureCodingPolicy(byte erasureCodingPolicy)
focal_class.class_method_signature: FileInfo.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: FileInfo.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: FileInfo.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_class.class_method_signature: FileInfo.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 o) {
      if (this == o) {
        return true;
      }
      if (o == null || getClass() != o.getClass()) {
        return false;
      }
      FileInfo fileInfo = (FileInfo) o;
      return fileId == fileInfo.fileId
          && length == fileInfo.length
          && isdir == fileInfo.isdir
          && blockReplication == fileInfo.blockReplication
          && blocksize == fileInfo.blocksize
          && modificationTime == fileInfo.modificationTime
          && accessTime == fileInfo.accessTime
          && permission == fileInfo.permission
          && storagePolicy == fileInfo.storagePolicy
          && erasureCodingPolicy == fileInfo.erasureCodingPolicy
          && Objects.equals(path, fileInfo.path)
          && Objects.equals(owner, fileInfo.owner)
          && Objects.equals(group, fileInfo.group);
    }
focal_method.class_method_signature: FileInfo.equals(Object o)
focal_method.full_signature: @Override public boolean equals(Object o)
focal_method.identifier: equals
focal_method.invocations: getClass getClass equals equals equals
focal_method.modifiers: @Override public
focal_method.parameters: (Object o)
focal_method.return: boolean
focal_method.signature: boolean equals(Object o)