* @param demonname
   */
  public static void registerPropertyDemon(String property, Symbol demonname) {
    { MappableObject demon = Symbol.lookupFunction(demonname);

      if (demon == null) {
        demon = demonname.lookupGlobalVariable();
      }
      if (demon != null) {
        Stella.$REGISTERED_PROPERTY_DEMONS$.insertAt(StringWrapper.wrapString(property), demon);
      }
      else {
        { OutputStringStream stream000 = OutputStringStream.newOutputStringStream();

          stream000.nativeStream.print("register-property-demon: cannot find a function or variable with this name: `" + demonname + "'");
          throw ((StellaException)(StellaException.newStellaException(stream000.theStringReader()).fillInStackTrace()));
        }
      }
    }
  }