test_class.file: model/policies/src/test/java/org/eclipse/ditto/model/policies/PoliciesModelFactoryTest.java
test_class.identifier: PoliciesModelFactoryTest
test_class.superclass: extends LengthRestrictionTestBase
test_case.body: @Test(expected = PolicyEntryInvalidException.class)
      public void createInvalidResourceKey() {
          final String invalidResourceKey = "thing:/foo/bar\u0001";
          PoliciesModelFactory.newResourceKey(invalidResourceKey);
      }
test_case.class_method_signature: PoliciesModelFactoryTest.createInvalidResourceKey()
test_case.full_signature: @Test(expected = PolicyEntryInvalidException.class) public void createInvalidResourceKey()
test_case.identifier: createInvalidResourceKey
test_case.invocations: newResourceKey
test_case.modifiers: @Test(expected = PolicyEntryInvalidException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void createInvalidResourceKey()
focal_class.file: model/policies/src/main/java/org/eclipse/ditto/model/policies/PoliciesModelFactory.java
focal_class.identifier: PoliciesModelFactory
focal_class.class_method_signature: PoliciesModelFactory.PoliciesModelFactory()
focal_class.full_signature: private  PoliciesModelFactory()
focal_class.identifier: PoliciesModelFactory
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  PoliciesModelFactory()
focal_class.class_method_signature: PoliciesModelFactory.newLabel(final CharSequence labelValue)
focal_class.full_signature: public static Label newLabel(final CharSequence labelValue)
focal_class.identifier: newLabel
focal_class.modifiers: public static
focal_class.parameters: (final CharSequence labelValue)
focal_class.return: Label
focal_class.signature: Label newLabel(final CharSequence labelValue)
focal_class.class_method_signature: PoliciesModelFactory.newSubjectIssuer(final CharSequence subjectIssuer)
focal_class.full_signature: public static SubjectIssuer newSubjectIssuer(final CharSequence subjectIssuer)
focal_class.identifier: newSubjectIssuer
focal_class.modifiers: public static
focal_class.parameters: (final CharSequence subjectIssuer)
focal_class.return: SubjectIssuer
focal_class.signature: SubjectIssuer newSubjectIssuer(final CharSequence subjectIssuer)
focal_class.class_method_signature: PoliciesModelFactory.newSubjectId(final SubjectIssuer issuer, final CharSequence subject)
focal_class.full_signature: public static SubjectId newSubjectId(final SubjectIssuer issuer, final CharSequence subject)
focal_class.identifier: newSubjectId
focal_class.modifiers: public static
focal_class.parameters: (final SubjectIssuer issuer, final CharSequence subject)
focal_class.return: SubjectId
focal_class.signature: SubjectId newSubjectId(final SubjectIssuer issuer, final CharSequence subject)
focal_class.class_method_signature: PoliciesModelFactory.newSubjectId(final CharSequence subjectIssuerWithId)
focal_class.full_signature: public static SubjectId newSubjectId(final CharSequence subjectIssuerWithId)
focal_class.identifier: newSubjectId
focal_class.modifiers: public static
focal_class.parameters: (final CharSequence subjectIssuerWithId)
focal_class.return: SubjectId
focal_class.signature: SubjectId newSubjectId(final CharSequence subjectIssuerWithId)
focal_class.class_method_signature: PoliciesModelFactory.newSubjectType(final CharSequence subjectType)
focal_class.full_signature: public static SubjectType newSubjectType(final CharSequence subjectType)
focal_class.identifier: newSubjectType
focal_class.modifiers: public static
focal_class.parameters: (final CharSequence subjectType)
focal_class.return: SubjectType
focal_class.signature: SubjectType newSubjectType(final CharSequence subjectType)
focal_class.class_method_signature: PoliciesModelFactory.newSubject(final SubjectId subjectId)
focal_class.full_signature: public static Subject newSubject(final SubjectId subjectId)
focal_class.identifier: newSubject
focal_class.modifiers: public static
focal_class.parameters: (final SubjectId subjectId)
focal_class.return: Subject
focal_class.signature: Subject newSubject(final SubjectId subjectId)
focal_class.class_method_signature: PoliciesModelFactory.newSubject(final SubjectId subjectId, final SubjectType subjectType)
focal_class.full_signature: public static Subject newSubject(final SubjectId subjectId, final SubjectType subjectType)
focal_class.identifier: newSubject
focal_class.modifiers: public static
focal_class.parameters: (final SubjectId subjectId, final SubjectType subjectType)
focal_class.return: Subject
focal_class.signature: Subject newSubject(final SubjectId subjectId, final SubjectType subjectType)
focal_class.class_method_signature: PoliciesModelFactory.newSubject(final CharSequence subjectIssuerWithId, final JsonObject jsonObject)
focal_class.full_signature: public static Subject newSubject(final CharSequence subjectIssuerWithId, final JsonObject jsonObject)
focal_class.identifier: newSubject
focal_class.modifiers: public static
focal_class.parameters: (final CharSequence subjectIssuerWithId, final JsonObject jsonObject)
focal_class.return: Subject
focal_class.signature: Subject newSubject(final CharSequence subjectIssuerWithId, final JsonObject jsonObject)
focal_class.class_method_signature: PoliciesModelFactory.emptySubjects()
focal_class.full_signature: public static Subjects emptySubjects()
focal_class.identifier: emptySubjects
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Subjects
focal_class.signature: Subjects emptySubjects()
focal_class.class_method_signature: PoliciesModelFactory.newSubjects(final Iterable<Subject> subjects)
focal_class.full_signature: public static Subjects newSubjects(final Iterable<Subject> subjects)
focal_class.identifier: newSubjects
focal_class.modifiers: public static
focal_class.parameters: (final Iterable<Subject> subjects)
focal_class.return: Subjects
focal_class.signature: Subjects newSubjects(final Iterable<Subject> subjects)
focal_class.class_method_signature: PoliciesModelFactory.newSubjects(final Subject subject, final Subject... furtherSubjects)
focal_class.full_signature: public static Subjects newSubjects(final Subject subject, final Subject... furtherSubjects)
focal_class.identifier: newSubjects
focal_class.modifiers: public static
focal_class.parameters: (final Subject subject, final Subject... furtherSubjects)
focal_class.return: Subjects
focal_class.signature: Subjects newSubjects(final Subject subject, final Subject... furtherSubjects)
focal_class.class_method_signature: PoliciesModelFactory.newSubjects(final JsonObject jsonObject)
focal_class.full_signature: public static Subjects newSubjects(final JsonObject jsonObject)
focal_class.identifier: newSubjects
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject)
focal_class.return: Subjects
focal_class.signature: Subjects newSubjects(final JsonObject jsonObject)
focal_class.class_method_signature: PoliciesModelFactory.newResourceKey(final CharSequence typeWithPath)
focal_class.full_signature: public static ResourceKey newResourceKey(final CharSequence typeWithPath)
focal_class.identifier: newResourceKey
focal_class.modifiers: public static
focal_class.parameters: (final CharSequence typeWithPath)
focal_class.return: ResourceKey
focal_class.signature: ResourceKey newResourceKey(final CharSequence typeWithPath)
focal_class.class_method_signature: PoliciesModelFactory.splitTypeWithPath(final String typeWithPath)
focal_class.full_signature: private static String[] splitTypeWithPath(final String typeWithPath)
focal_class.identifier: splitTypeWithPath
focal_class.modifiers: private static
focal_class.parameters: (final String typeWithPath)
focal_class.return: String[]
focal_class.signature: String[] splitTypeWithPath(final String typeWithPath)
focal_class.class_method_signature: PoliciesModelFactory.newResourceKey(final CharSequence resourceType, final CharSequence resourcePath)
focal_class.full_signature: public static ResourceKey newResourceKey(final CharSequence resourceType, final CharSequence resourcePath)
focal_class.identifier: newResourceKey
focal_class.modifiers: public static
focal_class.parameters: (final CharSequence resourceType, final CharSequence resourcePath)
focal_class.return: ResourceKey
focal_class.signature: ResourceKey newResourceKey(final CharSequence resourceType, final CharSequence resourcePath)
focal_class.class_method_signature: PoliciesModelFactory.newResourceKey(final JsonPointer pointer)
focal_class.full_signature: public static ResourceKey newResourceKey(final JsonPointer pointer)
focal_class.identifier: newResourceKey
focal_class.modifiers: public static
focal_class.parameters: (final JsonPointer pointer)
focal_class.return: ResourceKey
focal_class.signature: ResourceKey newResourceKey(final JsonPointer pointer)
focal_class.class_method_signature: PoliciesModelFactory.newResource(final CharSequence resourceType, final CharSequence resourcePath,
              final EffectedPermissions effectedPermissions)
