Package com.google.collide.dtogen.shared

Examples of com.google.collide.dtogen.shared.RoutingType


  /**
   * Extracts the {@link RoutingType} annotation to derive the stable
   * routing type.
   */
  private int getRoutingId(Class<?> i) {
    RoutingType routingTypeAnnotation = i.getAnnotation(RoutingType.class);

    Preconditions.checkNotNull(routingTypeAnnotation,
        "RoutingType annotation must be specified for all subclasses of RoutableDto. " +
        i.getName());

    return routingTypeAnnotation.type();
  }
View Full Code Here

TOP

Related Classes of com.google.collide.dtogen.shared.RoutingType

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.