public PropertyStub createStub(@NotNull final Property psi, final StubElement parentStub) { return new PropertyStubImpl(parentStub, psi.getKey()); }
@NotNull public PropertyStub deserialize(@NotNull final StubInputStream dataStream, final StubElement parentStub) throws IOException { final StringRef ref = dataStream.readName(); return new PropertyStubImpl(parentStub, ref.getString()); }
@Override public PropertyStub createStub(LighterAST tree, LighterASTNode node, StubElement parentStub) { LighterASTNode keyNode = LightTreeUtil.firstChildOfType(tree, node, PropertiesTokenTypes.KEY_CHARACTERS); String key = intern(tree.getCharTable(), keyNode); return new PropertyStubImpl(parentStub, key); }