public static Class<?> isTypeOf(TypeMirror type, List<Class<?>> classList) {

    for (Class<?> c : classList) {
      if (isTypeOf(type, c)) {
        return c;
      }
    }

    return null;
  }
public static Class<?> isTypeOf(TypeMirror type, List<Class<?>> classList) {

    for (Class<?> c : classList) {
      if (isTypeOf(type, c)) {
        return c;
      }
    }

    return null;
  }
public static Class < ? > isTypeOf ( TypeMirror type , List < Class < ? > > classList ) { for ( Class < ? > c : classList ) { if ( isTypeOf ( type , c ) ) { return c ; } } return null ; }
Returns the class this element is part of
Returns the class this element is part of