use of com.intellij.psi.impl.java.stubs.impl.PsiTypeParameterStubImpl in project intellij-community by JetBrains.
the class JavaTypeParameterElementType method createStub.
@Override
public PsiTypeParameterStub createStub(final LighterAST tree, final LighterASTNode node, final StubElement parentStub) {
final LighterASTNode id = LightTreeUtil.requiredChildOfType(tree, node, JavaTokenType.IDENTIFIER);
final String name = RecordUtil.intern(tree.getCharTable(), id);
return new PsiTypeParameterStubImpl(parentStub, StringRef.fromString(name));
}
Aggregations