test_class.file: oak-core/src/test/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeDefinitionWriterTest.java
test_class.identifier: PrivilegeDefinitionWriterTest
test_class.interfaces: implements PrivilegeConstants
test_class.superclass: extends AbstractSecurityTest
test_case.body: @Test(expected = RepositoryException.class)
      public void testMissingPrivilegeRoot() throws Exception {
          ContentRepository repo = new Oak().with(new OpenSecurityProvider()).createContentRepository();
          try (ContentSession cs = repo.login(null, null)) {
              Root tmpRoot = cs.getLatestRoot();
              PrivilegeDefinitionWriter writer = new PrivilegeDefinitionWriter(tmpRoot);
              writer.writeDefinition(new ImmutablePrivilegeDefinition("newName", true, null));
          }
      }
test_case.class_method_signature: PrivilegeDefinitionWriterTest.testMissingPrivilegeRoot()
test_case.full_signature: @Test(expected = RepositoryException.class) public void testMissingPrivilegeRoot()
test_case.identifier: testMissingPrivilegeRoot
test_case.invocations: createContentRepository with login getLatestRoot writeDefinition
test_case.modifiers: @Test(expected = RepositoryException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMissingPrivilegeRoot()
focal_class.declarator: root
focal_class.modifier: private final
focal_class.original_string: private final Root root;
focal_class.type: Root
focal_class.var_name: root
focal_class.declarator: bitsMgr
focal_class.modifier: private final
focal_class.original_string: private final PrivilegeBitsProvider bitsMgr;
focal_class.type: PrivilegeBitsProvider
focal_class.var_name: bitsMgr
focal_class.declarator: next
focal_class.modifier: private
focal_class.original_string: private PrivilegeBits next;
focal_class.type: PrivilegeBits
focal_class.var_name: next
focal_class.file: oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeDefinitionWriter.java
focal_class.identifier: PrivilegeDefinitionWriter
focal_class.interfaces: implements PrivilegeConstants
focal_class.class_method_signature: PrivilegeDefinitionWriter.PrivilegeDefinitionWriter(@NotNull Root root)
focal_class.full_signature:   PrivilegeDefinitionWriter(@NotNull Root root)
focal_class.identifier: PrivilegeDefinitionWriter
focal_class.parameters: (@NotNull Root root)
focal_class.signature:  PrivilegeDefinitionWriter(@NotNull Root root)
focal_class.class_method_signature: PrivilegeDefinitionWriter.writeDefinition(@NotNull PrivilegeDefinition definition)
focal_class.full_signature:  void writeDefinition(@NotNull PrivilegeDefinition definition)
focal_class.identifier: writeDefinition
focal_class.parameters: (@NotNull PrivilegeDefinition definition)
focal_class.return: void
focal_class.signature: void writeDefinition(@NotNull PrivilegeDefinition definition)
focal_class.class_method_signature: PrivilegeDefinitionWriter.writeBuiltInDefinitions()
focal_class.full_signature:  void writeBuiltInDefinitions()
focal_class.identifier: writeBuiltInDefinitions
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void writeBuiltInDefinitions()
focal_class.class_method_signature: PrivilegeDefinitionWriter.getNext()
focal_class.full_signature: @NotNull private PrivilegeBits getNext()
focal_class.identifier: getNext
focal_class.modifiers: @NotNull private
focal_class.parameters: ()
focal_class.return: PrivilegeBits
focal_class.signature: PrivilegeBits getNext()
focal_class.class_method_signature: PrivilegeDefinitionWriter.next()
focal_class.full_signature: @NotNull private PrivilegeBits next()
focal_class.identifier: next
focal_class.modifiers: @NotNull private
focal_class.parameters: ()
focal_class.return: PrivilegeBits
focal_class.signature: PrivilegeBits next()
focal_class.class_method_signature: PrivilegeDefinitionWriter.writeDefinitions(@NotNull Iterable<PrivilegeDefinition> definitions)
focal_class.full_signature: private void writeDefinitions(@NotNull Iterable<PrivilegeDefinition> definitions)
focal_class.identifier: writeDefinitions
focal_class.modifiers: private
focal_class.parameters: (@NotNull Iterable<PrivilegeDefinition> definitions)
focal_class.return: void
focal_class.signature: void writeDefinitions(@NotNull Iterable<PrivilegeDefinition> definitions)
focal_class.class_method_signature: PrivilegeDefinitionWriter.writePrivilegeNode(@NotNull Tree privilegesTree, @NotNull PrivilegeDefinition definition)
focal_class.full_signature: private void writePrivilegeNode(@NotNull Tree privilegesTree, @NotNull PrivilegeDefinition definition)
focal_class.identifier: writePrivilegeNode
focal_class.modifiers: private
focal_class.parameters: (@NotNull Tree privilegesTree, @NotNull PrivilegeDefinition definition)
focal_class.return: void
focal_class.signature: void writePrivilegeNode(@NotNull Tree privilegesTree, @NotNull PrivilegeDefinition definition)
focal_class.class_method_signature: PrivilegeDefinitionWriter.getBuiltInDefinitions()
focal_class.full_signature: @NotNull private static Collection<PrivilegeDefinition> getBuiltInDefinitions()
focal_class.identifier: getBuiltInDefinitions
focal_class.modifiers: @NotNull private static
focal_class.parameters: ()
focal_class.return: Collection<PrivilegeDefinition>
focal_class.signature: Collection<PrivilegeDefinition> getBuiltInDefinitions()
focal_method.body: void writeDefinition(@NotNull PrivilegeDefinition definition) throws RepositoryException {
          writeDefinitions(Collections.singleton(definition));
      }
focal_method.class_method_signature: PrivilegeDefinitionWriter.writeDefinition(@NotNull PrivilegeDefinition definition)
focal_method.full_signature:  void writeDefinition(@NotNull PrivilegeDefinition definition)
focal_method.identifier: writeDefinition
focal_method.invocations: writeDefinitions singleton
focal_method.parameters: (@NotNull PrivilegeDefinition definition)
focal_method.return: void
focal_method.signature: void writeDefinition(@NotNull PrivilegeDefinition definition)