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