Java 类com.intellij.psi.impl.java.stubs.impl.PsiAnnotationStubImpl 实例源码

项目:intellij-ce-playground    文件:JavaAnnotationElementType.java   
@Override
public PsiAnnotationStub createStub(LighterAST tree, LighterASTNode node, StubElement parentStub) {
  String text = LightTreeUtil.toFilteredString(tree, node, null);
  return new PsiAnnotationStubImpl(parentStub, text);
}
项目:intellij-ce-playground    文件:JavaAnnotationElementType.java   
@NotNull
@Override
public PsiAnnotationStub deserialize(@NotNull StubInputStream dataStream, StubElement parentStub) throws IOException {
  return new PsiAnnotationStubImpl(parentStub, dataStream.readUTFFast());
}
项目:tools-idea    文件:JavaAnnotationElementType.java   
@Override
public PsiAnnotationStub createStub(LighterAST tree, LighterASTNode node, StubElement parentStub) {
  String text = LightTreeUtil.toFilteredString(tree, node, null);
  return new PsiAnnotationStubImpl(parentStub, text);
}
项目:tools-idea    文件:JavaAnnotationElementType.java   
@NotNull
@Override
public PsiAnnotationStub deserialize(@NotNull StubInputStream dataStream, StubElement parentStub) throws IOException {
  return new PsiAnnotationStubImpl(parentStub, dataStream.readUTFFast());
}
项目:consulo-java    文件:JavaAnnotationElementType.java   
@Override
public PsiAnnotationStub createStub(LighterAST tree, LighterASTNode node, StubElement parentStub) {
  String text = LightTreeUtil.toFilteredString(tree, node, null);
  return new PsiAnnotationStubImpl(parentStub, text);
}
项目:consulo-java    文件:JavaAnnotationElementType.java   
@NotNull
@Override
public PsiAnnotationStub deserialize(@NotNull StubInputStream dataStream, StubElement parentStub) throws IOException {
  return new PsiAnnotationStubImpl(parentStub, dataStream.readUTFFast());
}
项目:consulo-java    文件:ModuleStubBuildingVisitor.java   
@Override
public AnnotationVisitor visitAnnotation(String desc, boolean visible)
{
    return StubBuildingVisitor.getAnnotationTextCollector(desc, text -> new PsiAnnotationStubImpl(myModList, text));
}