Info Call to Reflection API

Description

List of calls allowing the application to examine and modify the structure and behavior of an object at runtime.

Recommendation

This entry is informative, no recommendations applicable.

Technical details

Method com.ofss.fcdb.mobile.android.phone.mleapdatatypes.QRCodeType.pushMessageToHandler() calling method java.lang.reflect.Method.invoke()


    public void pushMessageToHandler()
    {
        try {
            String v0_0 = android.os.Message.obtain();
            reflect.Method v1_6 = new java.util.HashMap();
            v1_6.put("height", Integer.valueOf(this.k));
            v1_6.put("width", Integer.valueOf(this.j));
            v1_6.put("listener", this);
            v0_0.obj = v1_6;
            reflect.Method v1_1 = new Thread();
            v1_1.start();
            v1_1.setPriority(10);
            reflect.Method v1_3 = this.d;
            try {
                reflect.Method v1_7 = v1_3.getPackageManager().getApplicationInfo(v1_3.getPackageName(), 128).metaData;
                Object v2_4 = v1_7.getString("qrhandlerclassname");
                reflect.Method v1_8 = v1_7.getString("qrhandlemethodname");
                Object[] v3_5 = new Class[1];
                v3_5[0] = android.os.Message;
                Object v2_6 = Class.forName(v2_4);
            } catch (String v0_1) {
                com.ofss.fcdb.mobile.android.b.d.a.a(android.util.Log.getStackTraceString(v0_1));
                return;
            }
            if (v2_6 == null) {
                return;
            } else {
                reflect.Method v1_9 = v2_6.getDeclaredMethod(v1_8, v3_5);
                Object v2_7 = v2_6.newInstance();
                if (v1_9 == null) {
                    return;
                } else {
                    Object[] v3_8 = new Object[1];
                    v3_8[0] = v0_0;
                    v1_9.invoke(v2_7, v3_8);
                    return;
                }
            }
        } catch (String v0_3) {
            com.ofss.fcdb.mobile.android.b.d.a.a(android.util.Log.getStackTraceString(v0_3));
            return;
        }
    }

Method com.ofss.fcdb.mobile.android.phone.helpers.a.f() calling method java.lang.reflect.Method.invoke()


    public static void f(android.content.Context p6)
    {
        com.ofss.fcdb.mobile.android.phone.helpers.a.k.ai = p6.getResources().getInteger(com.ofss.fcdb.mobile.android.phone.i.b.aE());
        com.ofss.fcdb.mobile.android.phone.helpers.a.k.aj = Float.parseFloat(p6.getResources().getString(com.ofss.fcdb.mobile.android.phone.i.b.au()));
        int v1_3 = p6.getResources().getDisplayMetrics();
        com.ofss.fcdb.mobile.android.phone.helpers.a.k.ak = v1_3.densityDpi;
        com.ofss.fcdb.mobile.android.phone.helpers.a.k.M[0] = v1_3.widthPixels;
        try {
            if (!((Boolean) android.view.ViewConfiguration.getMethod("hasPermanentMenuKey", 0).invoke(android.view.ViewConfiguration.get(p6), 0)).booleanValue()) {
                com.ofss.fcdb.mobile.android.phone.helpers.a.k.M[1] = (v1_3.heightPixels - 50);
            } else {
                com.ofss.fcdb.mobile.android.phone.helpers.a.k.M[1] = v1_3.heightPixels;
            }
        } catch (int[] v0) {
            v1_3 = v1_3.heightPixels;
            com.ofss.fcdb.mobile.android.phone.helpers.a.k.M[1] = v1_3;
        } catch (int[] v0) {
            v1_3 = v1_3.heightPixels;
            com.ofss.fcdb.mobile.android.phone.helpers.a.k.M[1] = v1_3;
        } catch (int[] v0) {
            v1_3 = v1_3.heightPixels;
            com.ofss.fcdb.mobile.android.phone.helpers.a.k.M[1] = v1_3;
        }
        return;
    }

