Examples of unbranch()


Examples of rocket.generator.rebind.GeneratorContext.unbranch()

    found.remove(context.getString());
    found.remove(context.getObject());
    context.debug("Removing special cases types \"java.lang.Object\" and \"java.lang.String\".");

    context.unbranch();
    return found;
  }

  protected void throwEncounteredUnserializableType(final Type type) {
    throw new SerializationFactoryGeneratorException("Encountered type that cannot be serialized, type: " + type);
View Full Code Here

Examples of rocket.generator.rebind.GeneratorContext.unbranch()

      if (false == type.isArray()) {
        this.overrideObjectReaderReadFieldsMethod(newReader, type);
        this.overrideObjectReaderReadMethod(newReader, type);
      }
      this.addSingletonField(newReader);
      context.unbranch();
      context.unbranch();

      newReaders.add(newReader);
    }
View Full Code Here

Examples of rocket.generator.rebind.GeneratorContext.unbranch()

        this.overrideObjectReaderReadFieldsMethod(newReader, type);
        this.overrideObjectReaderReadMethod(newReader, type);
      }
      this.addSingletonField(newReader);
      context.unbranch();
      context.unbranch();

      newReaders.add(newReader);
    }

    this.writeTypes(newReaders);
View Full Code Here

Examples of rocket.generator.rebind.GeneratorContext.unbranch()

      newReaders.add(newReader);
    }

    this.writeTypes(newReaders);
    context.unbranch();
  }

  /**
   * Factory method that creates a new NewConcreteType that will become the
   * ObjectReader for the given type.
View Full Code Here

Examples of rocket.generator.rebind.GeneratorContext.unbranch()

      body.addFieldSetter(setter);

      fieldCount++;
    }

    context.unbranch();
    context.debug("Overridden " + newMethod);
  }

  /**
   * Creates a private method that uses jsni to retrieve the value of a field.
View Full Code Here

Examples of rocket.generator.rebind.GeneratorContext.unbranch()

      context.branch();
      this.overrideObjectWriterWrite0Method(newWriter, type);
      this.addSingletonField(newWriter);

      context.unbranch();
      context.unbranch();

      newWriters.add(newWriter);
    }
View Full Code Here

Examples of rocket.generator.rebind.GeneratorContext.unbranch()

      context.branch();
      this.overrideObjectWriterWrite0Method(newWriter, type);
      this.addSingletonField(newWriter);

      context.unbranch();
      context.unbranch();

      newWriters.add(newWriter);
    }

    this.writeTypes(newWriters);
View Full Code Here

Examples of rocket.generator.rebind.GeneratorContext.unbranch()

    } catch (final TypeNotFoundException notFound) {
      this.throwUnableToFindAsyncType(serviceInterface);
    }

    context.unbranch();
  }

  protected void throwUnableToFindAsyncType(final Type serviceInterface) {
    this.throwException("Unable to find the async interface for " + serviceInterface);
  }
View Full Code Here

Examples of rocket.generator.rebind.GeneratorContext.unbranch()

    this.verifyAsyncServiceInterface(serviceInterface);

    final NewConcreteType client = this.createRpcServiceClient(newTypeName, serviceInterface, this.getJsonRpcServiceClient());
    this.implementPublicMethods(serviceInterface, client);

    context.unbranch();
    return client;
  }

  /**
   * Adds a method to the jsonServiceClient that prepares an invoker etc.
View Full Code Here

Examples of rocket.generator.rebind.GeneratorContext.unbranch()

      this.checkAlias(alias);

      this.addAlias(alias);
    }

    context.unbranch();
  }

  /**
   * Factory method which creates the rpc FactoryBean
   *
 
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.