test_class.declarator: allowedTp
test_class.modifier: private
test_class.original_string: private CugTreePermission allowedTp;
test_class.type: CugTreePermission
test_class.var_name: allowedTp
test_class.declarator: deniedTp
test_class.modifier: private
test_class.original_string: private CugTreePermission deniedTp;
test_class.type: CugTreePermission
test_class.var_name: deniedTp
test_class.file: oak-authorization-cug/src/test/java/org/apache/jackrabbit/oak/spi/security/authorization/cug/impl/CugTreePermissionTest.java
test_class.identifier: CugTreePermissionTest
test_class.superclass: extends AbstractCugTest
test_case.body: @Test
      public void testIsGrantedProperty() {
          PropertyState ps = PropertyStates.createProperty("prop", "val");
  
          assertFalse(allowedTp.isGranted(Permissions.ALL, ps));
          assertFalse(allowedTp.isGranted(Permissions.WRITE, ps));
          assertTrue(allowedTp.isGranted(Permissions.READ_PROPERTY, ps));
  
          assertFalse(deniedTp.isGranted(Permissions.ALL, ps));
          assertFalse(deniedTp.isGranted(Permissions.WRITE, ps));
          assertFalse(deniedTp.isGranted(Permissions.READ_PROPERTY, ps));
      }
test_case.class_method_signature: CugTreePermissionTest.testIsGrantedProperty()
test_case.full_signature: @Test public void testIsGrantedProperty()
test_case.identifier: testIsGrantedProperty
test_case.invocations: createProperty assertFalse isGranted assertFalse isGranted assertTrue isGranted assertFalse isGranted assertFalse isGranted assertFalse isGranted
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testIsGrantedProperty()
focal_class.declarator: parent
focal_class.modifier: private final
focal_class.original_string: private final TreePermission parent;
focal_class.type: TreePermission
focal_class.var_name: parent
focal_class.declarator: status
focal_class.modifier: private
focal_class.original_string: private Status status;
focal_class.type: Status
focal_class.var_name: status
focal_class.file: oak-authorization-cug/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/cug/impl/CugTreePermission.java
focal_class.identifier: CugTreePermission
focal_class.interfaces: implements CugConstants
focal_class.class_method_signature: CugTreePermission.CugTreePermission(@NotNull Tree tree, @NotNull TreeType type, @NotNull TreePermission parent,
                        @NotNull CugPermissionProvider permissionProvider)
focal_class.full_signature:   CugTreePermission(@NotNull Tree tree, @NotNull TreeType type, @NotNull TreePermission parent,
                        @NotNull CugPermissionProvider permissionProvider)
focal_class.identifier: CugTreePermission
focal_class.parameters: (@NotNull Tree tree, @NotNull TreeType type, @NotNull TreePermission parent,
                        @NotNull CugPermissionProvider permissionProvider)
focal_class.signature:  CugTreePermission(@NotNull Tree tree, @NotNull TreeType type, @NotNull TreePermission parent,
                        @NotNull CugPermissionProvider permissionProvider)
focal_class.class_method_signature: CugTreePermission.CugTreePermission(@NotNull Tree tree, @NotNull TreeType type, @NotNull TreePermission parent,
                        @NotNull CugPermissionProvider permissionProvider, boolean inCug, boolean canRead, boolean hasNestedCug)
focal_class.full_signature:   CugTreePermission(@NotNull Tree tree, @NotNull TreeType type, @NotNull TreePermission parent,
                        @NotNull CugPermissionProvider permissionProvider, boolean inCug, boolean canRead, boolean hasNestedCug)
focal_class.identifier: CugTreePermission
focal_class.parameters: (@NotNull Tree tree, @NotNull TreeType type, @NotNull TreePermission parent,
                        @NotNull CugPermissionProvider permissionProvider, boolean inCug, boolean canRead, boolean hasNestedCug)