Method com.ofss.fcdb.mobile.android.phone.h.a.a() calling method java.lang.reflect.Method.invoke()


    public void a(String p7)
    {
        reflect.Method v0_3 = this.c;
        String v1_1 = new String[1];
        v1_1[0] = p7;
        try {
            reflect.Method v0_1 = v0_3.getPackageManager().getApplicationInfo(v0_3.getPackageName(), 128).metaData;
            Object v2_2 = v0_1.getString("qrclassname");
            reflect.Method v0_2 = v0_1.getString("qrmethodname");
            Object[] v3_2 = new Class[2];
            v3_2[0] = android.app.Activity;
            v3_2[1] = String;
            Object v2_3 = Class.forName(v2_2);
        } catch (reflect.Method v0_5) {
            com.ofss.fcdb.mobile.android.b.d.a.a(android.util.Log.getStackTraceString(v0_5));
            return;
        }
        if (v2_3 == null) {
            return;
        } else {
            reflect.Method v0_4 = v2_3.getDeclaredMethod(v0_2, v3_2);
            Object v2_4 = v2_3.newInstance();
            if (v0_4 == null) {
                return;
            } else {
                Object[] v3_4 = new Object[2];
                v3_4[0] = this.c;
                v3_4[1] = v1_1[0];
                v0_4.invoke(v2_4, v3_4);
                return;
            }
        }
    }

