test_class.declarator: reader
test_class.modifier: private
test_class.original_string: private PrivilegeDefinitionReader reader;
test_class.type: PrivilegeDefinitionReader
test_class.var_name: reader
test_class.file: oak-core/src/test/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeDefinitionReaderTest.java
test_class.identifier: PrivilegeDefinitionReaderTest
test_class.interfaces: implements PrivilegeConstants
test_class.superclass: extends AbstractSecurityTest
test_case.body: @Test
      public void testReadDefinition() {
          assertNotNull(reader.readDefinition(JCR_READ));
      }
test_case.class_method_signature: PrivilegeDefinitionReaderTest.testReadDefinition()
test_case.full_signature: @Test public void testReadDefinition()
test_case.identifier: testReadDefinition
test_case.invocations: assertNotNull readDefinition
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testReadDefinition()
focal_class.declarator: privilegesTree
focal_class.modifier: private final
focal_class.original_string: private final Tree privilegesTree;
focal_class.type: Tree
focal_class.var_name: privilegesTree
focal_class.file: oak-core/src/main/java/org/apache/jackrabbit/oak/security/privilege/PrivilegeDefinitionReader.java
focal_class.identifier: PrivilegeDefinitionReader
focal_class.interfaces: implements PrivilegeConstants
focal_class.class_method_signature: PrivilegeDefinitionReader.PrivilegeDefinitionReader(@NotNull Root root)
focal_class.full_signature:   PrivilegeDefinitionReader(@NotNull Root root)
focal_class.identifier: PrivilegeDefinitionReader
focal_class.parameters: (@NotNull Root root)
focal_class.signature:  PrivilegeDefinitionReader(@NotNull Root root)
focal_class.class_method_signature: PrivilegeDefinitionReader.readDefinitions()
focal_class.full_signature: @NotNull Map<String, PrivilegeDefinition> readDefinitions()
focal_class.identifier: readDefinitions
focal_class.modifiers: @NotNull
focal_class.parameters: ()
focal_class.return: Map<String, PrivilegeDefinition>
focal_class.signature: Map<String, PrivilegeDefinition> readDefinitions()
focal_class.class_method_signature: PrivilegeDefinitionReader.readDefinition(@NotNull String privilegeName)
focal_class.full_signature: @Nullable PrivilegeDefinition readDefinition(@NotNull String privilegeName)
focal_class.identifier: readDefinition
focal_class.modifiers: @Nullable
focal_class.parameters: (@NotNull String privilegeName)
focal_class.return: PrivilegeDefinition
focal_class.signature: PrivilegeDefinition readDefinition(@NotNull String privilegeName)
focal_class.class_method_signature: PrivilegeDefinitionReader.isPrivilegeDefinition(@NotNull Tree tree)
focal_class.full_signature: private static boolean isPrivilegeDefinition(@NotNull Tree tree)
focal_class.identifier: isPrivilegeDefinition
focal_class.modifiers: private static
focal_class.parameters: (@NotNull Tree tree)
focal_class.return: boolean
focal_class.signature: boolean isPrivilegeDefinition(@NotNull Tree tree)
focal_method.body: @Nullable
      PrivilegeDefinition readDefinition(@NotNull String privilegeName) {
          if (!privilegesTree.exists() || !privilegesTree.hasChild(privilegeName)) {
              return null;
          } else {
              Tree definitionTree = privilegesTree.getChild(privilegeName);
              return (isPrivilegeDefinition(definitionTree)) ? PrivilegeUtil.readDefinition(definitionTree) : null;
          }
      }
focal_method.class_method_signature: PrivilegeDefinitionReader.readDefinition(@NotNull String privilegeName)
focal_method.full_signature: @Nullable PrivilegeDefinition readDefinition(@NotNull String privilegeName)
focal_method.identifier: readDefinition
focal_method.invocations: exists hasChild getChild isPrivilegeDefinition readDefinition
focal_method.modifiers: @Nullable
focal_method.parameters: (@NotNull String privilegeName)
focal_method.return: PrivilegeDefinition
focal_method.signature: PrivilegeDefinition readDefinition(@NotNull String privilegeName)