use of org.jetbrains.kotlin.psi.stubs.impl.KotlinPropertyStubImpl in project kotlin by JetBrains.
the class KtPropertyElementType method deserialize.
@NotNull
@Override
public KotlinPropertyStub deserialize(@NotNull StubInputStream dataStream, StubElement parentStub) throws IOException {
StringRef name = dataStream.readName();
boolean isVar = dataStream.readBoolean();
boolean isTopLevel = dataStream.readBoolean();
boolean hasDelegate = dataStream.readBoolean();
boolean hasDelegateExpression = dataStream.readBoolean();
boolean hasInitializer = dataStream.readBoolean();
boolean hasReceiverTypeRef = dataStream.readBoolean();
boolean hasReturnTypeRef = dataStream.readBoolean();
StringRef fqNameAsString = dataStream.readName();
FqName fqName = fqNameAsString != null ? new FqName(fqNameAsString.toString()) : null;
return new KotlinPropertyStubImpl(parentStub, name, isVar, isTopLevel, hasDelegate, hasDelegateExpression, hasInitializer, hasReceiverTypeRef, hasReturnTypeRef, fqName);
}
Aggregations