org_apache_struts2_rest_handler_JacksonJsonHandlerTest_java
com.fasterxml.jackson.databind.util.ClassUtil
public static <T> Constructor<T> findConstructor(Class<T> cls, boolean forceAccess) throws IllegalArgumentException {
        try {
            Constructor<T> ctor = cls.getDeclaredConstructor(new Class[0]);
            if (forceAccess) {
                ClassUtil.checkAndFixAccess(ctor, forceAccess);
            } else if (!Modifier.isPublic(ctor.getModifiers())) {
                throw new IllegalArgumentException("Default constructor for " + cls.getName() + " is not accessible (non-public?): not allowed to try modify access via Reflection: cannot instantiate type");
            }
            return ctor;
        }
        catch (NoSuchMethodException ctor) {
        }
        catch (Exception e) {
            ClassUtil.unwrapAndThrowAsIAE(e, "Failed to find default constructor of class " + cls.getName() + ", problem: " + e.getMessage());
        }
        return null;
    }
 -> java.lang.Class.getDeclaredConstructor(java.lang.Class[]): java.lang.reflect.Constructor -> java.lang.reflect.Constructor.getModifiers(): int -> java.lang.reflect.Modifier.isPublic(int): boolean
 [CALL] -> java.lang.Class.getDeclaredConstructor(java.lang.Class[]): java.lang.reflect.Constructor -> java.lang.reflect.Constructor.getModifiers(): int -> java.lang.reflect.Modifier.isPublic(int): boolean [EXIT]