public static Class < ? > classFromAsmType ( Type type ) { Optional < Class < ? > > maybeClass = objectTypeToClassCache . getUnchecked ( type ) ; if ( ! maybeClass . isPresent ( ) ) { throw new IllegalArgumentException ( "Could not load: " + type ) ; } return maybeClass . get ( ) ; }
Returns the runtime class represented by the given type .