use of org.elixir_lang.beam.psi.impl.ModuleStubImpl in project intellij-elixir by KronicDeth.
the class BeamFileImpl method buildModuleStub.
@Nullable
private static ModuleStub buildModuleStub(PsiFileStub<ElixirFile> parentStub, Beam beam) {
ModuleStub moduleStub = null;
if (beam != null) {
Atoms atoms = beam.atoms();
if (atoms != null) {
String moduleName = atoms.moduleName();
if (moduleName != null) {
String name = defmoduleArgument(moduleName);
moduleStub = new ModuleStubImpl(parentStub, name);
buildCallDefinitions(moduleStub, beam, atoms);
}
}
}
return moduleStub;
}
Aggregations