Package se.jbee.inject

Examples of se.jbee.inject.Type


    return listTypeOf( raw( elementType ) );
  }

  @SuppressWarnings ( { "unchecked", "rawtypes" } )
  public static <T> Type<List<T>> listTypeOf( Type<T> elementType ) {
    Type raw = raw( List.class ).parametized( elementType );
    return raw;
  }
View Full Code Here


    return setTypeOf( raw( elementType ) );
  }

  @SuppressWarnings ( { "unchecked", "rawtypes" } )
  public static <T> Type<Set<T>> setTypeOf( Type<T> elementType ) {
    Type raw = raw( Set.class ).parametized( elementType );
    return raw;
  }
View Full Code Here

    return collectionTypeOf( raw( elementType ) );
  }

  @SuppressWarnings ( { "unchecked", "rawtypes" } )
  public static <T> Type<Collection<T>> collectionTypeOf( Type<T> elementType ) {
    Type raw = raw( Collection.class ).parametized( elementType );
    return raw;
  }
View Full Code Here

    return providerTypeOf( raw( providedType ) );
  }

  @SuppressWarnings ( { "unchecked", "rawtypes" } )
  public static <T> Type<Provider<T>> providerTypeOf( Type<T> providedType ) {
    Type raw = raw( Provider.class ).parametized( providedType );
    return raw;
  }
View Full Code Here

    return factoryTypeOf( raw( providedType ) );
  }

  @SuppressWarnings ( { "unchecked", "rawtypes" } )
  public static <T> Type<Factory<T>> factoryTypeOf( Type<T> providedType ) {
    Type raw = raw( Factory.class ).parametized( providedType );
    return raw;
  }
View Full Code Here

    return injectronTypeOf( raw( providedType ) );
  }

  @SuppressWarnings ( { "unchecked", "rawtypes" } )
  public static <T> Type<Injectron<T>> injectronTypeOf( Type<T> providedType ) {
    Type raw = raw( Injectron.class ).parametized( providedType );
    return raw;
  }
View Full Code Here

    return injectronsTypeOf( raw( providedType ) );
  }

  @SuppressWarnings ( { "unchecked", "rawtypes" } )
  public static <T> Type<Injectron<T>[]> injectronsTypeOf( Type<T> providedType ) {
    Type raw = raw( Injectron[].class ).parametized( providedType );
    return raw;
  }
View Full Code Here

TOP

Related Classes of se.jbee.inject.Type

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.