this.method = method;
this.mclass = mclass;
}
public String source() {
SourcePosition sourcePosition = method.sourcePosition();
if(sourcePosition == null)
return method.prettySourceString();
String contentsOfEntireFile = FilenameExtensions.contentsOfEntireFile(sourcePosition.sourceFile().asFile());
return contentsOfEntireFile.substring(sourcePosition.start(), sourcePosition.stop());
}