Skip to content

Commit

Permalink
it helps to write what you read
Browse files Browse the repository at this point in the history
  • Loading branch information
yole committed May 24, 2012
1 parent 39fe59d commit 4bf6a46
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
import org.jetbrains.jet.lang.resolve.name.FqName;

import java.io.IOException;
import java.util.List;

/**
* @author Nikolay Krasko
Expand Down Expand Up @@ -70,6 +71,11 @@ public PsiJetClassStub createStub(@NotNull JetClass psi, StubElement parentStub)
public void serialize(PsiJetClassStub stub, StubOutputStream dataStream) throws IOException {
dataStream.writeName(stub.getName());
dataStream.writeName(stub.getQualifiedName());
final List<String> superNames = stub.getSuperNames();
dataStream.writeVarInt(superNames.size());
for (String name : superNames) {
dataStream.writeName(name);
}
}

@Override
Expand Down

0 comments on commit 4bf6a46

Please sign in to comment.