src/main/java/org/plumelib/bcelutil/BcelUtil.java
public static Class<?> typeToClass(Type type) {

    String classname = typeToClassgetname(type);
    try {
      return ReflectionPlume.classForName(classname);
    } catch (Exception e) {
      throw new RuntimeException("can't find class for " + classname, e);
    }
  }
public static Class<?> typeToClass(Type type) {

    String classname = typeToClassgetname(type);
    try {
      return ReflectionPlume.classForName(classname);
    } catch (Exception e) {
      throw new RuntimeException("can't find class for " + classname, e);
    }
  }
public static Class < ? > typeToClass ( Type type ) { String classname = typeToClassgetname ( type ) ; try { return ReflectionPlume . classForName ( classname ) ; } catch ( Exception e ) { throw new RuntimeException ( "can't find class for " + classname , e ) ; } }
Returns the class that corresponds to type.

@param type the type
@return the Java class that corresponds to type
Returns the class that corresponds to type .