@SuppressWarnings("unchecked") public Builder hiddenImpl(String className, Class<?>... types) { // don't do any work if an implementation has been found if (ctor != null) { return this; } try { Class targetClass = Class.forName(className, true, loader); hiddenImpl(targetClass, types); } catch (NoClassDefFoundError e) { // cannot load this implementation problems.put(className, e); } catch (ClassNotFoundException e) { // not the right implementation problems.put(className, e); } return this; }
@SuppressWarnings("unchecked") public Builder hiddenImpl(String className, Class<?>... types) { // don't do any work if an implementation has been found if (ctor != null) { return this; } try { Class targetClass = Class.forName(className, true, loader); hiddenImpl(targetClass, types); } catch (NoClassDefFoundError e) { // cannot load this implementation } catch (ClassNotFoundException e) { // not the right implementation } return this; }
public Builder hiddenImpl(Class<?>... types) { hiddenImpl(baseClass, types); return this; }
public Builder hiddenImpl(Class<?>... types) { hiddenImpl(baseClass, types); return this; }