test_class.file: outland-feature-java/src/test/java/outland/feature/ResourceOptionsTest.java
test_class.identifier: ResourceOptionsTest
test_case.body: @Test
    public void testHeaders() {
      ResourceOptions ro = new ResourceOptions();
  
      try {
        ro.headers(null);
        fail();
      } catch (Exception ignored) {
      }
  
      final HashMap<String, Object> headers = Maps.newHashMap();
      headers.put("Foo", "Bar");
      ro.headers(headers).headers();
      headers.put("Baz", "Quux");
      ro.headers(headers).headers();
      ro.header("A", "B");
  
      final HashMap<String, Object> headers1 = Maps.newHashMap();
      headers1.put("Foo", "Bar");
      headers1.put("Baz", "Quux");
      headers1.put("A", "B");
  
      assertEquals(headers1, ro.headers());
    }
test_case.class_method_signature: ResourceOptionsTest.testHeaders()
test_case.full_signature: @Test public void testHeaders()
test_case.identifier: testHeaders
test_case.invocations: headers fail newHashMap put headers headers put headers headers header newHashMap put put put assertEquals headers
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testHeaders()
focal_class.declarator: headers = new HashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, Object> headers = new HashMap<>();
focal_class.type: Map<String, Object>
focal_class.var_name: headers
focal_class.declarator: provider
focal_class.modifier: private
focal_class.original_string: private AuthorizationProvider provider;
focal_class.type: AuthorizationProvider
focal_class.var_name: provider
focal_class.declarator: scope
focal_class.modifier: private
focal_class.original_string: private String scope;
focal_class.type: String
focal_class.var_name: scope
focal_class.declarator: group
focal_class.modifier: private
focal_class.original_string: private String group;
focal_class.type: String
focal_class.var_name: group
focal_class.file: outland-feature-java/src/main/java/outland/feature/ResourceOptions.java
focal_class.identifier: ResourceOptions
focal_class.class_method_signature: ResourceOptions.securityTokenProvider(AuthorizationProvider provider)
focal_class.full_signature: public ResourceOptions securityTokenProvider(AuthorizationProvider provider)
focal_class.identifier: securityTokenProvider
focal_class.modifiers: public
focal_class.parameters: (AuthorizationProvider provider)
focal_class.return: ResourceOptions
focal_class.signature: ResourceOptions securityTokenProvider(AuthorizationProvider provider)
focal_class.class_method_signature: ResourceOptions.header(String name, Object value)
focal_class.full_signature: public ResourceOptions header(String name, Object value)
focal_class.identifier: header
focal_class.modifiers: public
focal_class.parameters: (String name, Object value)
focal_class.return: ResourceOptions
focal_class.signature: ResourceOptions header(String name, Object value)
focal_class.class_method_signature: ResourceOptions.headers(Map<String, Object> headers)
focal_class.full_signature: public ResourceOptions headers(Map<String, Object> headers)
focal_class.identifier: headers
focal_class.modifiers: public
focal_class.parameters: (Map<String, Object> headers)
focal_class.return: ResourceOptions
focal_class.signature: ResourceOptions headers(Map<String, Object> headers)
focal_class.class_method_signature: ResourceOptions.scope(String scope)
focal_class.full_signature: public ResourceOptions scope(String scope)
focal_class.identifier: scope
focal_class.modifiers: public
focal_class.parameters: (String scope)
focal_class.return: ResourceOptions
focal_class.signature: ResourceOptions scope(String scope)
focal_class.class_method_signature: ResourceOptions.group(String group)
focal_class.full_signature: public ResourceOptions group(String group)
focal_class.identifier: group
focal_class.modifiers: public
focal_class.parameters: (String group)
focal_class.return: ResourceOptions
focal_class.signature: ResourceOptions group(String group)
focal_class.class_method_signature: ResourceOptions.headers()
focal_class.full_signature: public Map<String, Object> headers()
focal_class.identifier: headers
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Map<String, Object>
focal_class.signature: Map<String, Object> headers()
focal_class.class_method_signature: ResourceOptions.supplyToken()
focal_class.full_signature: public Optional<Authorization> supplyToken()
focal_class.identifier: supplyToken
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: Optional<Authorization>
focal_class.signature: Optional<Authorization> supplyToken()
focal_class.class_method_signature: ResourceOptions.scope()
focal_class.full_signature: public String scope()
focal_class.identifier: scope
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String scope()
focal_class.class_method_signature: ResourceOptions.group()
focal_class.full_signature: public String group()
focal_class.identifier: group
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String group()
focal_method.body: public ResourceOptions headers(Map<String, Object> headers) {
      FeatureException.throwIfNull(headers, "Please provide some headers");
      this.headers.putAll(headers);
      return this;
    }
focal_method.class_method_signature: ResourceOptions.headers(Map<String, Object> headers)
focal_method.full_signature: public ResourceOptions headers(Map<String, Object> headers)
focal_method.identifier: headers
focal_method.invocations: throwIfNull putAll
focal_method.modifiers: public
focal_method.parameters: (Map<String, Object> headers)
focal_method.return: ResourceOptions
focal_method.signature: ResourceOptions headers(Map<String, Object> headers)