If by that you mean you want to be able to show the method's code then you will need to read the .java file and extract the code from that, the only other method I know of is to use a decompiler but the code produced can be hard to read.
You can write doclets for the
JavaDocs tool which may help you parse the .java file to find the code.