public static List getSubconcepts(Description concept, Module module) {
    { edu.isi.powerloom.PlIterator iter = edu.isi.powerloom.PLI.getDirectSubrelations(concept, module, null);
      List result = List.newList();

      { LogicObject sub = null;
        edu.isi.powerloom.PlIterator iter000 = iter;
        Cons collect000 = null;

        while (iter000.nextP()) {
          sub = ((LogicObject)(iter000.value));
          if (collect000 == null) {
            {
              collect000 = Cons.cons(sub, Stella.NIL);
              if (result.theConsList == Stella.NIL) {
                result.theConsList = collect000;
              }
              else {
                Cons.addConsToEndOfConsList(result.theConsList, collect000);
              }
            }
          }
          else {
            {
              collect000.rest = Cons.cons(sub, Stella.NIL);
              collect000 = collect000.rest;
            }
          }
        }
      }
      return (result);
    }
  }