Examples of invokeSuper()


Examples of com.google.dexmaker.Code.invokeSuper()

            code.mark(handlerNullCase);
            for (int i = 0; i < superArgs2.length; ++i) {
                superArgs2[i] = code.getParameter(i, argTypes[i]);
            }
            if (void.class.equals(returnType)) {
                code.invokeSuper(superMethod, null, localThis, superArgs2);
                code.returnVoid();
            } else {
                invokeSuper(superMethod, code, localThis, superArgs2, superResult2);
                code.returnValue(superResult2);
            }
View Full Code Here

Examples of com.google.dexmaker.Code.invokeSuper()

            Local<?>[] superArgs = new Local<?>[argClasses.length];
            for (int i = 0; i < superArgs.length; ++i) {
                superArgs[i] = superCode.getParameter(i, argTypes[i]);
            }
            if (void.class.equals(returnType)) {
                superCode.invokeSuper(superMethod, null, superThis, superArgs);
                superCode.returnVoid();
            } else {
                Local<?> superResult = superCode.newLocal(resultType);
                invokeSuper(superMethod, superCode, superThis, superArgs, superResult);
                superCode.returnValue(superResult);
View Full Code Here

Examples of net.sf.cglib.proxy.MethodProxy.invokeSuper()

        if (args != null && args.length == 1) {
            Object valueToSet = args[0];
            if (valueToSet == null) {
                Method getter = em.getFactory().getAnnotationManager().getAnnotationInfo(obj).getGetter(attributeName);
                MethodProxy getterProxy = MethodProxy.find(obj.getClass(), new Signature(NamingHelper.getGetterNameFromSetter(method), Type.getType(getter.getReturnType()), new Type[]{}));
                Object ret = getterProxy.invokeSuper(obj, null);
                if (ret != null) {
                    nulledFields.put(attributeName, ret);
                    System.out.println("field " + attributeName + " is being nulled. Old value = " + ret);
                }
            }
View Full Code Here

Examples of net.sf.cglib.proxy.MethodProxy.invokeSuper()

            if (valueToSet == null) {
                // FIXME support direct field accessors better here
                PersistentMethod persistentMethod = (PersistentMethod)(PersistentMethod)em.getFactory().getAnnotationManager().getAnnotationInfo(obj).getPersistentProperty(attributeName);
                Method getter = persistentMethod.getGetter();
                MethodProxy getterProxy = MethodProxy.find(obj.getClass(), new Signature(persistentMethod.getGetter().getName(), Type.getType(getter.getReturnType()), new Type[]{}));
                Object ret = getterProxy.invokeSuper(obj, null);
                if (ret != null) {
                    nulledFields.put(attributeName, ret);
                    logger.fine("field " + attributeName + " is being nulled. Old value = " + ret);
                }
            }
View Full Code Here

Examples of net.sf.cglib.proxy.MethodProxy.invokeSuper()

            if (valueToSet == null) {
                // FIXME support direct field accessors better here
                PersistentMethod persistentMethod = (PersistentMethod)(PersistentMethod)em.getFactory().getAnnotationManager().getAnnotationInfo(obj).getPersistentProperty(attributeName);
                Method getter = persistentMethod.getGetter();
                MethodProxy getterProxy = MethodProxy.find(obj.getClass(), new Signature(persistentMethod.getGetter().getName(), Type.getType(getter.getReturnType()), new Type[]{}));
                Object ret = getterProxy.invokeSuper(obj, null);
                if (ret != null) {
                    nulledFields.put(attributeName, ret);
                    logger.fine("field " + attributeName + " is being nulled. Old value = " + ret);
                }
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.