public static VirtualFile findJS(Widget widget) { return findJS(widget.packageName()); }
public static VirtualFile findDefaultInstanceDefs(Widget widget) { String path = widgetPath(widget.packageName()) + defaultInstanceDefs; return VirtualFile.search(Play.javaPath, path); }
public static String widgetPath(Widget w) { return (basePath + w.packageName() + ".").replace(".", File.separator); }