public static <T, X> InferringFieldInjectionPointAttributes<T, X> of(EnhancedAnnotatedField<T, X> field, Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager) { return new InferringFieldInjectionPointAttributes<T, X>(field, bean, declaringComponentClass, manager); }
@Override public int hashCode() { return getAnnotated().hashCode(); }
/** * Creates a new {@link FieldInjectionPoint} and fires the {@link ProcessInjectionPoint} event. * * @param field * @param declaringBean * @param declaringComponentClass used for resolution of type variables of the injection point type * @param manager * @return */ public <T, X> FieldInjectionPoint<T, X> createFieldInjectionPoint(EnhancedAnnotatedField<T, X> field, Bean<?> declaringBean, Class<?> declaringComponentClass, BeanManagerImpl manager) { FieldInjectionPointAttributes<T, X> attributes = InferringFieldInjectionPointAttributes.of(field, declaringBean, declaringComponentClass, manager); attributes = processInjectionPoint(attributes, declaringComponentClass, manager); return new FieldInjectionPoint<T, X>(attributes); }
/** * Creates a new {@link FieldInjectionPoint} and fires the {@link ProcessInjectionPoint} event. * * @param field * @param declaringBean * @param declaringComponentClass used for resolution of type variables of the injection point type * @param manager * @return */ public <T, X> FieldInjectionPoint<T, X> createFieldInjectionPoint(EnhancedAnnotatedField<T, X> field, Bean<?> declaringBean, Class<?> declaringComponentClass, BeanManagerImpl manager) { FieldInjectionPointAttributes<T, X> attributes = InferringFieldInjectionPointAttributes.of(field, declaringBean, declaringComponentClass, manager); attributes = processInjectionPoint(attributes, declaringComponentClass, manager); return new FieldInjectionPoint<T, X>(attributes); }
@Override public int hashCode() { return getAnnotated().hashCode(); }
/** * Creates a new {@link FieldInjectionPoint} and fires the {@link ProcessInjectionPoint} event. * * @param field * @param declaringBean * @param declaringComponentClass used for resolution of type variables of the injection point type * @param manager * @return */ public <T, X> FieldInjectionPoint<T, X> createFieldInjectionPoint(EnhancedAnnotatedField<T, X> field, Bean<?> declaringBean, Class<?> declaringComponentClass, BeanManagerImpl manager) { FieldInjectionPointAttributes<T, X> attributes = InferringFieldInjectionPointAttributes.of(field, declaringBean, declaringComponentClass, manager); attributes = processInjectionPoint(attributes, declaringComponentClass, manager); return new FieldInjectionPoint<T, X>(attributes); }
public static <T, X> InferringFieldInjectionPointAttributes<T, X> of(EnhancedAnnotatedField<T, X> field, Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager) { return new InferringFieldInjectionPointAttributes<T, X>(field, bean, declaringComponentClass, manager); }
@Override public int hashCode() { return getAnnotated().hashCode(); }
/** * Creates a new {@link FieldInjectionPoint} and fires the {@link ProcessInjectionPoint} event. * * @param field * @param declaringBean * @param declaringComponentClass used for resolution of type variables of the injection point type * @param manager * @return */ public <T, X> FieldInjectionPoint<T, X> createFieldInjectionPoint(EnhancedAnnotatedField<T, X> field, Bean<?> declaringBean, Class<?> declaringComponentClass, BeanManagerImpl manager) { FieldInjectionPointAttributes<T, X> attributes = InferringFieldInjectionPointAttributes.of(field, declaringBean, declaringComponentClass, manager); attributes = processInjectionPoint(attributes, declaringComponentClass, manager); return new FieldInjectionPoint<T, X>(attributes); }
public static <T, X> InferringFieldInjectionPointAttributes<T, X> of(EnhancedAnnotatedField<T, X> field, Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager) { return new InferringFieldInjectionPointAttributes<T, X>(field, bean, declaringComponentClass, manager); }
@Override public int hashCode() { return getAnnotated().hashCode(); }
/** * Creates a new {@link FieldInjectionPoint} and fires the {@link ProcessInjectionPoint} event. * * @param field * @param declaringBean * @param declaringComponentClass used for resolution of type variables of the injection point type * @param manager * @return */ public <T, X> FieldInjectionPoint<T, X> createFieldInjectionPoint(EnhancedAnnotatedField<T, X> field, Bean<?> declaringBean, Class<?> declaringComponentClass, BeanManagerImpl manager) { FieldInjectionPointAttributes<T, X> attributes = InferringFieldInjectionPointAttributes.of(field, declaringBean, declaringComponentClass, manager); attributes = processInjectionPoint(attributes, declaringComponentClass, manager); return new FieldInjectionPoint<T, X>(attributes); }
public static <T, X> InferringFieldInjectionPointAttributes<T, X> of(EnhancedAnnotatedField<T, X> field, Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager) { return new InferringFieldInjectionPointAttributes<T, X>(field, bean, declaringComponentClass, manager); }
@Override public int hashCode() { return getAnnotated().hashCode(); }
/** * Creates a new {@link FieldInjectionPoint} and fires the {@link ProcessInjectionPoint} event. * * @param field * @param declaringBean * @param declaringComponentClass used for resolution of type variables of the injection point type * @param manager * @return */ public <T, X> FieldInjectionPoint<T, X> createFieldInjectionPoint(EnhancedAnnotatedField<T, X> field, Bean<?> declaringBean, Class<?> declaringComponentClass, BeanManagerImpl manager) { FieldInjectionPointAttributes<T, X> attributes = InferringFieldInjectionPointAttributes.of(field, declaringBean, declaringComponentClass, manager); attributes = processInjectionPoint(attributes, declaringComponentClass, manager); return new FieldInjectionPoint<T, X>(attributes); }
public static <T, X> InferringFieldInjectionPointAttributes<T, X> of(EnhancedAnnotatedField<T, X> field, Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager) { return new InferringFieldInjectionPointAttributes<T, X>(field, bean, declaringComponentClass, manager); }
@Override public int hashCode() { return getAnnotated().hashCode(); }
private <X> FieldInjectionPointAttributes<?, X> createFieldInjectionPoint(AnnotatedField<X> field) { EnhancedAnnotatedField<?, X> enhancedField = services.get(MemberTransformer.class).loadEnhancedMember(field, getId()); return InferringFieldInjectionPointAttributes.of(enhancedField, null, field.getDeclaringType().getJavaClass(), this); }
public static <T, X> InferringFieldInjectionPointAttributes<T, X> of(EnhancedAnnotatedField<T, X> field, Bean<?> bean, Class<?> declaringComponentClass, BeanManagerImpl manager) { return new InferringFieldInjectionPointAttributes<T, X>(field, bean, declaringComponentClass, manager); }
@Override public boolean equals(Object obj) { if (obj instanceof InferringFieldInjectionPointAttributes<?, ?>) { AnnotatedField<?> field = Reflections.<InferringFieldInjectionPointAttributes<?, ?>> cast(obj).getAnnotated(); return AnnotatedTypes.compareAnnotatedField(getAnnotated(), field); } return false; } }