Java 类com.intellij.lang.properties.psi.impl.PropertyStubImpl 实例源码

项目:intellij-ce-playground    文件:PropertyStubElementType.java   
public PropertyStub createStub(@NotNull final Property psi, final StubElement parentStub) {
  return new PropertyStubImpl(parentStub, psi.getKey());
}
项目:intellij-ce-playground    文件:PropertyStubElementType.java   
@NotNull
public PropertyStub deserialize(@NotNull final StubInputStream dataStream, final StubElement parentStub) throws IOException {
  final StringRef ref = dataStream.readName();
  return new PropertyStubImpl(parentStub, ref.getString());
}
项目:intellij-ce-playground    文件:PropertyStubElementType.java   
public PropertyStub createStub(@NotNull final Property psi, final StubElement parentStub) {
  return new PropertyStubImpl(parentStub, psi.getKey());
}
项目:intellij-ce-playground    文件:PropertyStubElementType.java   
@NotNull
public PropertyStub deserialize(@NotNull final StubInputStream dataStream, final StubElement parentStub) throws IOException {
  final StringRef ref = dataStream.readName();
  return new PropertyStubImpl(parentStub, ref.getString());
}
项目:intellij-ce-playground    文件:PropertyStubElementType.java   
@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);
}
项目:tools-idea    文件:PropertyStubElementType.java   
public PropertyStub createStub(@NotNull final Property psi, final StubElement parentStub) {
  return new PropertyStubImpl(parentStub, psi.getKey());
}
项目:tools-idea    文件:PropertyStubElementType.java   
@NotNull
public PropertyStub deserialize(@NotNull final StubInputStream dataStream, final StubElement parentStub) throws IOException {
  final StringRef ref = dataStream.readName();
  return new PropertyStubImpl(parentStub, ref.getString());
}