test_class.declarator: loggedIn
test_class.modifier: private
test_class.original_string: private JsDatastoreParserObject loggedIn;
test_class.type: JsDatastoreParserObject
test_class.var_name: loggedIn
test_class.declarator: loggedOut
test_class.modifier: private
test_class.original_string: private JsDatastoreParserObject loggedOut;
test_class.type: JsDatastoreParserObject
test_class.var_name: loggedOut
test_class.file: app/src/test/java/derpibooru/derpy/server/parsers/objects/JsDatastoreParserObjectTest.java
test_class.identifier: JsDatastoreParserObjectTest
test_case.body: @Test
      public void testInteractions() throws JSONException {
          EnumSet expected = EnumSet.of(DerpibooruImageInteraction.InteractionType.Fave,
                                        DerpibooruImageInteraction.InteractionType.Upvote);
          ImageInteractionsParserObject interactionsHelper = new ImageInteractionsParserObject(
                  loggedIn.getInteractions().toString());
          assertThat(interactionsHelper.getImageInteractionsForImage(10005), is(expected));
          assertNotNull(loggedOut.getInteractions());
      }
test_case.class_method_signature: JsDatastoreParserObjectTest.testInteractions()
test_case.full_signature: @Test public void testInteractions()
test_case.identifier: testInteractions
test_case.invocations: of toString getInteractions assertThat getImageInteractionsForImage is assertNotNull getInteractions
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testInteractions()
focal_class.declarator: mJsDatastore
focal_class.modifier: private
focal_class.original_string: private Element mJsDatastore;
focal_class.type: Element
focal_class.var_name: mJsDatastore
focal_class.file: app/src/main/java/derpibooru/derpy/server/parsers/objects/JsDatastoreParserObject.java
focal_class.identifier: JsDatastoreParserObject
focal_class.class_method_signature: JsDatastoreParserObject.JsDatastoreParserObject(Document doc)
focal_class.full_signature: public  JsDatastoreParserObject(Document doc)
focal_class.identifier: JsDatastoreParserObject
focal_class.modifiers: public
focal_class.parameters: (Document doc)
focal_class.signature:  JsDatastoreParserObject(Document doc)
focal_class.class_method_signature: JsDatastoreParserObject.getUsername()
focal_class.full_signature: public String getUsername()
focal_class.identifier: getUsername
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getUsername()
focal_class.class_method_signature: JsDatastoreParserObject.getFilterId()
focal_class.full_signature: public int getFilterId()
focal_class.identifier: getFilterId
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int getFilterId()
focal_class.class_method_signature: JsDatastoreParserObject.getHiddenTagIds()
focal_class.full_signature: public List<Integer> getHiddenTagIds()
focal_class.identifier: getHiddenTagIds
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Integer>
focal_class.signature: List<Integer> getHiddenTagIds()
focal_class.class_method_signature: JsDatastoreParserObject.getSpoileredTagIds()
focal_class.full_signature: public List<Integer> getSpoileredTagIds()
focal_class.identifier: getSpoileredTagIds
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<Integer>
focal_class.signature: List<Integer> getSpoileredTagIds()
focal_class.class_method_signature: JsDatastoreParserObject.getIntList(String jsonString)
focal_class.full_signature: private List<Integer> getIntList(String jsonString)
focal_class.identifier: getIntList
focal_class.modifiers: private
focal_class.parameters: (String jsonString)
focal_class.return: List<Integer>
focal_class.signature: List<Integer> getIntList(String jsonString)
focal_class.class_method_signature: JsDatastoreParserObject.getInteractions()
focal_class.full_signature: @NonNull public JSONArray getInteractions()
focal_class.identifier: getInteractions
focal_class.modifiers: @NonNull public
focal_class.parameters: ()
focal_class.return: JSONArray
focal_class.signature: JSONArray getInteractions()
focal_method.body: @NonNull
      public JSONArray getInteractions() throws JSONException {
          String interactionsArray = mJsDatastore.attr("data-interactions");
          if (!interactionsArray.equals("[]")) {
              return new JSONArray(interactionsArray);
          }
          return new JSONArray();
      }
focal_method.class_method_signature: JsDatastoreParserObject.getInteractions()
focal_method.full_signature: @NonNull public JSONArray getInteractions()
focal_method.identifier: getInteractions
focal_method.invocations: attr equals
focal_method.modifiers: @NonNull public
focal_method.parameters: ()
focal_method.return: JSONArray
focal_method.signature: JSONArray getInteractions()