focal_class.full_signature: public static Resource newResource(final CharSequence resourceType, final CharSequence resourcePath,
              final EffectedPermissions effectedPermissions)
focal_class.identifier: newResource
focal_class.modifiers: public static
focal_class.parameters: (final CharSequence resourceType, final CharSequence resourcePath,
              final EffectedPermissions effectedPermissions)
focal_class.return: Resource
focal_class.signature: Resource newResource(final CharSequence resourceType, final CharSequence resourcePath,
              final EffectedPermissions effectedPermissions)
focal_class.class_method_signature: PoliciesModelFactory.newResource(final ResourceKey resourceKey, final JsonValue effectedPermissions)
focal_class.full_signature: public static Resource newResource(final ResourceKey resourceKey, final JsonValue effectedPermissions)
focal_class.identifier: newResource
focal_class.modifiers: public static
focal_class.parameters: (final ResourceKey resourceKey, final JsonValue effectedPermissions)
focal_class.return: Resource
focal_class.signature: Resource newResource(final ResourceKey resourceKey, final JsonValue effectedPermissions)
focal_class.class_method_signature: PoliciesModelFactory.newResource(final ResourceKey resourceKey, final EffectedPermissions effectedPermissions)
focal_class.full_signature: public static Resource newResource(final ResourceKey resourceKey, final EffectedPermissions effectedPermissions)
focal_class.identifier: newResource
focal_class.modifiers: public static
focal_class.parameters: (final ResourceKey resourceKey, final EffectedPermissions effectedPermissions)
focal_class.return: Resource
focal_class.signature: Resource newResource(final ResourceKey resourceKey, final EffectedPermissions effectedPermissions)
focal_class.class_method_signature: PoliciesModelFactory.emptyResources()
focal_class.full_signature: public static Resources emptyResources()
focal_class.identifier: emptyResources
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Resources
focal_class.signature: Resources emptyResources()
focal_class.class_method_signature: PoliciesModelFactory.newResources(final Iterable<Resource> resources)
focal_class.full_signature: public static Resources newResources(final Iterable<Resource> resources)
focal_class.identifier: newResources
focal_class.modifiers: public static
focal_class.parameters: (final Iterable<Resource> resources)
focal_class.return: Resources
focal_class.signature: Resources newResources(final Iterable<Resource> resources)
focal_class.class_method_signature: PoliciesModelFactory.newResources(final Resource resource, final Resource... furtherResources)
focal_class.full_signature: public static Resources newResources(final Resource resource, final Resource... furtherResources)
focal_class.identifier: newResources
focal_class.modifiers: public static
focal_class.parameters: (final Resource resource, final Resource... furtherResources)
focal_class.return: Resources
focal_class.signature: Resources newResources(final Resource resource, final Resource... furtherResources)
focal_class.class_method_signature: PoliciesModelFactory.newResources(final JsonObject jsonObject)
focal_class.full_signature: public static Resources newResources(final JsonObject jsonObject)
focal_class.identifier: newResources
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject)
focal_class.return: Resources
focal_class.signature: Resources newResources(final JsonObject jsonObject)
focal_class.class_method_signature: PoliciesModelFactory.newEffectedPermissions(@Nullable final Iterable<String> grantedPermissions,
              @Nullable final Iterable<String> revokedPermissions)
