use of org.jetbrains.kotlin.psi.stubs.KotlinImportDirectiveStub in project kotlin by JetBrains.
the class KtImportDirective method getAliasName.
@Nullable
public String getAliasName() {
KotlinImportDirectiveStub stub = getStub();
if (stub != null) {
return stub.getAliasName();
}
ASTNode aliasNameNode = getAliasNameNode();
if (aliasNameNode == null) {
return null;
}
return aliasNameNode.getText();
}
Aggregations