Buggy code:
@ ParametersAreNonnullByDefault public final class Reflections { private Reflections ( ) { } private static final BiMap < Class < ? > , Class < ? > > PRIMITIVE_MAP = HashBiMap . create ( 8 ) ; public static Class < ? > primitiveToWrapper ( final Class < ? > clasz ) { } public static Class < ? > wrapperToPrimitive ( final Class < ? > clasz ) { } public static boolean isWrappableOrWrapper ( final Class clasz ) { } public static Object getAnnotationAttribute ( @ Nonnull final Annotation annot , @ Nonnull final String attributeName ) { } @ Nullable @ SuppressFBWarnings ( value = "ES_COMPARING_STRINGS_WITH_EQ" , justification = "comparing<seq2seq4repair_space>interned<seq2seq4repair_space>strings" ) public static Method getMethod ( final Class < ? > c , final String methodName , final Class < ? > ... paramTypes ) { } @ Nullable public static Constructor < ? > getConstructor ( final Class < ? > c , final Class < ? > ... paramTypes ) { } @ Nullable public static Method getCompatibleMethod ( final Class < ? > c , final String methodName , final Class < ? > ... paramTypes ) { } public static Object invoke ( final Method m , final Object object , final Object [ ] parameters ) throws IllegalAccessException , InvocationTargetException { } public static boolean canAssign ( final Class < ? > to , final Class < ? > from ) { } static final class MethodDesc { @ Nonnull private final Class < ? > clasz ; @ Nonnull private final String name ; @ Nonnull private final Class < ? > [ ] paramTypes ; MethodDesc ( final Class < ? > clasz , final String name , final Class < ? > [ ] paramTypes ) { } public Class < ? > getClasz ( ) { } public String getName ( ) { } public Class < ? > [ ] getParamTypes ( ) { } @ Override public int hashCode ( ) { } @ Override public boolean equals ( final Object obj ) { } @ Override public String toString ( ) { } } private static final LoadingCache < Reflections . MethodDesc , Method > CACHE_FAST = new org . spf4j . concurrent . UnboundedLoadingCache ( 64 , new CacheLoader < Reflections . MethodDesc , Method > ( ) { @ Override public Method load ( final Reflections . MethodDesc k ) { } } ) ; public static Method getCompatibleMethodCached ( final Class < ? > c , final String methodName , final Class < ? > ... paramTypes ) { } @ Nullable public static URL getJarSourceUrl ( final Class < ? > clasz ) { } @ Nullable @ SuppressFBWarnings ( "NP_LOAD_OF_KNOWN_NULL_VALUE" ) public static Manifest getManifest ( @ Nonnull final URL jarUrl ) throws IOException { } public static final class PackageInfo implements Serializable { private static final long serialVersionUID = 1L ; private final URL url ; private final String version ; @ ConstructorProperties ( { "url" , "version" } ) public PackageInfo ( @ Nullable final URL url , @ Nullable final String version ) { } @ Nullable public URL getUrl ( ) { } @ Nullable public String getVersion ( ) { } @ Override @ SuppressFBWarnings ( "DMI_BLOCKING_METHODS_ON_URL" ) public int hashCode ( ) { } public boolean hasInfo ( ) { } @ Override public boolean equals ( final Object obj ) { } @ Override public String toString ( ) { } } private static final Reflections . PackageInfo NONE = new Reflections . PackageInfo ( null , null ) ; @ Nonnull public static Reflections . PackageInfo getPackageInfoDirect ( @ Nonnull final String className ) { Class < ? > aClass ; try { aClass = Class . forName ( className ) ; <START_BUG> } catch ( ClassNotFoundException ex ) { <END_BUG> return Reflections . NONE ; } return Reflections . getPackageInfoDirect ( aClass ) ; } @ Nonnull public static Reflections . PackageInfo getPackageInfoDirect ( @ Nonnull final Class < ? > aClass ) { } @ Nonnull public static Reflections . PackageInfo getPackageInfo ( @ Nonnull final String className ) { } private static final LoadingCache < String , Reflections . PackageInfo > CACHE = CacheBuilder . newBuilder ( ) . weakKeys ( ) . weakValues ( ) . build ( new CacheLoader < String , Reflections . PackageInfo > ( ) { @ Override public Reflections . PackageInfo load ( final String key ) { } } ) ; }

Fix:
} catch ( ClassNotFoundException | NoClassDefFoundError ex ) {