focal_class.full_signature: public static EffectedPermissions newEffectedPermissions(@Nullable final Iterable<String> grantedPermissions,
              @Nullable final Iterable<String> revokedPermissions)
focal_class.identifier: newEffectedPermissions
focal_class.modifiers: public static
focal_class.parameters: (@Nullable final Iterable<String> grantedPermissions,
              @Nullable final Iterable<String> revokedPermissions)
focal_class.return: EffectedPermissions
focal_class.signature: EffectedPermissions newEffectedPermissions(@Nullable final Iterable<String> grantedPermissions,
              @Nullable final Iterable<String> revokedPermissions)
focal_class.class_method_signature: PoliciesModelFactory.getOrEmptyCollection(@Nullable final Iterable<String> iterable)
focal_class.full_signature: private static Iterable<String> getOrEmptyCollection(@Nullable final Iterable<String> iterable)
focal_class.identifier: getOrEmptyCollection
focal_class.modifiers: private static
focal_class.parameters: (@Nullable final Iterable<String> iterable)
focal_class.return: Iterable<String>
focal_class.signature: Iterable<String> getOrEmptyCollection(@Nullable final Iterable<String> iterable)
focal_class.class_method_signature: PoliciesModelFactory.newPolicyRevision(final long revisionNumber)
focal_class.full_signature: public static PolicyRevision newPolicyRevision(final long revisionNumber)
focal_class.identifier: newPolicyRevision
focal_class.modifiers: public static
focal_class.parameters: (final long revisionNumber)
focal_class.return: PolicyRevision
focal_class.signature: PolicyRevision newPolicyRevision(final long revisionNumber)
focal_class.class_method_signature: PoliciesModelFactory.noPermissions()
focal_class.full_signature: public static Permissions noPermissions()
focal_class.identifier: noPermissions
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: Permissions
focal_class.signature: Permissions noPermissions()
focal_class.class_method_signature: PoliciesModelFactory.newPermissions(final Collection<String> permissions)
focal_class.full_signature: public static Permissions newPermissions(final Collection<String> permissions)
focal_class.identifier: newPermissions
focal_class.modifiers: public static
focal_class.parameters: (final Collection<String> permissions)
focal_class.return: Permissions
focal_class.signature: Permissions newPermissions(final Collection<String> permissions)
focal_class.class_method_signature: PoliciesModelFactory.newPermissions(final String permission, final String... furtherPermissions)
focal_class.full_signature: public static Permissions newPermissions(final String permission, final String... furtherPermissions)
focal_class.identifier: newPermissions
focal_class.modifiers: public static
focal_class.parameters: (final String permission, final String... furtherPermissions)
focal_class.return: Permissions
focal_class.signature: Permissions newPermissions(final String permission, final String... furtherPermissions)
focal_class.class_method_signature: PoliciesModelFactory.newPolicyEntry(final CharSequence label, final Iterable<Subject> subjects,
              final Iterable<Resource> resources)
