test_class.declarator: KNOWN_PRIV_NAME = "prefix:known"
test_class.modifier: private static final
test_class.original_string: private static final String KNOWN_PRIV_NAME = "prefix:known";
test_class.type: String
test_class.var_name: KNOWN_PRIV_NAME
test_class.declarator: ps = PropertyStates.createProperty(REP_BITS, 5000L, Type.LONG)
test_class.modifier: private final
test_class.original_string: private final PropertyState ps = PropertyStates.createProperty(REP_BITS, 5000L, Type.LONG);
test_class.type: PropertyState
test_class.var_name: ps
test_class.declarator: bits = PrivilegeBits.getInstance(ps)
test_class.modifier: private final
test_class.original_string: private final PrivilegeBits bits = PrivilegeBits.getInstance(ps);
test_class.type: PrivilegeBits
test_class.var_name: bits
test_class.declarator: privTree
test_class.modifier: private
test_class.original_string: private Tree privTree;
test_class.type: Tree
test_class.var_name: privTree
test_class.declarator: pTree
test_class.modifier: private
test_class.original_string: private Tree pTree;
test_class.type: Tree
test_class.var_name: pTree
test_class.declarator: root
test_class.modifier: private
test_class.original_string: private Root root;
test_class.type: Root
test_class.var_name: root
test_class.declarator: bitsProvider
test_class.modifier: private
test_class.original_string: private PrivilegeBitsProvider bitsProvider;
test_class.type: PrivilegeBitsProvider
test_class.var_name: bitsProvider
test_class.file: oak-security-spi/src/test/java/org/apache/jackrabbit/oak/spi/security/privilege/PrivilegeBitsProviderTest.java
test_class.identifier: PrivilegeBitsProviderTest
test_class.interfaces: implements PrivilegeConstants
test_case.body: @Test
      public void testGetBitsFromEmptyPrivileges() {
          assertSame(PrivilegeBits.EMPTY, bitsProvider.getBits(new Privilege[0], NamePathMapper.DEFAULT));
      }
