Please add this in the file header and state the projects copyright.
In the method dox, just add a note where it is from