focal_class.full_signature: public static PolicyEntry newPolicyEntry(final CharSequence label, final Iterable<Subject> subjects,
              final Iterable<Resource> resources)
focal_class.identifier: newPolicyEntry
focal_class.modifiers: public static
focal_class.parameters: (final CharSequence label, final Iterable<Subject> subjects,
              final Iterable<Resource> resources)
focal_class.return: PolicyEntry
focal_class.signature: PolicyEntry newPolicyEntry(final CharSequence label, final Iterable<Subject> subjects,
              final Iterable<Resource> resources)
focal_class.class_method_signature: PoliciesModelFactory.newPolicyEntry(final CharSequence label, final JsonObject jsonObject)
focal_class.full_signature: public static PolicyEntry newPolicyEntry(final CharSequence label, final JsonObject jsonObject)
focal_class.identifier: newPolicyEntry
focal_class.modifiers: public static
focal_class.parameters: (final CharSequence label, final JsonObject jsonObject)
focal_class.return: PolicyEntry
focal_class.signature: PolicyEntry newPolicyEntry(final CharSequence label, final JsonObject jsonObject)
focal_class.class_method_signature: PoliciesModelFactory.newPolicyEntry(final CharSequence label, final JsonValue jsonValue)
focal_class.full_signature: public static PolicyEntry newPolicyEntry(final CharSequence label, final JsonValue jsonValue)
focal_class.identifier: newPolicyEntry
focal_class.modifiers: public static
focal_class.parameters: (final CharSequence label, final JsonValue jsonValue)
focal_class.return: PolicyEntry
focal_class.signature: PolicyEntry newPolicyEntry(final CharSequence label, final JsonValue jsonValue)
focal_class.class_method_signature: PoliciesModelFactory.newPolicyEntry(final CharSequence label, final String jsonString)
focal_class.full_signature: public static PolicyEntry newPolicyEntry(final CharSequence label, final String jsonString)
focal_class.identifier: newPolicyEntry
focal_class.modifiers: public static
focal_class.parameters: (final CharSequence label, final String jsonString)
focal_class.return: PolicyEntry
focal_class.signature: PolicyEntry newPolicyEntry(final CharSequence label, final String jsonString)
focal_class.class_method_signature: PoliciesModelFactory.newPolicyEntries(final JsonObject jsonObject)
focal_class.full_signature: public static Iterable<PolicyEntry> newPolicyEntries(final JsonObject jsonObject)
focal_class.identifier: newPolicyEntries
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject)
focal_class.return: Iterable<PolicyEntry>
focal_class.signature: Iterable<PolicyEntry> newPolicyEntries(final JsonObject jsonObject)
focal_class.class_method_signature: PoliciesModelFactory.newPolicyEntries(final String jsonString)
focal_class.full_signature: public static Iterable<PolicyEntry> newPolicyEntries(final String jsonString)
focal_class.identifier: newPolicyEntries
focal_class.modifiers: public static
focal_class.parameters: (final String jsonString)
focal_class.return: Iterable<PolicyEntry>
focal_class.signature: Iterable<PolicyEntry> newPolicyEntries(final String jsonString)
focal_class.class_method_signature: PoliciesModelFactory.newPolicyBuilder()
focal_class.full_signature: public static PolicyBuilder newPolicyBuilder()
focal_class.identifier: newPolicyBuilder
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: PolicyBuilder
focal_class.signature: PolicyBuilder newPolicyBuilder()
focal_class.class_method_signature: PoliciesModelFactory.newPolicyBuilder(final CharSequence id)
focal_class.full_signature: @Deprecated public static PolicyBuilder newPolicyBuilder(final CharSequence id)
focal_class.identifier: newPolicyBuilder
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final CharSequence id)
focal_class.return: PolicyBuilder
focal_class.signature: PolicyBuilder newPolicyBuilder(final CharSequence id)
focal_class.class_method_signature: PoliciesModelFactory.newPolicyBuilder(final PolicyId id)
focal_class.full_signature: public static PolicyBuilder newPolicyBuilder(final PolicyId id)
focal_class.identifier: newPolicyBuilder
focal_class.modifiers: public static
focal_class.parameters: (final PolicyId id)
focal_class.return: PolicyBuilder
focal_class.signature: PolicyBuilder newPolicyBuilder(final PolicyId id)
focal_class.class_method_signature: PoliciesModelFactory.newPolicyBuilder(final Policy existingPolicy)
focal_class.full_signature: public static PolicyBuilder newPolicyBuilder(final Policy existingPolicy)
focal_class.identifier: newPolicyBuilder
focal_class.modifiers: public static
focal_class.parameters: (final Policy existingPolicy)
focal_class.return: PolicyBuilder
focal_class.signature: PolicyBuilder newPolicyBuilder(final Policy existingPolicy)
focal_class.class_method_signature: PoliciesModelFactory.newPolicyBuilder(final CharSequence id, final Iterable<PolicyEntry> policyEntries)
focal_class.full_signature: @Deprecated public static PolicyBuilder newPolicyBuilder(final CharSequence id, final Iterable<PolicyEntry> policyEntries)
focal_class.identifier: newPolicyBuilder
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final CharSequence id, final Iterable<PolicyEntry> policyEntries)
focal_class.return: PolicyBuilder
focal_class.signature: PolicyBuilder newPolicyBuilder(final CharSequence id, final Iterable<PolicyEntry> policyEntries)
focal_class.class_method_signature: PoliciesModelFactory.newPolicyBuilder(final PolicyId id, final Iterable<PolicyEntry> policyEntries)
focal_class.full_signature: public static PolicyBuilder newPolicyBuilder(final PolicyId id, final Iterable<PolicyEntry> policyEntries)
focal_class.identifier: newPolicyBuilder
focal_class.modifiers: public static
focal_class.parameters: (final PolicyId id, final Iterable<PolicyEntry> policyEntries)
focal_class.return: PolicyBuilder
focal_class.signature: PolicyBuilder newPolicyBuilder(final PolicyId id, final Iterable<PolicyEntry> policyEntries)
focal_class.class_method_signature: PoliciesModelFactory.newPolicy(final CharSequence id, final PolicyEntry entry,
              final PolicyEntry... furtherEntries)
