class PythonFileAnalyzer implements FileAnalyzer {

  @Override
  public Map<ConstructId, Construct> getConstructs() throws FileAnalysisException {
    if (this.constructs == null) {
      analyzer = PythonFileAnalyzer.createAnalyzer(this.file);
      analyzer.analyze(this.file);
      this.constructs = analyzer.getConstructs();
    }
    return analyzer.getConstructs();
  }

}