focal_class.signature:  CugTreePermission(@NotNull Tree tree, @NotNull TreeType type, @NotNull TreePermission parent,
                        @NotNull CugPermissionProvider permissionProvider, boolean inCug, boolean canRead, boolean hasNestedCug)
focal_class.class_method_signature: CugTreePermission.isInCug()
focal_class.full_signature:  boolean isInCug()
focal_class.identifier: isInCug
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isInCug()
focal_class.class_method_signature: CugTreePermission.isAllow()
focal_class.full_signature:  boolean isAllow()
focal_class.identifier: isAllow
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isAllow()
focal_class.class_method_signature: CugTreePermission.hasNestedCug()
focal_class.full_signature:  boolean hasNestedCug()
focal_class.identifier: hasNestedCug
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean hasNestedCug()
focal_class.class_method_signature: CugTreePermission.getStatus()
focal_class.full_signature: private Status getStatus()
focal_class.identifier: getStatus
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: Status
focal_class.signature: Status getStatus()
focal_class.class_method_signature: CugTreePermission.loadStatus()
focal_class.full_signature: private void loadStatus()
focal_class.identifier: loadStatus
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void loadStatus()
focal_class.class_method_signature: CugTreePermission.neverNested(@Nullable CugTreePermission parentCugPerm)
focal_class.full_signature: private static boolean neverNested(@Nullable CugTreePermission parentCugPerm)
focal_class.identifier: neverNested
focal_class.modifiers: private static
focal_class.parameters: (@Nullable CugTreePermission parentCugPerm)
focal_class.return: boolean
focal_class.signature: boolean neverNested(@Nullable CugTreePermission parentCugPerm)
focal_class.class_method_signature: CugTreePermission.canRead()
focal_class.full_signature: @Override public boolean canRead()
focal_class.identifier: canRead
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean canRead()
focal_class.class_method_signature: CugTreePermission.canRead(@NotNull PropertyState property)
focal_class.full_signature: @Override public boolean canRead(@NotNull PropertyState property)
focal_class.identifier: canRead
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull PropertyState property)
focal_class.return: boolean
focal_class.signature: boolean canRead(@NotNull PropertyState property)
focal_class.class_method_signature: CugTreePermission.canReadAll()
focal_class.full_signature: @Override public boolean canReadAll()
focal_class.identifier: canReadAll
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean canReadAll()
focal_class.class_method_signature: CugTreePermission.canReadProperties()
focal_class.full_signature: @Override public boolean canReadProperties()
focal_class.identifier: canReadProperties
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean canReadProperties()
focal_class.class_method_signature: CugTreePermission.isGranted(long permissions)
focal_class.full_signature: @Override public boolean isGranted(long permissions)
focal_class.identifier: isGranted
focal_class.modifiers: @Override public
focal_class.parameters: (long permissions)
focal_class.return: boolean
focal_class.signature: boolean isGranted(long permissions)
focal_class.class_method_signature: CugTreePermission.isGranted(long permissions, @NotNull PropertyState property)
focal_class.full_signature: @Override public boolean isGranted(long permissions, @NotNull PropertyState property)
focal_class.identifier: isGranted
focal_class.modifiers: @Override public
focal_class.parameters: (long permissions, @NotNull PropertyState property)
focal_class.return: boolean
focal_class.signature: boolean isGranted(long permissions, @NotNull PropertyState property)
focal_class.superclass: extends AbstractTreePermission
focal_method.body: @Override
      public boolean isGranted(long permissions) {
          return permissions == Permissions.READ_NODE && isAllow();
      }
focal_method.class_method_signature: CugTreePermission.isGranted(long permissions)
focal_method.full_signature: @Override public boolean isGranted(long permissions)
focal_method.identifier: isGranted
focal_method.invocations: isAllow
focal_method.modifiers: @Override public
focal_method.parameters: (long permissions)
focal_method.return: boolean
focal_method.signature: boolean isGranted(long permissions)