test_class.declarator: ALL = Long.MAX_VALUE
test_class.modifier: private static final
test_class.original_string: private static final Long ALL = Long.MAX_VALUE;
test_class.type: Long
test_class.var_name: ALL
test_class.declarator: ALL_PROPERTY = PropertyStates.createProperty(REP_BITS, Longs.asList(Long.MAX_VALUE), Type.LONGS)
test_class.modifier: private static final
test_class.original_string: private static final PropertyState ALL_PROPERTY = PropertyStates.createProperty(REP_BITS, Longs.asList(Long.MAX_VALUE), Type.LONGS);
test_class.type: PropertyState
test_class.var_name: ALL_PROPERTY
test_class.declarator: ALL_BITS = PrivilegeBits.getInstance(ALL_PROPERTY)
test_class.modifier: private final
test_class.original_string: private final PrivilegeBits ALL_BITS = PrivilegeBits.getInstance(ALL_PROPERTY);
test_class.type: PrivilegeBits
test_class.var_name: ALL_BITS
test_class.declarator: DYNAMIC_ALL_PROPERTY = PropertyStates.createProperty("anyName", Longs.asList(DYNAMIC_JCR_ALL_VALUE), Type.LONGS)
test_class.modifier: private static final
test_class.original_string: private static final PropertyState DYNAMIC_ALL_PROPERTY = PropertyStates.createProperty("anyName", Longs.asList(DYNAMIC_JCR_ALL_VALUE), Type.LONGS);
test_class.type: PropertyState
test_class.var_name: DYNAMIC_ALL_PROPERTY
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: jcrAllDefTree
test_class.modifier: private
test_class.original_string: private Tree jcrAllDefTree;
test_class.type: Tree
test_class.var_name: jcrAllDefTree
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/JcrAllUtilTest.java
test_class.identifier: JcrAllUtilTest
test_class.interfaces: implements PrivilegeConstants
test_case.body: @Test
      public void testAsPropertyStateBuiltin() {
          PrivilegeBits readBits = PrivilegeBits.BUILT_IN.get(REP_READ_NODES);
          PropertyState propertyState = JcrAllUtil.asPropertyState("anyName", readBits, bitsProvider);
  
          assertEquals(readBits.asPropertyState("anyName"), propertyState);
      }
test_case.class_method_signature: JcrAllUtilTest.testAsPropertyStateBuiltin()
test_case.full_signature: @Test public void testAsPropertyStateBuiltin()
test_case.identifier: testAsPropertyStateBuiltin
test_case.invocations: get asPropertyState assertEquals asPropertyState
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAsPropertyStateBuiltin()
focal_class.declarator: DYNAMIC_JCR_ALL_VALUE = -1
focal_class.modifier: public static final
focal_class.original_string: public static final long DYNAMIC_JCR_ALL_VALUE = -1;
focal_class.type: long
focal_class.var_name: DYNAMIC_JCR_ALL_VALUE
focal_class.file: oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/privilege/JcrAllUtil.java
focal_class.identifier: JcrAllUtil
focal_class.class_method_signature: JcrAllUtil.JcrAllUtil()
focal_class.full_signature: private  JcrAllUtil()
focal_class.identifier: JcrAllUtil
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  JcrAllUtil()
focal_class.class_method_signature: JcrAllUtil.getPrivilegeBits(@Nullable PropertyState propertyState, @NotNull PrivilegeBitsProvider provider)
focal_class.full_signature: public static PrivilegeBits getPrivilegeBits(@Nullable PropertyState propertyState, @NotNull PrivilegeBitsProvider provider)
focal_class.identifier: getPrivilegeBits
focal_class.modifiers: public static
focal_class.parameters: (@Nullable PropertyState propertyState, @NotNull PrivilegeBitsProvider provider)
focal_class.return: PrivilegeBits
focal_class.signature: PrivilegeBits getPrivilegeBits(@Nullable PropertyState propertyState, @NotNull PrivilegeBitsProvider provider)
focal_class.class_method_signature: JcrAllUtil.asPropertyState(@NotNull String name, @NotNull PrivilegeBits bits, @NotNull PrivilegeBitsProvider provider)
focal_class.full_signature: public static PropertyState asPropertyState(@NotNull String name, @NotNull PrivilegeBits bits, @NotNull PrivilegeBitsProvider provider)
focal_class.identifier: asPropertyState
focal_class.modifiers: public static
focal_class.parameters: (@NotNull String name, @NotNull PrivilegeBits bits, @NotNull PrivilegeBitsProvider provider)
focal_class.return: PropertyState
focal_class.signature: PropertyState asPropertyState(@NotNull String name, @NotNull PrivilegeBits bits, @NotNull PrivilegeBitsProvider provider)
focal_class.class_method_signature: JcrAllUtil.denotesDynamicJcrAll(@Nullable PropertyState property)
focal_class.full_signature: public static boolean denotesDynamicJcrAll(@Nullable PropertyState property)
focal_class.identifier: denotesDynamicJcrAll
focal_class.modifiers: public static
focal_class.parameters: (@Nullable PropertyState property)
focal_class.return: boolean
focal_class.signature: boolean denotesDynamicJcrAll(@Nullable PropertyState property)
focal_class.class_method_signature: JcrAllUtil.getAllBits(@NotNull PrivilegeBitsProvider provider)
focal_class.full_signature: private static PrivilegeBits getAllBits(@NotNull PrivilegeBitsProvider provider)
focal_class.identifier: getAllBits
focal_class.modifiers: private static
focal_class.parameters: (@NotNull PrivilegeBitsProvider provider)
focal_class.return: PrivilegeBits
focal_class.signature: PrivilegeBits getAllBits(@NotNull PrivilegeBitsProvider provider)
focal_method.body: public static PropertyState asPropertyState(@NotNull String name, @NotNull PrivilegeBits bits, @NotNull PrivilegeBitsProvider provider) {
          if (!bits.isBuiltin() && bits.includes(getAllBits(provider))) {
              return PropertyStates.createProperty(name, Collections.singletonList(DYNAMIC_JCR_ALL_VALUE), Type.LONGS);
          } else {
              return bits.asPropertyState(name);
          }
      }
focal_method.class_method_signature: JcrAllUtil.asPropertyState(@NotNull String name, @NotNull PrivilegeBits bits, @NotNull PrivilegeBitsProvider provider)
focal_method.full_signature: public static PropertyState asPropertyState(@NotNull String name, @NotNull PrivilegeBits bits, @NotNull PrivilegeBitsProvider provider)
focal_method.identifier: asPropertyState
focal_method.invocations: isBuiltin includes getAllBits createProperty singletonList asPropertyState
focal_method.modifiers: public static
focal_method.parameters: (@NotNull String name, @NotNull PrivilegeBits bits, @NotNull PrivilegeBitsProvider provider)
focal_method.return: PropertyState
focal_method.signature: PropertyState asPropertyState(@NotNull String name, @NotNull PrivilegeBits bits, @NotNull PrivilegeBitsProvider provider)