@Override public void serialize( @NotNull MsilXXXAccessorStub stub, @NotNull StubOutputStream stubOutputStream) throws IOException { stubOutputStream.writeInt(stub.getIndex()); stubOutputStream.writeName(stub.getMethodName()); }
@Override public void serialize(@NotNull final GrFileStub stub, @NotNull final StubOutputStream dataStream) throws IOException { dataStream.writeName(stub.getName().toString()); dataStream.writeBoolean(stub.isScript()); GrStubUtils.writeStringArray(dataStream, stub.getAnnotations()); }
@Override public void serialize(final GrFileStub stub, final StubOutputStream dataStream) throws IOException { dataStream.writeName(stub.getPackageName().toString()); dataStream.writeName(stub.getName().toString()); dataStream.writeBoolean(stub.isScript()); }
public void serialize( @NotNull final PyFunctionStub stub, @NotNull final StubOutputStream dataStream) throws IOException { dataStream.writeName(stub.getName()); dataStream.writeUTFFast(stub.getDocString() != null ? stub.getDocString() : ""); dataStream.writeName(stub.getDeprecationMessage()); }
public static void writeNullableString(StubOutputStream dataStream, @Nullable String typeText) throws IOException { dataStream.writeBoolean(typeText != null); if (typeText != null) { dataStream.writeUTFFast(typeText); } }
public static void writeStringArray(StubOutputStream dataStream, String[] array) throws IOException { if (array.length > Byte.MAX_VALUE) { dataStream.writeByte(TOO_LONG); dataStream.writeInt(array.length); } else { dataStream.writeByte(array.length); } for (String s : array) { LOG.assertTrue(s != null); dataStream.writeName(s); } }
@Override public void serialize( @NotNull MsilVariableEntryStub msilPropertyEntryStub, @NotNull StubOutputStream stubOutputStream) throws IOException { stubOutputStream.writeName(msilPropertyEntryStub.getNameFromBytecode()); }
@Override public void serialize(@NotNull PsiJetParameterStub stub, @NotNull StubOutputStream dataStream) throws IOException { dataStream.writeName(stub.getName()); dataStream.writeBoolean(stub.isMutable()); dataStream.writeBoolean(stub.isVarArg()); dataStream.writeName(stub.getTypeText()); dataStream.writeName(stub.getDefaultValueText()); FqName name = stub.getFqName(); dataStream.writeName(name != null ? name.asString() : null); }
@Override public void serialize( @NotNull PerlMooseAugmentStatementStub stub, @NotNull StubOutputStream dataStream) throws IOException { dataStream.writeName(stub.getSubName()); }
@Override public void serialize(final PsiJavaFileStub stub, final StubOutputStream dataStream) throws IOException { dataStream.writeBoolean(stub.isCompiled()); dataStream.writeName(stub.getPackageName()); }
@Override public void serialize(@NotNull GoTypeSpecStub stub, @NotNull StubOutputStream dataStream) throws IOException { dataStream.writeName(stub.getName()); dataStream.writeBoolean(stub.isPublic()); }
@Override public void serialize( @NotNull DLanguageFuncDeclarationStub stub, @NotNull StubOutputStream dataStream) throws IOException { dataStream.writeName(stub.getName()); }
public void serialize(@NotNull HeaderStub stub, @NotNull StubOutputStream dataStream) throws IOException { dataStream.writeName(stub.getName()); }
@Override public void serialize( final @NotNull org.elixir_lang.psi.stub.Alias stub, @NotNull StubOutputStream dataStream) throws IOException { dataStream.writeName(stub.getName()); }