code: public static ArrayList<Method> getNonPublicMethods(final Class<?> ejbClass,
                                                          final Method[] publicMethods)
      {
  
          return AccessController.doPrivileged(new PrivilegedAction<ArrayList<Method>>() {
              @Override
              public ArrayList<Method> run() {
                  return getNonPublicMethodsPrivileged(ejbClass, publicMethods);
              }
          });
      }
docs: F743-1756