Method com.ofss.fcdb.mobile.android.phone.handlers.a.loadBehaviour() calling method java.lang.reflect.Method.invoke()


    public void loadBehaviour(String p12, com.ofss.fcdb.mobile.android.phone.application.BaseActivity p13)
    {
        String[] v3 = p12.split("#");
        int v0_1 = 0;
        while (v0_1 < v3.length) {
            String v4_0 = v3[v0_1].split("\\{");
            String v5_0 = v4_0[0].trim();
            if (!com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.VALUE.ISBEHAVIOREXTENDED", this.a).equalsIgnoreCase("Y")) {
                try {
                    Exception v2_23 = Class.forName(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.VALUE.BEHAVIOR.HANDLER", this.a));
                    android.content.Context v6_26 = new Class[2];
                    v6_26[0] = String;
                    v6_26[1] = com.ofss.fcdb.mobile.android.phone.application.BaseActivity;
                    Exception v2_24 = v2_23.getMethod(v5_0, v6_26);
                    android.content.Context v6_28 = new com.ofss.fcdb.mobile.android.phone.handlers.Behaviour(this.a, this.c, this.b, this.d);
                    Object[] v7_27 = new Object[2];
                    v7_27[0] = v4_0[1];
                    v7_27[1] = p13;
                    v2_24.invoke(v6_28, v7_27);
                } catch (Exception v2_27) {
                    com.ofss.fcdb.mobile.android.b.d.a.a(new StringBuilder(String.valueOf(v5_0)).append(" is not defined in ").append(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.VALUE.BEHAVIOR.HANDLER", this.a)).append(" class.").toString());
                    v2_27.printStackTrace();
                } catch (Exception v2_26) {
                    v2_26.printStackTrace();
                }
            } else {
                try {
                    Exception v2_31 = Class.forName(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.VALUE.BEHAVIOREXTENDEDCLASS", this.a));
                    android.content.Context v6_32 = new Class[2];
                    v6_32[0] = String;
                    v6_32[1] = com.ofss.fcdb.mobile.android.phone.application.BaseActivity;
                    android.content.Context v6_33 = v2_31.getMethod(v5_0, v6_32);
                    Object[] v7_31 = new Class[4];
                    v7_31[0] = android.content.Context;
                    v7_31[1] = Class.forName("[I");
                    v7_31[2] = com.ofss.fcdb.mobile.android.phone.c.b;
                    v7_31[3] = android.view.ViewGroup;
                    Exception v2_0 = v2_31.getConstructor(v7_31);
                    Object[] v7_1 = new Object[4];
                    v7_1[0] = this.a;
                    v7_1[1] = this.c;
                    v7_1[2] = this.b;
                    v7_1[3] = this.d;
                    Exception v2_2 = v2_0.newInstance(v7_1);
                    Object[] v7_3 = new Object[2];
                    v7_3[0] = v4_0[1];
                    v7_3[1] = p13;
                    v6_33.invoke(v2_2, v7_3);
                } catch (Exception v2_14) {
                    com.ofss.fcdb.mobile.android.b.d.a.a(new StringBuilder(String.valueOf(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.VALUE.BEHAVIOREXTENDEDCLASS", this.a))).append(" class not found.").toString());
                    v2_14.printStackTrace();
                    try {
                        Exception v2_18 = Class.forName(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.VALUE.BEHAVIOR.HANDLER", this.a));
                        android.content.Context v6_21 = new Class[2];
                        v6_21[0] = String;
                        v6_21[1] = com.ofss.fcdb.mobile.android.phone.application.BaseActivity;
                        Exception v2_19 = v2_18.getMethod(v5_0, v6_21);
                        android.content.Context v6_23 = new com.ofss.fcdb.mobile.android.phone.handlers.Behaviour(this.a, this.c, this.b, this.d);
                        Object[] v7_22 = new Object[2];
                        v7_22[0] = v4_0[1];
                        v7_22[1] = p13;
                        v2_19.invoke(v6_23, v7_22);
                    } catch (Exception v2_22) {
                        com.ofss.fcdb.mobile.android.b.d.a.a(new StringBuilder(String.valueOf(v5_0)).append(" is not defined in ").append(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.VALUE.BEHAVIOR.HANDLER", this.a)).append(" class.").toString());
                        v2_22.printStackTrace();
                    } catch (Exception v2_21) {
                        v2_21.printStackTrace();
                    }
                } catch (Exception v2_4) {
                    com.ofss.fcdb.mobile.android.b.d.a.a(new StringBuilder(String.valueOf(v5_0)).append(" is not defined in ").append(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.VALUE.BEHAVIOREXTENDEDCLASS", this.a)).append(" class.").toString());
                    v2_4.printStackTrace();
                    try {
                        Exception v2_8 = Class.forName(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.VALUE.BEHAVIOR.HANDLER", this.a));
                        android.content.Context v6_9 = new Class[2];
                        v6_9[0] = String;
                        v6_9[1] = com.ofss.fcdb.mobile.android.phone.application.BaseActivity;
                        Exception v2_10 = v2_8.getMethod(v5_0, v6_9);
                        android.content.Context v6_11 = new com.ofss.fcdb.mobile.android.phone.handlers.Behaviour(this.a, this.c, this.b, this.d);
                        Object[] v7_13 = new Object[2];
                        v7_13[0] = v4_0[1];
                        v7_13[1] = p13;
                        v2_10.invoke(v6_11, v7_13);
                    } catch (Exception v2_12) {
                        com.ofss.fcdb.mobile.android.b.d.a.a(new StringBuilder(String.valueOf(v5_0)).append(" is not defined in ").append(com.ofss.fcdb.mobile.android.phone.helpers.a.c("PARAM.VALUE.BEHAVIOR.HANDLER", this.a)).append(" class.").toString());
                        v2_12.printStackTrace();
                    } catch (Exception v2_11) {
                        v2_11.printStackTrace();
                    }
                } catch (Exception v2_3) {
                    v2_3.printStackTrace();
                }
            }
            v0_1++;
        }
        return;
    }

Method com.google.android.gms.internal.dw.b() calling method java.lang.reflect.Method.invoke()


    protected Object b(com.google.android.gms.internal.dw$a p5)
    {
        Exception v0_1;
        Exception v0_0 = 1;
        Class[] v2_0 = p5.f();
        if (p5.h() == null) {
            v0_1 = this.a(p5.f());
        } else {
            if (this.a(p5.f()) != null) {
                v0_0 = 0;
            }
            Exception v0_3;
            com.google.android.gms.internal.cv.a(v0_0, new StringBuilder().append("Concrete field shouldn\'t be value object: ").append(p5.f()).toString());
            if (!p5.e()) {
                v0_3 = this.c();
            } else {
                v0_3 = this.d();
            }
            if (v0_3 == null) {
                try {
                    Class[] v2_2 = new Class[0];
                    RuntimeException v1_14 = new Object[0];
                    v0_1 = this.getClass().getMethod(new StringBuilder().append("get").append(Character.toUpperCase(v2_0.charAt(0))).append(v2_0.substring(1)).toString(), v2_2).invoke(this, v1_14);
                } catch (Exception v0_11) {
                    throw new RuntimeException(v0_11);
                }
            } else {
                v0_1 = v0_3.get(v2_0);
            }
        }
        return v0_1;
    }

Method com.facebook.model.GraphObject$Factory$ProxyBase.proxyObjectMethods() calling method java.lang.reflect.Method.invoke()


    protected final Object proxyObjectMethods(Object p4, reflect.Method p5, Object[] p6)
    {
        Boolean v0_1;
        Boolean v0_4 = p5.getName();
        if (!v0_4.equals("equals")) {
            if (!v0_4.equals("toString")) {
                v0_1 = p5.invoke(this.state, p6);
            } else {
                v0_1 = this.toString();
            }
        } else {
            Boolean v0_2 = p6[0];
            if (v0_2 != null) {
                Boolean v0_3 = reflect.Proxy.getInvocationHandler(v0_2);
                if ((v0_3 instanceof com.facebook.model.GraphObject$Factory$GraphObjectProxy)) {
                    v0_1 = Boolean.valueOf(this.state.equals(((com.facebook.model.GraphObject$Factory$GraphObjectProxy) v0_3).state));
                } else {
                    v0_1 = Boolean.valueOf(0);
                }
            } else {
                v0_1 = Boolean.valueOf(0);
            }
        }
        return v0_1;
    }

Method com.facebook.bp.a() calling method java.lang.reflect.Method.invoke()


    ark>com.facebook.bpark> a()
    {
        try {
            if (ark>com.facebook.bpark>.b == null) {
                Void[] v0_1 = new Void[0];
                this.execute(v0_1);
            } else {
                Object[] v1_1 = new Object[2];
                v1_1[0] = com.facebook.cr.a();
                v1_1[1] = 0;
                ark>com.facebook.bpark>.b.invoke(this, v1_1);
            }
        } catch (Void[] v0) {
        } catch (Void[] v0) {
        }
        return this;
    }

Method com.facebook.b.aq.a() calling method java.lang.reflect.Method.invoke()


    public static varargs Object a(Object p2, reflect.Method p3, Object[] p4)
    {
        try {
            Object v0 = p3.invoke(p2, p4);
        } catch (reflect.InvocationTargetException v1) {
        } catch (reflect.InvocationTargetException v1) {
        }
        return v0;
    }

Method android.support.v4.widget.aa.a() calling method java.lang.reflect.Method.invoke()


    public void a(android.support.v4.widget.SlidingPaneLayout p4, android.view.View p5)
    {
        if ((this.a == null) || (this.b == null)) {
            p5.invalidate();
        } else {
            try {
                this.b.setBoolean(p5, 1);
                this.a.invoke(p5, ((Object[]) 0));
            } catch (Exception v0_2) {
                android.util.Log.e("SlidingPaneLayout", "Error refreshing display list state", v0_2);
            }
            super.a(p4, p5);
        }
        return;
    }

Method android.support.v4.view.ViewPager.setChildrenDrawingOrderEnabledCompat() calling method java.lang.reflect.Method.invoke()


    void setChildrenDrawingOrderEnabledCompat(boolean p6)
    {
        if (android.os.Build$VERSION.SDK_INT >= 7) {
            if (this.ac == null) {
                try {
                    String v2_4 = new Class[1];
                    v2_4[0] = Boolean.TYPE;
                    this.ac = android.view.ViewGroup.getDeclaredMethod("setChildrenDrawingOrderEnabled", v2_4);
                } catch (Exception v0_2) {
                    android.util.Log.e("ViewPager", "Can\'t find setChildrenDrawingOrderEnabled", v0_2);
                }
                Exception v0_3 = this.ac;
                String v1_3 = new Object[1];
                v1_3[0] = Boolean.valueOf(p6);
                v0_3.invoke(this, v1_3);
                return;
            }
            try {
            } catch (Exception v0_4) {
                android.util.Log.e("ViewPager", "Error changing children drawing order", v0_4);
            }
        }
        return;
    }