public static Cons javaGetConstructorAndMethodDefinitions(Stella_Class renamed_Class, Object [] MV_returnarray) {
    { Cons constructordefinitions = Stella.NIL;
      Cons methoddefinitions = Stella.NIL;
      MethodSlot method = null;

      { TranslationUnit tu = null;
        Cons iter000 = ((List)(Stella.$TRANSLATIONUNITS$.get())).theConsList;

        for (;!(iter000 == Stella.NIL); iter000 = iter000.rest) {
          tu = ((TranslationUnit)(iter000.value));
          if ((tu.category == Stella.SYM_STELLA_METHOD) ||
              ((tu.category == Stella.SYM_STELLA_MACRO) ||
               (tu.category == Stella.SYM_STELLA_PRINT_METHOD))) {
            if (tu.category == Stella.SYM_STELLA_PRINT_METHOD) {
              if (Surrogate.canonicalType(((Stella_Class)(tu.theObject)).classType) == renamed_Class.classType) {
                methoddefinitions = Cons.cons(tu, methoddefinitions);
              }
            }
            else {
              {
                method = ((MethodSlot)(tu.theObject));
                if (MethodSlot.javaFlotsamFunctionP(method) ||
                    method.methodStartupFunctionP()) {
                }
                else if (((BooleanWrapper)(KeyValueList.dynamicSlotValue(method.dynamicSlots, Stella.SYM_STELLA_METHOD_CONSTRUCTORp, Stella.FALSE_WRAPPER))).wrapperValue) {
                  if (Surrogate.canonicalType(method.slotBaseType) == renamed_Class.classType) {
                    constructordefinitions = Cons.cons(tu, constructordefinitions);
                  }
                }
                else if (Surrogate.canonicalType(method.slotOwner) == renamed_Class.classType) {
                  methoddefinitions = Cons.cons(tu, methoddefinitions);
                }
              }
            }
          }
        }
      }
      { Cons _return_temp = constructordefinitions.reverse();

        MV_returnarray[0] = methoddefinitions.reverse();
        return (_return_temp);
      }
    }
  }