public synchronized String getAnnotationClientMethod(String fileSource)
    {
        FileInputStream fIn = null;
        FileChannel fChan = null;
        long fSize;
        ByteBuffer mBuf;
        String content = "";
        try
        {
            fIn = new FileInputStream(fileSource);
            fChan = fIn.getChannel();
            fSize = fChan.size();
            mBuf = ByteBuffer.allocate((int) fSize);
            fChan.read(mBuf);
            mBuf.rewind();
            for(int i = 0; i < fSize; i++)
            {
                content += (char) mBuf.get();
            }
        }
        catch(IOException exc)
        {
            exc.printStackTrace();
        }
        finally
        {
            try
            {
                if(fChan != null)
                {
                    fChan.close();
                }
                if(fIn != null)
                {
                    fIn.close();
                }
            }
            catch(IOException ex)
            {
                ex.printStackTrace();
            }
        }

        content = content.replace("<?php", "");
        content = content.replace('"', '\'');
        content = content.replace("'", "\'");
        String keyAnnotation = "@remoteClient";
        int indexOf = content.indexOf(keyAnnotation);
        content = content.substring(indexOf, content.length());
        int indexFunc = content.indexOf(" function");
        int indexCloseTagFunc = content.indexOf("}") + 1;
        content = content.substring(indexFunc, indexCloseTagFunc);

        return content;
    }