code: public static MutableInodeDirectory create(long id, long parentId, String name,
        CreateDirectoryContext context) {
      return new MutableInodeDirectory(id)
          .setParentId(parentId)
          .setName(name)
          .setTtl(context.getTtl())
          .setTtlAction(context.getTtlAction())
          .setOwner(context.getOwner())
          .setGroup(context.getGroup())
          .setMode(context.getMode().toShort())
          .setAcl(context.getAcl())
          // SetAcl call is also setting default AclEntries
          .setAcl(context.getDefaultAcl())
          .setMountPoint(context.isMountPoint());
    }
docs: Creates an {@link MutableInodeDirectory}.
  
  @param id id of this inode
  @param parentId id of the parent of this inode
  @param name name of this inode
  @param context context to create this directory
  @return the {@link MutableInodeDirectory} representation