test_class.declarator: CUG_PATH = "/content/a/rep:cugPolicy"
test_class.modifier: private static
test_class.original_string: private static String CUG_PATH = "/content/a/rep:cugPolicy";
test_class.type: String
test_class.var_name: CUG_PATH
test_class.declarator: NO_CUG_PATH = ImmutableList.of(
              "/content",
              "/content/a",
              "/content/rep:policy",
              "/content/rep:cugPolicy",
              "/content/a/rep:cugPolicy/rep:principalNames",
              UNSUPPORTED_PATH + "/rep:cugPolicy"
      )
test_class.modifier: private static
test_class.original_string: private static List<String> NO_CUG_PATH = ImmutableList.of(
              "/content",
              "/content/a",
              "/content/rep:policy",
              "/content/rep:cugPolicy",
              "/content/a/rep:cugPolicy/rep:principalNames",
              UNSUPPORTED_PATH + "/rep:cugPolicy"
      );
test_class.type: List<String>
test_class.var_name: NO_CUG_PATH
test_class.file: oak-authorization-cug/src/test/java/org/apache/jackrabbit/oak/spi/security/authorization/cug/impl/CugContextTest.java
test_class.identifier: CugContextTest
test_class.interfaces: implements NodeTypeConstants
test_class.superclass: extends AbstractCugTest
test_case.body: @Test
      public void testDefinesProperty() {
          Tree cugTree = root.getTree(CUG_PATH);
          PropertyState repPrincipalNames = cugTree.getProperty(CugConstants.REP_PRINCIPAL_NAMES);
          assertTrue(CugContext.INSTANCE.definesProperty(cugTree, repPrincipalNames));
          assertFalse(CugContext.INSTANCE.definesProperty(cugTree, cugTree.getProperty(JcrConstants.JCR_PRIMARYTYPE)));
  
          for (String path : NO_CUG_PATH) {
              assertFalse(path, CugContext.INSTANCE.definesProperty(root.getTree(path), repPrincipalNames));
          }
      }
test_case.class_method_signature: CugContextTest.testDefinesProperty()
test_case.full_signature: @Test public void testDefinesProperty()
test_case.identifier: testDefinesProperty
test_case.invocations: getTree getProperty assertTrue definesProperty assertFalse definesProperty getProperty assertFalse definesProperty getTree
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDefinesProperty()
focal_class.declarator: INSTANCE = new CugContext()
focal_class.modifier: static final
focal_class.original_string: static final Context INSTANCE = new CugContext();
focal_class.type: Context
focal_class.var_name: INSTANCE
focal_class.file: oak-authorization-cug/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/cug/impl/CugContext.java
focal_class.identifier: CugContext
focal_class.interfaces: implements Context, CugConstants
focal_class.class_method_signature: CugContext.CugContext()
focal_class.full_signature: private  CugContext()
focal_class.identifier: CugContext
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  CugContext()
focal_class.class_method_signature: CugContext.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: CugContext.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: CugContext.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: CugContext.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: CugContext.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_method.body: @Override
      public boolean definesProperty(@NotNull Tree parent, @NotNull PropertyState property) {
          return CugUtil.definesCug(parent, property);
      }
focal_method.class_method_signature: CugContext.definesProperty(@NotNull Tree parent, @NotNull PropertyState property)
focal_method.full_signature: @Override public boolean definesProperty(@NotNull Tree parent, @NotNull PropertyState property)
focal_method.identifier: definesProperty
focal_method.invocations: definesCug
focal_method.modifiers: @Override public
focal_method.parameters: (@NotNull Tree parent, @NotNull PropertyState property)
focal_method.return: boolean
focal_method.signature: boolean definesProperty(@NotNull Tree parent, @NotNull PropertyState property)