Package rocket.generator.rebind

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


    final TreeSet<Type> types = new TreeSet<Type>(TypeComparator.INSTANCE);

    final Iterator<String> typeNames = type.getMetadataValues(annotation).iterator();
    while (typeNames.hasNext()) {
      final String typeName = typeNames.next();
      final Type listedType = context.findType(typeName);
      if (null == listedType) {
        this.throwUnableToFindAnnotatedType(typeName, type);
      }

      types.add(listedType);
View Full Code Here


    if (null == typeName) {
      this.throwUnableToFindCometPayloadTypeAnnotation(type);
    }
    context.debug(typeName);

    final Type payloadType = context.findType(typeName);
    if (payloadType == null) {
      this.throwUnableToFindPayloadType(typeName);
    }

    context.debug(payloadType.toString());
View Full Code Here

    final String typeName = (String) values.get(0);
    if (null == typeName) {
      this.throwUnableToFindCometPayloadTypeAnnotation(type);
    }

    final Type payloadType = context.findType(typeName);
    if (payloadType == null) {
      this.throwUnableToFindPayloadType(typeName);
    }
    return payloadType;
  }
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.