/** * Convert an array bean spec to a list bean spec. * * @return the array bean spec with component type derived from this bean spec */ public BeanSpec toList() { return new BeanSpec(this, ArrayList.class); }
/** * Convert an array bean spec to a list bean spec. * * @return the array bean spec with component type derived from this bean spec */ public BeanSpec toList() { return new BeanSpec(this, ArrayList.class); }
public BeanSpec withoutName() { return new BeanSpec(this, (String) null); }
public static BeanSpec of(Type type, Injector injector) { return new BeanSpec(type, null, null, injector, 0); }
public static BeanSpec of(Type type, Annotation[] paramAnnotations, Injector injector) { return new BeanSpec(type, paramAnnotations, null, injector, 0); }
public static BeanSpec of(Type type, Annotation[] paramAnnotations, String name, Injector injector, Map<String, Class> typeParamLookup) { return new BeanSpec(type, paramAnnotations, name, injector, 0, typeParamLookup); }
public static BeanSpec of(Type type, Annotation[] paramAnnotations, String name, Injector injector, int modifiers) { return new BeanSpec(type, paramAnnotations, name, injector, modifiers); }
public static BeanSpec of(Type type, Injector injector, Map<String, Class> typeParamLookup) { return new BeanSpec(type, null, null, injector, 0, typeParamLookup); }
public static BeanSpec of(Type type, Annotation[] paramAnnotations, Injector injector, int modifiers) { return new BeanSpec(type, paramAnnotations, null, injector, modifiers); }
public static BeanSpec of(Type type, Annotation[] paramAnnotations, Injector injector, int modifiers, Map<String, Class> typeParamLookup) { return new BeanSpec(type, paramAnnotations, null, injector, modifiers, typeParamLookup); }
public static BeanSpec of(Class<?> clazz, Injector injector) { return new BeanSpec(clazz, null, null, injector, 0); }
public static BeanSpec of(Type type, Injector injector) { return new BeanSpec(type, null, null, injector, 0); }
public static BeanSpec of(Type type, Injector injector, Map<String, Class> typeParamLookup) { return new BeanSpec(type, null, null, injector, 0, typeParamLookup); }
public static BeanSpec of(Type type, Annotation[] paramAnnotations, String name, Injector injector, Map<String, Class> typeParamLookup) { return new BeanSpec(type, paramAnnotations, name, injector, 0, typeParamLookup); }
public static BeanSpec of(Type type, Annotation[] paramAnnotations, Injector injector, Map<String, Class> typeParamLookup) { return new BeanSpec(type, paramAnnotations, null, injector, 0, typeParamLookup); }
public static BeanSpec of(Type type, Annotation[] paramAnnotations, Injector injector, int modifiers, Map<String, Class> typeParamLookup) { return new BeanSpec(type, paramAnnotations, null, injector, modifiers, typeParamLookup); }
public static BeanSpec of(Type type, Annotation[] paramAnnotations, String name, Injector injector) { return new BeanSpec(type, paramAnnotations, name, injector, 0); }
public static BeanSpec of(Type type, Annotation[] paramAnnotations, String name, Injector injector, int modifiers) { return new BeanSpec(type, paramAnnotations, name, injector, modifiers); }
public static BeanSpec of(Type type, Annotation[] paramAnnotations, String name, Injector injector, int modifiers, Map<String, Class> typeParamLookup) { return new BeanSpec(type, paramAnnotations, name, injector, modifiers, typeParamLookup); }
BeanSpec toProvidee() { return new BeanSpec(this, ((ParameterizedType) type).getActualTypeArguments()[0]); }