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());
}
public Symbol selector() {
return Symbol.value(method.selector());
}