Search in sources :

Example 1 with GrVariableStub

use of org.jetbrains.plugins.groovy.lang.psi.stubs.GrVariableStub in project intellij-community by JetBrains.

the class GrVariableElementType method deserialize.

@NotNull
@Override
public GrVariableStub deserialize(@NotNull StubInputStream dataStream, StubElement parentStub) throws IOException {
    final StringRef name = dataStream.readName();
    final String[] annNames = GrStubUtils.readStringArray(dataStream);
    final String typeText = GrStubUtils.readNullableString(dataStream);
    return new GrVariableStub(parentStub, this, name, annNames, typeText);
}
Also used : GrVariableStub(org.jetbrains.plugins.groovy.lang.psi.stubs.GrVariableStub) StringRef(com.intellij.util.io.StringRef) NotNull(org.jetbrains.annotations.NotNull)

Aggregations

StringRef (com.intellij.util.io.StringRef)1 NotNull (org.jetbrains.annotations.NotNull)1 GrVariableStub (org.jetbrains.plugins.groovy.lang.psi.stubs.GrVariableStub)1