/** * {@inheritDoc} */ public Loaded<V> loadSilent(ClassLoader classLoader) { try { return load(classLoader); } catch (ClassNotFoundException exception) { throw new IllegalStateException("Cannot load " + this, exception); } } }
/** * {@inheritDoc} */ public <W> W resolve(Class<? extends W> type) { return type.cast(resolve()); }