in javascript there is possible to get a source code as a string through the code snippet "myfunction.toString();"
Is there any same way to do in java ?