focal_class.full_signature: @Deprecated public static Policy newPolicy(final CharSequence id, final PolicyEntry entry,
              final PolicyEntry... furtherEntries)
focal_class.identifier: newPolicy
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final CharSequence id, final PolicyEntry entry,
              final PolicyEntry... furtherEntries)
focal_class.return: Policy
focal_class.signature: Policy newPolicy(final CharSequence id, final PolicyEntry entry,
              final PolicyEntry... furtherEntries)
focal_class.class_method_signature: PoliciesModelFactory.newPolicy(final PolicyId id, final PolicyEntry entry,
              final PolicyEntry... furtherEntries)
focal_class.full_signature: public static Policy newPolicy(final PolicyId id, final PolicyEntry entry,
              final PolicyEntry... furtherEntries)
focal_class.identifier: newPolicy
focal_class.modifiers: public static
focal_class.parameters: (final PolicyId id, final PolicyEntry entry,
              final PolicyEntry... furtherEntries)
focal_class.return: Policy
focal_class.signature: Policy newPolicy(final PolicyId id, final PolicyEntry entry,
              final PolicyEntry... furtherEntries)
focal_class.class_method_signature: PoliciesModelFactory.newPolicy(final CharSequence id, final Iterable<PolicyEntry> entries)
focal_class.full_signature: @Deprecated public static Policy newPolicy(final CharSequence id, final Iterable<PolicyEntry> entries)
focal_class.identifier: newPolicy
focal_class.modifiers: @Deprecated public static
focal_class.parameters: (final CharSequence id, final Iterable<PolicyEntry> entries)
focal_class.return: Policy
focal_class.signature: Policy newPolicy(final CharSequence id, final Iterable<PolicyEntry> entries)
focal_class.class_method_signature: PoliciesModelFactory.newPolicy(final PolicyId id, final Iterable<PolicyEntry> entries)
focal_class.full_signature: public static Policy newPolicy(final PolicyId id, final Iterable<PolicyEntry> entries)
focal_class.identifier: newPolicy
focal_class.modifiers: public static
focal_class.parameters: (final PolicyId id, final Iterable<PolicyEntry> entries)
focal_class.return: Policy
focal_class.signature: Policy newPolicy(final PolicyId id, final Iterable<PolicyEntry> entries)
focal_class.class_method_signature: PoliciesModelFactory.newPolicy(final JsonObject jsonObject)
focal_class.full_signature: public static Policy newPolicy(final JsonObject jsonObject)
focal_class.identifier: newPolicy
focal_class.modifiers: public static
focal_class.parameters: (final JsonObject jsonObject)
focal_class.return: Policy
focal_class.signature: Policy newPolicy(final JsonObject jsonObject)
focal_class.class_method_signature: PoliciesModelFactory.newPolicy(final String jsonString)
focal_class.full_signature: public static Policy newPolicy(final String jsonString)
focal_class.identifier: newPolicy
focal_class.modifiers: public static
focal_class.parameters: (final String jsonString)
focal_class.return: Policy
focal_class.signature: Policy newPolicy(final String jsonString)
focal_method.body: public static ResourceKey newResourceKey(final CharSequence typeWithPath) {
          if (typeWithPath instanceof ResourceKey) {
              return (ResourceKey) typeWithPath;
          }
  
          argumentNotEmpty(typeWithPath, "typeWithPath");
  
          final Validator validator = NoControlCharactersValidator.getInstance(typeWithPath);
          if (!validator.isValid()) {
              throw PolicyEntryInvalidException.newBuilder()
                      .message("The Policy Resource " + typeWithPath + " is invalid")
                      .description(validator.getReason().orElse(null))
                      .build();
          }
  
          final String[] typeWithPathSplit = splitTypeWithPath(typeWithPath.toString());
          return ImmutableResourceKey.newInstance(typeWithPathSplit[0], JsonPointer.of(typeWithPathSplit[1]));
      }
focal_method.class_method_signature: PoliciesModelFactory.newResourceKey(final CharSequence typeWithPath)
focal_method.full_signature: public static ResourceKey newResourceKey(final CharSequence typeWithPath)
focal_method.identifier: newResourceKey
focal_method.invocations: argumentNotEmpty getInstance isValid build description message newBuilder orElse getReason splitTypeWithPath toString newInstance of
focal_method.modifiers: public static
focal_method.parameters: (final CharSequence typeWithPath)
focal_method.return: ResourceKey
focal_method.signature: ResourceKey newResourceKey(final CharSequence typeWithPath)