bialy-dataset / coderank /pairs /docs-gson.jsonl
paintedwolf-ai's picture
Release open1-b5-e4-bialy
24918f7 verified
Raw History Blame Contribute Delete
21.2 kB
{"repo": "gson", "file": "extras/src/main/java/com/google/gson/interceptors/JsonPostDeserializer.java", "line": 27, "symbol": "JsonPostDeserializer", "task": "This interface is implemented by a class that wishes to inspect or modify an object after it has been deserialized.", "query": "this interface implemented", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/Gson.java", "line": 751, "symbol": "toJson", "task": "are restored once this method returns.", "query": "restored once this", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/GsonBuilder.java", "line": 488, "symbol": "setExclusionStrategies", "task": "value of a field or a class is serialized or deserialized.", "query": "value field class", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/GsonBuilder.java", "line": 909, "symbol": "addReflectionAccessFilter", "task": "class or its members are accessed during serialization or deserialization.", "query": "class members accessed", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonArray.java", "line": 86, "symbol": "add", "task": "Adds the specified boolean to self.", "query": "adds specified boolean", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonArray.java", "line": 96, "symbol": "add", "task": "Adds the specified character to self.", "query": "adds specified character", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonArray.java", "line": 106, "symbol": "add", "task": "Adds the specified number to self.", "query": "adds specified number", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonArray.java", "line": 116, "symbol": "add", "task": "Adds the specified string to self.", "query": "adds specified string", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonArray.java", "line": 125, "symbol": "add", "task": "Adds the specified element to self.", "query": "adds specified element", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonArray.java", "line": 231, "symbol": "get", "task": "@param i the index of the element that is being sought.", "query": "param index element", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonArray.java", "line": 291, "symbol": "getAsBigDecimal", "task": "exceptions declared by that method can occur.", "query": "exceptions declared that", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonArray.java", "line": 305, "symbol": "getAsBigInteger", "task": "exceptions declared by that method can occur.", "query": "exceptions declared that", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonArray.java", "line": 423, "symbol": "equals", "task": "Returns whether the other object is equal to this.", "query": "returns whether other", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonNull.java", "line": 49, "symbol": "deepCopy", "task": "Returns the same instance since it is an immutable value.", "query": "returns same instance", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonObject.java", "line": 81, "symbol": "remove", "task": "@param property name of the member that should be removed.", "query": "param property name", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonObject.java", "line": 186, "symbol": "get", "task": "Returns the member with the specified name.", "query": "returns member with", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonObject.java", "line": 198, "symbol": "getAsJsonPrimitive", "task": "@param memberName name of the member being requested.", "query": "param membername name", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonObject.java", "line": 210, "symbol": "getAsJsonArray", "task": "@param memberName name of the member being requested.", "query": "param membername name", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonObject.java", "line": 222, "symbol": "getAsJsonObject", "task": "@param memberName name of the member being requested.", "query": "param membername name", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonParser.java", "line": 77, "symbol": "JsonParser", "task": "@deprecated No need to instantiate this class, use the static methods instead.", "query": "deprecated need instantiate", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonPrimitive.java", "line": 93, "symbol": "deepCopy", "task": "Returns the same value as primitives are immutable.", "query": "returns same value", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonPrimitive.java", "line": 306, "symbol": "equals", "task": "Returns whether the other object is equal to this.", "query": "returns whether other", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/JsonSerializationContext.java", "line": 48, "symbol": "serialize", "task": "in an infinite loop since Gson will in-turn call the custom serializer again.", "query": "infinite loop since", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/TypeAdapter.java", "line": 179, "symbol": "toJsonTree", "task": "@param value the Java object to convert.", "query": "param value java", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/internal/ConstructorConstructor.java", "line": 45, "symbol": "ConstructorConstructor", "task": "Returns a function that can construct an instance of a requested type.", "query": "returns function that", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/internal/ConstructorConstructor.java", "line": 288, "symbol": "newDefaultImplementationConstructor", "task": "Constructors for common interface types like Map and List and their subtypes.", "query": "constructors common interface", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/internal/GsonTypes.java", "line": 620, "symbol": "WildcardTypeImpl", "task": "The WildcardType interface supports multiple upper bounds and multiple lower bounds.", "query": "wildcardtype interface supports", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/internal/LazilyParsedNumber.java", "line": 35, "symbol": "LazilyParsedNumber", "task": "@param value must not be null", "query": "param value must", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/internal/LazilyParsedNumber.java", "line": 84, "symbol": "writeReplace", "task": "If somebody is unlucky enough to have to serialize one of these, serialize it as a BigDecimal so that they won't need Gson on the other side to deserialize it.", "query": "somebody unlucky enough", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java", "line": 142, "symbol": "find", "task": "Returns the node at or adjacent to the given key, creating it if requested.", "query": "returns node adjacent", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java", "line": 389, "symbol": "rotateLeft", "task": "Rotates the subtree so that its root's right child is the new root.", "query": "rotates subtree that", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java", "line": 414, "symbol": "rotateRight", "task": "Rotates the subtree so that its root's left child is the new root.", "query": "rotates subtree that", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/internal/LinkedTreeMap.java", "line": 668, "symbol": "writeReplace", "task": "If somebody is unlucky enough to have to serialize one of these, serialize it as a LinkedHashMap so that they won't need Gson on the other side to deserialize it.", "query": "somebody unlucky enough", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/internal/PreJava9DateFormatProvider.java", "line": 23, "symbol": "PreJava9DateFormatProvider", "task": "Provides DateFormats for US locale with patterns which were the default ones before Java 9.", "query": "provides dateformats locale", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/internal/Primitives.java", "line": 27, "symbol": "Primitives", "task": "Contains static utility methods pertaining to primitive types and their corresponding wrapper types.", "query": "contains static utility", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/internal/Streams.java", "line": 43, "symbol": "parse", "task": "Takes a reader in any state and returns the next value as a JsonElement.", "query": "takes reader state", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/internal/Streams.java", "line": 69, "symbol": "write", "task": "Writes the JSON element to the writer, recursively.", "query": "writes json element", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/internal/UnsafeAllocator.java", "line": 30, "symbol": "UnsafeAllocator", "task": "Do sneaky things to allocate objects without invoking their constructors.", "query": "sneaky things allocate", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/internal/bind/JsonTreeReader.java", "line": 127, "symbol": "peek", "task": "TODO: Suppression is likely redundant once https://github.com/google/error-prone/pull/5895 is released", "query": "todo suppression likely", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/internal/bind/ReflectiveTypeAdapterFactory.java", "line": 85, "symbol": "getFieldNames", "task": "first element holds the default name", "query": "first element holds", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/internal/bind/ReflectiveTypeAdapterFactory.java", "line": 468, "symbol": "write", "task": "Read this field value from the source, and append its JSON value to the writer", "query": "read this field", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/internal/bind/ReflectiveTypeAdapterFactory.java", "line": 564, "symbol": "finalize", "task": "Convert the accumulator to a final instance of T.", "query": "convert accumulator final", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/reflect/TypeToken.java", "line": 222, "symbol": "isAssignableFrom", "task": "Private helper function that performs some assignability checks for the provided GenericArrayType.", "query": "private helper function", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/reflect/TypeToken.java", "line": 297, "symbol": "typeEquals", "task": "Checks if two parameterized types are exactly equal, under the variable replacement described in the typeVarMap.", "query": "checks parameterized types", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/stream/JsonReader.java", "line": 550, "symbol": "peek", "task": "Returns the type of the next token without consuming it.", "query": "returns type next", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/stream/JsonReader.java", "line": 1737, "symbol": "skipToEndOfLine", "task": "Advances the position until after the next newline character.", "query": "advances position until", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/stream/JsonReader.java", "line": 1753, "symbol": "skipTo", "task": "@param toFind a string to search for.", "query": "param tofind string", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/stream/JsonWriter.java", "line": 386, "symbol": "setSerializeNulls", "task": "Sets whether object members are serialized when their value is null.", "query": "sets whether object", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/stream/JsonWriter.java", "line": 396, "symbol": "getSerializeNulls", "task": "Returns true if object members are serialized when their value is null.", "query": "returns true object", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/main/java/com/google/gson/stream/JsonWriter.java", "line": 480, "symbol": "peek", "task": "Returns the value on the top of the stack.", "query": "returns value stack", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/test/java/com/google/gson/JavaSerializationTest.java", "line": 37, "symbol": "JavaSerializationTest", "task": "Check that Gson doesn't return non-serializable data types.", "query": "check that gson", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/test/java/com/google/gson/JsonArrayAsListSuiteTest.java", "line": 57, "symbol": "suite", "task": "Special method recognized by JUnit's `AllTests` runner", "query": "special method recognized", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/test/java/com/google/gson/JsonObjectAsMapSuiteTest.java", "line": 73, "symbol": "suite", "task": "Special method recognized by JUnit's `AllTests` runner", "query": "special method recognized", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/test/java/com/google/gson/ParameterizedTypeFixtures.java", "line": 34, "symbol": "ParameterizedTypeFixtures", "task": "belong either in the common or functional package, but they are placed here because they need access to package protected elements of com.google.gson.", "query": "belong either common", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/test/java/com/google/gson/functional/ArrayTest.java", "line": 41, "symbol": "ArrayTest", "task": "Functional tests for Json serialization and deserialization of arrays.", "query": "functional tests json", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/test/java/com/google/gson/functional/CollectionTest.java", "line": 57, "symbol": "CollectionTest", "task": "Functional tests for Json serialization and deserialization of collections.", "query": "functional tests json", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/test/java/com/google/gson/functional/EnumTest.java", "line": 50, "symbol": "EnumTest", "task": "Functional tests for Java 5.0 enums.", "query": "functional tests java", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/test/java/com/google/gson/functional/FieldExclusionTest.java", "line": 33, "symbol": "FieldExclusionTest", "task": "Performs some functional testing to ensure GSON infrastructure properly serializes/deserializes fields that either should or should not be included in the output based on the GSON configuration.", "query": "performs some functional", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/test/java/com/google/gson/functional/JsonAdapterAnnotationOnClassesTest.java", "line": 290, "symbol": "User", "task": "This class is used in JsonAdapter Javadoc as an example", "query": "this class used", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/test/java/com/google/gson/functional/JsonParserTest.java", "line": 47, "symbol": "JsonParserTest", "task": "Functional tests for that use JsonParser and related Gson methods @author Inderjeet Singh @author Joel Leitch", "query": "functional tests that", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/test/java/com/google/gson/functional/ObjectTest.java", "line": 65, "symbol": "ObjectTest", "task": "Functional tests for Json serialization and deserialization of regular classes.", "query": "functional tests json", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/test/java/com/google/gson/functional/ParameterizedTypesTest.java", "line": 468, "symbol": "Quantity", "task": "Begin: tests to reproduce issue 103", "query": "begin tests reproduce", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/test/java/com/google/gson/functional/ReflectionAccessFilterTest.java", "line": 50, "symbol": "ClassExtendingJdkClass", "task": "Reader has protected `lock` field which cannot be accessed", "query": "reader protected lock", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/test/java/com/google/gson/functional/ReusedTypeVariablesFullyResolveTest.java", "line": 44, "symbol": "testGenericsPreservation", "task": "The instances were being unmarshaled as Strings instead of TestEnums", "query": "instances were being", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/test/java/com/google/gson/functional/StringTest.java", "line": 31, "symbol": "StringTest", "task": "Functional tests for Json serialization and deserialization of strings.", "query": "functional tests json", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/test/java/com/google/gson/functional/UncategorizedTest.java", "line": 41, "symbol": "UncategorizedTest", "task": "Functional tests that do not fall neatly into any of the existing classification.", "query": "functional tests that", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/test/java/com/google/gson/internal/LinkedTreeMapSuiteTest.java", "line": 64, "symbol": "suite", "task": "Special method recognized by JUnit's `AllTests` runner", "query": "special method recognized", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "gson/src/test/java/com/google/gson/internal/bind/RecursiveTypesResolveTest.java", "line": 56, "symbol": "testDoubleSupertype", "task": "Tests below check the behavior of the methods changed for the fix.", "query": "tests below check", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "metrics/src/main/java/com/google/gson/metrics/BagOfPrimitives.java", "line": 25, "symbol": "BagOfPrimitives", "task": "Class with a bunch of primitive fields @author Inderjeet Singh", "query": "class with bunch", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "metrics/src/main/java/com/google/gson/metrics/BagOfPrimitivesDeserializationBenchmark.java", "line": 32, "symbol": "BagOfPrimitivesDeserializationBenchmark", "task": "Caliper based micro benchmarks for Gson @author Inderjeet Singh @author Jesse Wilson @author Joel Leitch", "query": "caliper based micro", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "metrics/src/main/java/com/google/gson/metrics/CollectionsDeserializationBenchmark.java", "line": 34, "symbol": "CollectionsDeserializationBenchmark", "task": "Caliper based micro benchmarks for Gson @author Inderjeet Singh", "query": "caliper based micro", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "metrics/src/main/java/com/google/gson/metrics/ParseBenchmark.java", "line": 58, "symbol": "ParseBenchmark", "task": "Measure Gson and Jackson parsing and binding performance.", "query": "measure gson jackson", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "proto/src/test/protobuf/json_test_proto2.proto", "line": 94, "symbol": "TestManyOptionals", "task": "There are enough optional fields in this message to require more than one int bitmask to record their presence.", "query": "there enough optional", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "test-shrinker/src/main/java/com/example/InterfaceWithImplementation.java", "line": 10, "symbol": "Implementation", "task": "class which is only referenced in `TypeToken`, but nowhere else", "query": "class which only", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "test-shrinker/src/main/java/com/example/TestExecutor.java", "line": 14, "symbol": "run", "task": "Helper method for running individual tests.", "query": "helper method running", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "test-shrinker/src/test/java/com/google/gson/it/ShrinkingIT.java", "line": 43, "symbol": "ShrinkingIT", "task": "Integration test verifying behavior of shrunken and obfuscated JARs.", "query": "integration test verifying", "lang": "en", "source": "docs"}
{"repo": "gson", "file": "test-shrinker/src/test/java/com/google/gson/it/ShrinkingIT.java", "line": 65, "symbol": "isTestingProGuard", "task": "Returns whether the test is currently running for ProGuard, instead of R8", "query": "returns whether test", "lang": "en", "source": "docs"}