/** * Finds a method that has the given name and descriptor and is declared * in the super class. * * @throws RuntimeException if the method is not found. */ public static Method findSuperMethod(Object self, String name, String desc) { // for JBoss Seam. See JASSIST-183. Class clazz = self.getClass(); return findSuperClassMethod(clazz, name, desc); }
/** * Finds a method that has the given name and descriptor and is declared * in the super class. * * @throws RuntimeException if the method is not found. */ public static Method findSuperMethod(Object self, String name, String desc) { // for JBoss Seam. See JASSIST-183. Class<?> clazz = self.getClass(); return findSuperClassMethod(clazz, name, desc); }
/** * Finds two methods specified by the parameters and stores them * into the given array. * * @throws RuntimeException if the methods are not found. * @see javassist.util.proxy.ProxyFactory */ public static void find2Methods(Class clazz, String superMethod, String thisMethod, int index, String desc, java.lang.reflect.Method[] methods) { methods[index + 1] = thisMethod == null ? null : findMethod(clazz, thisMethod, desc); methods[index] = findSuperClassMethod(clazz, superMethod, desc); }
/** * Finds two methods specified by the parameters and stores them * into the given array. * * @throws RuntimeException if the methods are not found. * @see javassist.util.proxy.ProxyFactory */ public static void find2Methods(Class<?> clazz, String superMethod, String thisMethod, int index, String desc, java.lang.reflect.Method[] methods) { methods[index + 1] = thisMethod == null ? null : findMethod(clazz, thisMethod, desc); methods[index] = findSuperClassMethod(clazz, superMethod, desc); }
/** * Finds a method that has the given name and descriptor and is declared * in the super class. * * @throws RuntimeException if the method is not found. */ public static Method findSuperMethod(Object self, String name, String desc) { // for JBoss Seam. See JASSIST-183. Class clazz = self.getClass(); return findSuperClassMethod(clazz, name, desc); }
/** * Finds a method that has the given name and descriptor and is declared * in the super class. * * @throws RuntimeException if the method is not found. */ public static Method findSuperMethod(Object self, String name, String desc) { // for JBoss Seam. See JASSIST-183. Class clazz = self.getClass(); return findSuperClassMethod(clazz, name, desc); }
/** * Finds a method that has the given name and descriptor and is declared * in the super class. * * @throws RuntimeException if the method is not found. */ public static Method findSuperMethod(Object self, String name, String desc) { // for JBoss Seam. See JASSIST-183. Class clazz = self.getClass(); return findSuperClassMethod(clazz, name, desc); }
/** * Finds two methods specified by the parameters and stores them * into the given array. * * @throws RuntimeException if the methods are not found. * @see javassist.util.proxy.ProxyFactory */ public static void find2Methods(Class clazz, String superMethod, String thisMethod, int index, String desc, java.lang.reflect.Method[] methods) { methods[index + 1] = thisMethod == null ? null : findMethod(clazz, thisMethod, desc); methods[index] = findSuperClassMethod(clazz, superMethod, desc); }
/** * Finds two methods specified by the parameters and stores them * into the given array. * * @throws RuntimeException if the methods are not found. * @see javassist.util.proxy.ProxyFactory */ public static void find2Methods(Class clazz, String superMethod, String thisMethod, int index, String desc, java.lang.reflect.Method[] methods) { methods[index + 1] = thisMethod == null ? null : findMethod(clazz, thisMethod, desc); methods[index] = findSuperClassMethod(clazz, superMethod, desc); }
/** * Finds two methods specified by the parameters and stores them * into the given array. * * @throws RuntimeException if the methods are not found. * @see javassist.util.proxy.ProxyFactory */ public static void find2Methods(Class clazz, String superMethod, String thisMethod, int index, String desc, java.lang.reflect.Method[] methods) { methods[index + 1] = thisMethod == null ? null : findMethod(clazz, thisMethod, desc); methods[index] = findSuperClassMethod(clazz, superMethod, desc); }