/** * Return the {@link Class} object for the return type of this method. * * @see BCMember#getDescriptor */ public Class getReturnType() { return Strings.toClass(getReturnName(), getClassLoader()); }
/** * Return the {@link Class} object for the return type of this method. * * @see BCMember#getDescriptor */ public Class getReturnType() { return Strings.toClass(getReturnName(), getClassLoader()); }
/** * Return the {@link Class} objects for all the parameter types for this * method. * * @see BCMember#getDescriptor */ public Class[] getParamTypes() { String[] paramNames = getParamNames(); Class[] params = new Class[paramNames.length]; for (int i = 0; i < paramNames.length; i++) params[i] = Strings.toClass(paramNames[i], getClassLoader()); return params; }
/** * Return the {@link Class} objects for all the parameter types for this * method. * * @see BCMember#getDescriptor */ public Class[] getParamTypes() { String[] paramNames = getParamNames(); Class[] params = new Class[paramNames.length]; for (int i = 0; i < paramNames.length; i++) params[i] = Strings.toClass(paramNames[i], getClassLoader()); return params; }
/** * Return the bytecode for the return type of this method. * * @see BCMember#getDescriptor */ public BCClass getReturnBC() { return getProject().loadClass(getReturnName(), getClassLoader()); }
/** * Return the bytecode for all the parameter types for this method. * * @see BCMember#getDescriptor */ public BCClass[] getParamBCs() { String[] paramNames = getParamNames(); BCClass[] params = new BCClass[paramNames.length]; for (int i = 0; i < paramNames.length; i++) params[i] = getProject().loadClass(paramNames[i], getClassLoader()); return params; }
/** * Return the bytecode for all the parameter types for this method. * * @see BCMember#getDescriptor */ public BCClass[] getParamBCs() { String[] paramNames = getParamNames(); BCClass[] params = new BCClass[paramNames.length]; for (int i = 0; i < paramNames.length; i++) params[i] = getProject().loadClass(paramNames[i], getClassLoader()); return params; }
/** * Return the bytecode for the return type of this method. * * @see BCMember#getDescriptor */ public BCClass getReturnBC() { return getProject().loadClass(getReturnName(), getClassLoader()); }