Package rocket.beans.rebind.aop.wrapparameter

Examples of rocket.beans.rebind.aop.wrapparameter.WrapParameterTemplatedFile


   *
   * @return The built CodeBlock
   */

  protected CodeBlock getWrapParameters() {
    final WrapParameterTemplatedFile wrap = new WrapParameterTemplatedFile();

    return new CollectionTemplatedCodeBlock<MethodParameter>() {

      @Override
      public InputStream getInputStream() {
        return wrap.getInputStream();
      }

      @Override
      protected Object getValue0(final String name) {
        return wrap.getValue0(name);
      }

      @Override
      protected Collection<MethodParameter> getCollection() {
        return ProxyInterceptedMethodTemplatedFile.this.getMethod().getParameters();
      }

      @Override
      protected void prepareToWrite(final MethodParameter methodParameter) {
        wrap.setParameter(methodParameter);
      }

      @Override
      protected void writeBetweenElements(final SourceWriter writer) {
        writer.print(",");
View Full Code Here

TOP

Related Classes of rocket.beans.rebind.aop.wrapparameter.WrapParameterTemplatedFile

Copyright © 2018 www.massapicom. 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.