/** * Return the name of the type returned by this method. The name * will be given in a form suitable for a {@link Class#forName} call. * * @see BCMember#getDescriptor */ public String getReturnName() { return getProject().getNameCache().getExternalForm(getProject(). getNameCache().getDescriptorReturnName(getDescriptor()), false); }
/** * Return the name of the type returned by this method. The name * will be given in a form suitable for a {@link Class#forName} call. * * @see BCMember#getDescriptor */ public String getReturnName() { return getProject().getNameCache().getExternalForm(getProject(). getNameCache().getDescriptorReturnName(getDescriptor()), false); }
/** * Return the names of all the parameter types for this method. The names * will be returned in a form suitable for a {@link Class#forName} call. * * @see BCMember#getDescriptor */ public String[] getParamNames() { // get the parameter types from the descriptor String[] params = getProject().getNameCache().getDescriptorParamNames (getDescriptor()); // convert them to external form for (int i = 0; i < params.length; i++) params[i] = getProject().getNameCache().getExternalForm(params[i], false); return params; }
/** * Return the names of all the parameter types for this method. The names * will be returned in a form suitable for a {@link Class#forName} call. * * @see BCMember#getDescriptor */ public String[] getParamNames() { // get the parameter types from the descriptor String[] params = getProject().getNameCache().getDescriptorParamNames (getDescriptor()); // convert them to external form for (int i = 0; i < params.length; i++) params[i] = getProject().getNameCache().getExternalForm(params[i], false); return params; }