test_class.declarator: CTX = ContextImpl.INSTANCE
test_class.modifier: private static final
test_class.original_string: private static final Context CTX = ContextImpl.INSTANCE;
test_class.type: Context
test_class.var_name: CTX
test_class.file: oak-authorization-principalbased/src/test/java/org/apache/jackrabbit/oak/spi/security/authorization/principalbased/impl/ContextImplTest.java
test_class.identifier: ContextImplTest
test_class.interfaces: implements Constants
test_case.body: @Test
      public void testNotDefinesCtxRoot() {
          assertFalse(CTX.definesContextRoot(mockTree(REP_PRINCIPAL_POLICY, NT_REP_PRINCIPAL_POLICY, false)));
          assertFalse(CTX.definesContextRoot(mockTree(AccessControlConstants.REP_POLICY, NT_REP_PRINCIPAL_POLICY, true)));
          assertFalse(CTX.definesContextRoot(mockTree(REP_PRINCIPAL_POLICY, AccessControlConstants.NT_REP_POLICY, true)));
          assertFalse(CTX.definesContextRoot(mockTree(REP_RESTRICTIONS, NT_REP_RESTRICTIONS, true)));
      }
test_case.class_method_signature: ContextImplTest.testNotDefinesCtxRoot()
test_case.full_signature: @Test public void testNotDefinesCtxRoot()
test_case.identifier: testNotDefinesCtxRoot
test_case.invocations: assertFalse definesContextRoot mockTree assertFalse definesContextRoot mockTree assertFalse definesContextRoot mockTree assertFalse definesContextRoot mockTree
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testNotDefinesCtxRoot()
focal_class.declarator: INSTANCE = new ContextImpl()
focal_class.modifier: static final
focal_class.original_string: static final Context INSTANCE = new ContextImpl();
focal_class.type: Context
focal_class.var_name: INSTANCE
focal_class.declarator: NODE_NAMES = new String[] {REP_PRINCIPAL_POLICY, REP_RESTRICTIONS}
focal_class.modifier: private static final
focal_class.original_string: private static final String[] NODE_NAMES = new String[] {REP_PRINCIPAL_POLICY, REP_RESTRICTIONS};
focal_class.type: String[]
focal_class.var_name: NODE_NAMES
focal_class.declarator: PROPERTY_NAMES = new String[] {REP_PRINCIPAL_NAME, REP_EFFECTIVE_PATH, REP_PRIVILEGES}
focal_class.modifier: private static final
focal_class.original_string: private static final String[] PROPERTY_NAMES = new String[] {REP_PRINCIPAL_NAME, REP_EFFECTIVE_PATH, REP_PRIVILEGES};
focal_class.type: String[]
focal_class.var_name: PROPERTY_NAMES
focal_class.declarator: NT_NAMES = new String[] {NT_REP_PRINCIPAL_POLICY, NT_REP_PRINCIPAL_ENTRY, NT_REP_RESTRICTIONS}
focal_class.modifier: private static final
focal_class.original_string: private static final String[] NT_NAMES = new String[] {NT_REP_PRINCIPAL_POLICY, NT_REP_PRINCIPAL_ENTRY, NT_REP_RESTRICTIONS};
focal_class.type: String[]
focal_class.var_name: NT_NAMES
focal_class.file: oak-authorization-principalbased/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/principalbased/impl/ContextImpl.java
focal_class.identifier: ContextImpl
focal_class.interfaces: implements Context, Constants
focal_class.class_method_signature: ContextImpl.ContextImpl()
focal_class.full_signature: private  ContextImpl()
focal_class.identifier: ContextImpl
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  ContextImpl()
focal_class.class_method_signature: ContextImpl.definesProperty(@NotNull Tree parent, @NotNull PropertyState property)
focal_class.full_signature: @Override public boolean definesProperty(@NotNull Tree parent, @NotNull PropertyState property)
focal_class.identifier: definesProperty
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull Tree parent, @NotNull PropertyState property)
focal_class.return: boolean
focal_class.signature: boolean definesProperty(@NotNull Tree parent, @NotNull PropertyState property)
focal_class.class_method_signature: ContextImpl.definesContextRoot(@NotNull Tree tree)
focal_class.full_signature: @Override public boolean definesContextRoot(@NotNull Tree tree)
focal_class.identifier: definesContextRoot
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull Tree tree)
focal_class.return: boolean
focal_class.signature: boolean definesContextRoot(@NotNull Tree tree)
focal_class.class_method_signature: ContextImpl.definesTree(@NotNull Tree tree)
focal_class.full_signature: @Override public boolean definesTree(@NotNull Tree tree)
focal_class.identifier: definesTree
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull Tree tree)
focal_class.return: boolean
focal_class.signature: boolean definesTree(@NotNull Tree tree)
focal_class.class_method_signature: ContextImpl.definesLocation(@NotNull TreeLocation location)
focal_class.full_signature: @Override public boolean definesLocation(@NotNull TreeLocation location)
focal_class.identifier: definesLocation
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull TreeLocation location)
focal_class.return: boolean
focal_class.signature: boolean definesLocation(@NotNull TreeLocation location)
focal_class.class_method_signature: ContextImpl.definesInternal(@NotNull Tree tree)
focal_class.full_signature: @Override public boolean definesInternal(@NotNull Tree tree)
focal_class.identifier: definesInternal
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull Tree tree)
focal_class.return: boolean
focal_class.signature: boolean definesInternal(@NotNull Tree tree)
focal_class.class_method_signature: ContextImpl.isNodeName(@NotNull String name)
focal_class.full_signature: private static boolean isNodeName(@NotNull String name)
focal_class.identifier: isNodeName
focal_class.modifiers: private static
focal_class.parameters: (@NotNull String name)
focal_class.return: boolean
focal_class.signature: boolean isNodeName(@NotNull String name)
focal_class.class_method_signature: ContextImpl.isPropertyName(@NotNull String name)
focal_class.full_signature: private static boolean isPropertyName(@NotNull String name)
focal_class.identifier: isPropertyName
focal_class.modifiers: private static
focal_class.parameters: (@NotNull String name)
focal_class.return: boolean
focal_class.signature: boolean isPropertyName(@NotNull String name)
focal_class.class_method_signature: ContextImpl.isItemName(@NotNull String name)
focal_class.full_signature: private static boolean isItemName(@NotNull String name)
focal_class.identifier: isItemName
focal_class.modifiers: private static
focal_class.parameters: (@NotNull String name)
focal_class.return: boolean
focal_class.signature: boolean isItemName(@NotNull String name)
focal_class.class_method_signature: ContextImpl.isNtName(@NotNull Tree tree)
focal_class.full_signature: private static boolean isNtName(@NotNull Tree tree)
focal_class.identifier: isNtName
focal_class.modifiers: private static
focal_class.parameters: (@NotNull Tree tree)
focal_class.return: boolean
focal_class.signature: boolean isNtName(@NotNull Tree tree)
focal_method.body: @Override
      public boolean definesContextRoot(@NotNull Tree tree) {
          return Utils.isPrincipalPolicyTree(tree);
      }
focal_method.class_method_signature: ContextImpl.definesContextRoot(@NotNull Tree tree)
focal_method.full_signature: @Override public boolean definesContextRoot(@NotNull Tree tree)
focal_method.identifier: definesContextRoot
focal_method.invocations: isPrincipalPolicyTree
focal_method.modifiers: @Override public
focal_method.parameters: (@NotNull Tree tree)
focal_method.return: boolean
focal_method.signature: boolean definesContextRoot(@NotNull Tree tree)