Examples of unbranch()


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

    context.branch();
    final NewConcreteType serializationFactory = this.createSerializableFactory(newTypeName);

    this.overrideSerializationFactoryGetObjectReader(serializationFactory, typesToReaders);
    this.overrideSerializationFactoryGetObjectWriter(serializationFactory, typesToWriters);
    context.unbranch();

    return serializationFactory;

  }
View Full Code Here

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

      Set<Package> packages = new HashSet<Package>();
    };
    packageVisitor.start(context.getObject());

    context.unbranch();

    return blackLists;
  }

  /**
 
View Full Code Here

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

      } finally {
        InputOutput.closeIfNecessary(inputStream);
      }
    }

    context.unbranch();
    return expressions;
  }

  /**
   * A set of back list expressions. One may iterate thru this set and ask
View Full Code Here

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

    final Map<Type, Type> typesToReaders = finder.build(types);

    this.logMapping(typesToReaders);

    context.unbranch();

    return typesToReaders;
  }

  protected Map<Type, Type> findAllWriters(final Set<Type> types) {
View Full Code Here

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

    final Map<Type, Type> typesToWriters = finder.build(types);

    this.logMapping(typesToWriters);

    context.unbranch();

    return typesToWriters;
  }

  protected void logMapping(final Map<Type, Type> types) {
View Full Code Here

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

      types.add(listedType);
      context.debug(listedType.getName());
    }

    context.unbranch();
    return types;
  }

  protected void throwUnableToFindAnnotatedType(final String annotatedTypeName, final Type parentType) {
    throw new SerializationFactoryGeneratorException("Unable to find annotated type \"" + annotatedTypeName
View Full Code Here

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

          SerializationFactoryGenerator.this.throwEncounteredUnserializableType(type);
        }
        context.branch();
        context.debug(type.getName());
        super.visitType(type);
        context.unbranch();
      }

      @Override
      protected boolean skipSuperType(final Type superType) {
        return !SerializationFactoryGenerator.this.isOrHasSerializableSubType(superType);
View Full Code Here

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

      @Override
      protected void visitSuperType(final Type superType) {
        context.branch();
        context.debug(superType.getName());
        super.visitSuperType(superType);
        context.unbranch();
      }

      @Override
      protected boolean skipSubType(final Type subType) {
        return !SerializationFactoryGenerator.this.isOrHasSerializableSubType(subType);
View Full Code Here

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

      @Override
      protected void visitSubType(final Type subType) {
        context.branch();
        context.debug(subType.getName());
        super.visitSubType(subType);
        context.unbranch();
      }

      @Override
      protected void visitFields(final Type type) {
        if (false == typesToReadersOrWriters.containsKey(type)) {
View Full Code Here

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

          this.visitType(fieldType);
          break;
        }

        context.unbranch();
      }
    };
    visitor.start(type);

    final Set<Type> found = visitor.getConcreteTypes();
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.