MyMethod (@NotNull String className, @NotNull String methodName, Class<?>... parameterTypes) { try { return create(Class.forName(className), methodName, parameterTypes); } catch (ClassNotFoundException ignore) { } return EMPTY_INSTANCE; }