test_class.declarator: LABEL_END_USER = Label.of("EndUser")
test_class.modifier: private static final
test_class.original_string: private static final Label LABEL_END_USER = Label.of("EndUser");
test_class.type: Label
test_class.var_name: LABEL_END_USER
test_class.file: model/policies/src/test/java/org/eclipse/ditto/model/policies/ImmutablePolicyEntryTest.java
test_class.identifier: ImmutablePolicyEntryTest
test_case.body: @Test(expected = DittoJsonException.class)
      public void testFromJsonEmptyWithLabel() {
          final JsonObject jsonObject = JsonFactory.newObjectBuilder().build();
  
          ImmutablePolicyEntry.fromJson(LABEL_END_USER, jsonObject);
      }
test_case.class_method_signature: ImmutablePolicyEntryTest.testFromJsonEmptyWithLabel()
test_case.full_signature: @Test(expected = DittoJsonException.class) public void testFromJsonEmptyWithLabel()
test_case.identifier: testFromJsonEmptyWithLabel
test_case.invocations: build newObjectBuilder fromJson
test_case.modifiers: @Test(expected = DittoJsonException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFromJsonEmptyWithLabel()
focal_class.declarator: label
focal_class.modifier: private final
focal_class.original_string: private final Label label;
focal_class.type: Label
focal_class.var_name: label
focal_class.declarator: subjects
focal_class.modifier: private final
focal_class.original_string: private final Subjects subjects;
focal_class.type: Subjects
focal_class.var_name: subjects
focal_class.declarator: resources
focal_class.modifier: private final
focal_class.original_string: private final Resources resources;
focal_class.type: Resources
focal_class.var_name: resources
focal_class.file: model/policies/src/main/java/org/eclipse/ditto/model/policies/ImmutablePolicyEntry.java
focal_class.identifier: ImmutablePolicyEntry
focal_class.interfaces: implements PolicyEntry
focal_class.class_method_signature: ImmutablePolicyEntry.ImmutablePolicyEntry(final Label theLabel, final Subjects theSubjects, final Resources theResources)
focal_class.full_signature: private  ImmutablePolicyEntry(final Label theLabel, final Subjects theSubjects, final Resources theResources)
focal_class.identifier: ImmutablePolicyEntry
focal_class.modifiers: private
focal_class.parameters: (final Label theLabel, final Subjects theSubjects, final Resources theResources)
focal_class.signature:  ImmutablePolicyEntry(final Label theLabel, final Subjects theSubjects, final Resources theResources)
focal_class.class_method_signature: ImmutablePolicyEntry.of(final Label label, final Subjects subjects, final Resources resources)
focal_class.full_signature: public static PolicyEntry of(final Label label, final Subjects subjects, final Resources resources)
focal_class.identifier: of
focal_class.modifiers: public static
focal_class.parameters: (final Label label, final Subjects subjects, final Resources resources)
focal_class.return: PolicyEntry
focal_class.signature: PolicyEntry of(final Label label, final Subjects subjects, final Resources resources)
focal_class.class_method_signature: ImmutablePolicyEntry.fromJson(final CharSequence label, final JsonObject jsonObject)
focal_class.full_signature: public static PolicyEntry fromJson(final CharSequence label, final JsonObject jsonObject)
focal_class.identifier: fromJson
focal_class.modifiers: public static
focal_class.parameters: (final CharSequence label, final JsonObject jsonObject)
focal_class.return: PolicyEntry
focal_class.signature: PolicyEntry fromJson(final CharSequence label, final JsonObject jsonObject)
focal_class.class_method_signature: ImmutablePolicyEntry.getLabel()
focal_class.full_signature: @Override public Label getLabel()
focal_class.identifier: getLabel
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Label
focal_class.signature: Label getLabel()
focal_class.class_method_signature: ImmutablePolicyEntry.getSubjects()
focal_class.full_signature: @Override public Subjects getSubjects()
focal_class.identifier: getSubjects
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Subjects
focal_class.signature: Subjects getSubjects()
focal_class.class_method_signature: ImmutablePolicyEntry.getResources()
focal_class.full_signature: @Override public Resources getResources()
focal_class.identifier: getResources
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Resources
focal_class.signature: Resources getResources()
focal_class.class_method_signature: ImmutablePolicyEntry.toJson(final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.full_signature: @Override public JsonObject toJson(final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.identifier: toJson
focal_class.modifiers: @Override public
focal_class.parameters: (final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.return: JsonObject
focal_class.signature: JsonObject toJson(final JsonSchemaVersion schemaVersion, final Predicate<JsonField> thePredicate)
focal_class.class_method_signature: ImmutablePolicyEntry.equals(final Object o)
focal_class.full_signature: @Override public boolean equals(final Object o)
focal_class.identifier: equals
focal_class.modifiers: @Override public
focal_class.parameters: (final Object o)
focal_class.return: boolean
focal_class.signature: boolean equals(final Object o)
focal_class.class_method_signature: ImmutablePolicyEntry.hashCode()
focal_class.full_signature: @Override public int hashCode()
focal_class.identifier: hashCode
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: int
focal_class.signature: int hashCode()
focal_class.class_method_signature: ImmutablePolicyEntry.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: public static PolicyEntry fromJson(final CharSequence label, final JsonObject jsonObject) {
          checkNotNull(jsonObject, "JSON object");
          final Label lbl = Label.of(label);
  
          try {
              final JsonObject subjectsJsonObject = jsonObject.getValueOrThrow(JsonFields.SUBJECTS);
              final Subjects subjectsFromJson = PoliciesModelFactory.newSubjects(subjectsJsonObject);
              final JsonObject resourcesJsonObject = jsonObject.getValueOrThrow(JsonFields.RESOURCES);
              final Resources resourcesFromJson = PoliciesModelFactory.newResources(resourcesJsonObject);
  
              return of(lbl, subjectsFromJson, resourcesFromJson);
          } catch (final JsonMissingFieldException e) {
              throw new DittoJsonException(e);
          }
      }
focal_method.class_method_signature: ImmutablePolicyEntry.fromJson(final CharSequence label, final JsonObject jsonObject)
focal_method.full_signature: public static PolicyEntry fromJson(final CharSequence label, final JsonObject jsonObject)
focal_method.identifier: fromJson
focal_method.invocations: checkNotNull of getValueOrThrow newSubjects getValueOrThrow newResources of
focal_method.modifiers: public static
focal_method.parameters: (final CharSequence label, final JsonObject jsonObject)
focal_method.return: PolicyEntry
focal_method.signature: PolicyEntry fromJson(final CharSequence label, final JsonObject jsonObject)