use of com.intellij.psi.impl.java.stubs.impl.PsiUsesStatementStubImpl in project intellij-community by JetBrains.
the class JavaUsesStatementElementType method createStub.
@Override
public PsiUsesStatementStub createStub(LighterAST tree, LighterASTNode node, StubElement parentStub) {
LighterASTNode ref = LightTreeUtil.firstChildOfType(tree, node, JavaElementType.JAVA_CODE_REFERENCE);
String refText = ref != null ? JavaSourceUtil.getReferenceText(tree, ref) : null;
return new PsiUsesStatementStubImpl(parentStub, refText);
}
Aggregations