Home | History | Annotate | Download | only in checkdeps

Lines Matching refs:filepath

20   that reads all the .java files and builds a mapping of class name -> filepath.
21 In CheckFile, we convert each import statement into a real filepath, and check
31 _classmap: dict of fully-qualified Java class name -> filepath
65 def _PrescanFile(self, filepath):
67 print 'Prescanning: ' + filepath
68 with codecs.open(filepath, encoding='utf-8') as f:
69 short_class_name, _ = os.path.splitext(os.path.basename(filepath))
75 print ' ' + filepath
79 self._classmap[full_class_name] = filepath
81 print 'WARNING: no package definition found in %s' % filepath
83 def CheckFile(self, rules, filepath):
85 print 'Checking: ' + filepath
87 dependee_status = results.DependeeStatus(filepath)
88 with codecs.open(filepath, encoding='utf-8') as f:
99 rule = rules.RuleApplyingTo(include_path, filepath)