Examples of FieldTypeProvider


Examples of org.springframework.core.SerializableTypeWrapper.FieldTypeProvider

   * @return a {@link ResolvableType} for the specified field
   * @see #forField(Field, Class)
   */
  public static ResolvableType forField(Field field) {
    Assert.notNull(field, "Field must not be null");
    return forType(null, new FieldTypeProvider(field), null);
  }
View Full Code Here

Examples of org.springframework.core.SerializableTypeWrapper.FieldTypeProvider

   * @see #forField(Field)
   */
  public static ResolvableType forField(Field field, Class<?> implementationClass) {
    Assert.notNull(field, "Field must not be null");
    ResolvableType owner = forType(implementationClass).as(field.getDeclaringClass());
    return forType(null, new FieldTypeProvider(field), owner.asVariableResolver());
  }
View Full Code Here

Examples of org.springframework.core.SerializableTypeWrapper.FieldTypeProvider

   */
  public static ResolvableType forField(Field field, ResolvableType implementationType) {
    Assert.notNull(field, "Field must not be null");
    implementationType = (implementationType == null ? NONE : implementationType);
    ResolvableType owner = implementationType.as(field.getDeclaringClass());
    return forType(null, new FieldTypeProvider(field), owner.asVariableResolver());
  }
View Full Code Here

Examples of org.springframework.core.SerializableTypeWrapper.FieldTypeProvider

   * generic type; etc)
   * @see #forField(Field)
   */
  public static ResolvableType forField(Field field, int nestingLevel) {
    Assert.notNull(field, "Field must not be null");
    return forType(null, new FieldTypeProvider(field), null).getNested(nestingLevel);
  }
View Full Code Here

Examples of org.springframework.core.SerializableTypeWrapper.FieldTypeProvider

   * @see #forField(Field)
   */
  public static ResolvableType forField(Field field, int nestingLevel, Class<?> implementationClass) {
    Assert.notNull(field, "Field must not be null");
    ResolvableType owner = forType(implementationClass).as(field.getDeclaringClass());
    return forType(null, new FieldTypeProvider(field), owner.asVariableResolver()).getNested(nestingLevel);
  }
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.