test_case.class_method_signature: PrivilegeBitsProviderTest.testGetBitsFromEmptyPrivileges()
test_case.full_signature: @Test public void testGetBitsFromEmptyPrivileges()
test_case.identifier: testGetBitsFromEmptyPrivileges
test_case.invocations: assertSame getBits
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetBitsFromEmptyPrivileges()
focal_class.declarator: log = LoggerFactory.getLogger(PrivilegeBitsProvider.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(PrivilegeBitsProvider.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: bitsToNames = new HashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<PrivilegeBits, Set<String>> bitsToNames = new HashMap<>();
focal_class.type: Map<PrivilegeBits, Set<String>>
focal_class.var_name: bitsToNames
focal_class.declarator: nameToBits = new HashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, PrivilegeBits> nameToBits = new HashMap<>();
focal_class.type: Map<String, PrivilegeBits>
focal_class.var_name: nameToBits
focal_class.declarator: aggregation = new HashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final Map<String, Set<String>> aggregation = new HashMap<>();
focal_class.type: Map<String, Set<String>>
focal_class.var_name: aggregation
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.file: oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/privilege/PrivilegeBitsProvider.java
focal_class.identifier: PrivilegeBitsProvider
focal_class.interfaces: implements PrivilegeConstants
focal_class.class_method_signature: PrivilegeBitsProvider.PrivilegeBitsProvider(Root root)
focal_class.full_signature: public  PrivilegeBitsProvider(Root root)
focal_class.identifier: PrivilegeBitsProvider
focal_class.modifiers: public
focal_class.parameters: (Root root)
focal_class.signature:  PrivilegeBitsProvider(Root root)
focal_class.class_method_signature: PrivilegeBitsProvider.getPrivilegesTree()
focal_class.full_signature: @NotNull public Tree getPrivilegesTree()
focal_class.identifier: getPrivilegesTree
focal_class.modifiers: @NotNull public
focal_class.parameters: ()
focal_class.return: Tree
focal_class.signature: Tree getPrivilegesTree()
focal_class.class_method_signature: PrivilegeBitsProvider.getBits(@NotNull String... privilegeNames)
focal_class.full_signature: @NotNull public PrivilegeBits getBits(@NotNull String... privilegeNames)
focal_class.identifier: getBits
focal_class.modifiers: @NotNull public
focal_class.parameters: (@NotNull String... privilegeNames)
focal_class.return: PrivilegeBits
focal_class.signature: PrivilegeBits getBits(@NotNull String... privilegeNames)
focal_class.class_method_signature: PrivilegeBitsProvider.getBits(@NotNull Iterable<String> privilegeNames)
focal_class.full_signature: @NotNull public PrivilegeBits getBits(@NotNull Iterable<String> privilegeNames)
focal_class.identifier: getBits
focal_class.modifiers: @NotNull public
focal_class.parameters: (@NotNull Iterable<String> privilegeNames)
focal_class.return: PrivilegeBits
focal_class.signature: PrivilegeBits getBits(@NotNull Iterable<String> privilegeNames)
focal_class.class_method_signature: PrivilegeBitsProvider.getBits(@NotNull Privilege[] privileges, @NotNull final NameMapper nameMapper)
focal_class.full_signature: @NotNull public PrivilegeBits getBits(@NotNull Privilege[] privileges, @NotNull final NameMapper nameMapper)
focal_class.identifier: getBits
focal_class.modifiers: @NotNull public
focal_class.parameters: (@NotNull Privilege[] privileges, @NotNull final NameMapper nameMapper)
focal_class.return: PrivilegeBits
focal_class.signature: PrivilegeBits getBits(@NotNull Privilege[] privileges, @NotNull final NameMapper nameMapper)
focal_class.class_method_signature: PrivilegeBitsProvider.getPrivilegeNames(PrivilegeBits privilegeBits)
focal_class.full_signature: @NotNull public Set<String> getPrivilegeNames(PrivilegeBits privilegeBits)
focal_class.identifier: getPrivilegeNames
focal_class.modifiers: @NotNull public
focal_class.parameters: (PrivilegeBits privilegeBits)
focal_class.return: Set<String>
focal_class.signature: Set<String> getPrivilegeNames(PrivilegeBits privilegeBits)
focal_class.class_method_signature: PrivilegeBitsProvider.getAggregatedPrivilegeNames(@NotNull String... privilegeNames)
focal_class.full_signature: @NotNull public Iterable<String> getAggregatedPrivilegeNames(@NotNull String... privilegeNames)
focal_class.identifier: getAggregatedPrivilegeNames
focal_class.modifiers: @NotNull public
focal_class.parameters: (@NotNull String... privilegeNames)
focal_class.return: Iterable<String>
focal_class.signature: Iterable<String> getAggregatedPrivilegeNames(@NotNull String... privilegeNames)
focal_class.class_method_signature: PrivilegeBitsProvider.extractAggregatedPrivileges(@NotNull Iterable<String> privilegeNames)
focal_class.full_signature: private Iterable<String> extractAggregatedPrivileges(@NotNull Iterable<String> privilegeNames)
focal_class.identifier: extractAggregatedPrivileges
focal_class.modifiers: private
focal_class.parameters: (@NotNull Iterable<String> privilegeNames)
focal_class.return: Iterable<String>
focal_class.signature: Iterable<String> extractAggregatedPrivileges(@NotNull Iterable<String> privilegeNames)
focal_class.class_method_signature: PrivilegeBitsProvider.resolveBuiltInAggregation(@NotNull String privilegeName)
focal_class.full_signature: private Set<String> resolveBuiltInAggregation(@NotNull String privilegeName)
focal_class.identifier: resolveBuiltInAggregation
focal_class.modifiers: private
focal_class.parameters: (@NotNull String privilegeName)
focal_class.return: Set<String>
focal_class.signature: Set<String> resolveBuiltInAggregation(@NotNull String privilegeName)
focal_method.body: @NotNull
      public PrivilegeBits getBits(@NotNull String... privilegeNames) {
          if (privilegeNames.length == 0) {
              return PrivilegeBits.EMPTY;
          } else {
              return getBits(Arrays.asList(privilegeNames));
          }
      }
focal_method.class_method_signature: PrivilegeBitsProvider.getBits(@NotNull String... privilegeNames)
focal_method.full_signature: @NotNull public PrivilegeBits getBits(@NotNull String... privilegeNames)
focal_method.identifier: getBits
focal_method.invocations: getBits asList
focal_method.modifiers: @NotNull public
focal_method.parameters: (@NotNull String... privilegeNames)
focal_method.return: PrivilegeBits
focal_method.signature: PrivilegeBits getBits(@NotNull String... privilegeNames)