test_class.file: outland-feature-java/src/test/java/outland/feature/ResourceOptionsTest.java
test_class.identifier: ResourceOptionsTest
test_case.body: @Test
    public void testGroup() {
      ResourceOptions ro = new ResourceOptions();
  
      try {
        ro.group(null);
        fail();
      } catch (Exception ignored) {
      }
  
      try {
        ro.group("");
        fail();
      } catch (Exception ignored) {
      }
  
      assertEquals("grp", ro.group("grp").group());
    }
test_case.class_method_signature: ResourceOptionsTest.testGroup()
test_case.full_signature: @Test public void testGroup()
test_case.identifier: testGroup
test_case.invocations: group fail group fail assertEquals group group
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGroup()
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 group(String group) {
      FeatureException.throwIfNullOrEmpty(group, "Please provide a group");
      this.group = group;
      return this;
    }
focal_method.class_method_signature: ResourceOptions.group(String group)
focal_method.full_signature: public ResourceOptions group(String group)
focal_method.identifier: group
focal_method.invocations: throwIfNullOrEmpty
focal_method.modifiers: public
focal_method.parameters: (String group)
focal_method.return: ResourceOptions
focal_method.signature: ResourceOptions group(String group)