test_class.declarator: alwaysMatching = CompositePattern.create(ImmutableList.of(TestRestrictionPatter.INSTANCE_TRUE, TestRestrictionPatter.INSTANCE_TRUE))
test_class.modifier: private final
test_class.original_string: private final RestrictionPattern alwaysMatching = CompositePattern.create(ImmutableList.of(TestRestrictionPatter.INSTANCE_TRUE, TestRestrictionPatter.INSTANCE_TRUE));
test_class.type: RestrictionPattern
test_class.var_name: alwaysMatching
test_class.declarator: neverMatching = CompositePattern.create(ImmutableList.of(TestRestrictionPatter.INSTANCE_TRUE, TestRestrictionPatter.INSTANCE_FALSE))
test_class.modifier: private final
test_class.original_string: private final RestrictionPattern neverMatching = CompositePattern.create(ImmutableList.of(TestRestrictionPatter.INSTANCE_TRUE, TestRestrictionPatter.INSTANCE_FALSE));
test_class.type: RestrictionPattern
test_class.var_name: neverMatching
test_class.file: oak-security-spi/src/test/java/org/apache/jackrabbit/oak/spi/security/authorization/restriction/CompositePatternTest.java
test_class.identifier: CompositePatternTest
test_case.body: @Test
      public void testMatches() {
          assertTrue(alwaysMatching.matches());
          assertFalse(neverMatching.matches());
      }
test_case.class_method_signature: CompositePatternTest.testMatches()
test_case.full_signature: @Test public void testMatches()
test_case.identifier: testMatches
test_case.invocations: assertTrue matches assertFalse matches
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMatches()
focal_class.declarator: patterns
focal_class.modifier: private final
focal_class.original_string: private final List<RestrictionPattern> patterns;
focal_class.type: List<RestrictionPattern>
focal_class.var_name: patterns
focal_class.file: oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/restriction/CompositePattern.java
focal_class.identifier: CompositePattern
focal_class.interfaces: implements RestrictionPattern
focal_class.class_method_signature: CompositePattern.CompositePattern(@NotNull List<RestrictionPattern> patterns)
focal_class.full_signature: public  CompositePattern(@NotNull List<RestrictionPattern> patterns)
focal_class.identifier: CompositePattern
focal_class.modifiers: public
focal_class.parameters: (@NotNull List<RestrictionPattern> patterns)
focal_class.signature:  CompositePattern(@NotNull List<RestrictionPattern> patterns)
focal_class.class_method_signature: CompositePattern.create(@NotNull List<RestrictionPattern> patterns)
focal_class.full_signature: public static RestrictionPattern create(@NotNull List<RestrictionPattern> patterns)
focal_class.identifier: create
focal_class.modifiers: public static
focal_class.parameters: (@NotNull List<RestrictionPattern> patterns)
focal_class.return: RestrictionPattern
focal_class.signature: RestrictionPattern create(@NotNull List<RestrictionPattern> patterns)
focal_class.class_method_signature: CompositePattern.matches(@NotNull Tree tree, @Nullable PropertyState property)
focal_class.full_signature: @Override public boolean matches(@NotNull Tree tree, @Nullable PropertyState property)
focal_class.identifier: matches
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull Tree tree, @Nullable PropertyState property)
focal_class.return: boolean
focal_class.signature: boolean matches(@NotNull Tree tree, @Nullable PropertyState property)
focal_class.class_method_signature: CompositePattern.matches(@NotNull String path)
focal_class.full_signature: @Override public boolean matches(@NotNull String path)
focal_class.identifier: matches
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull String path)
focal_class.return: boolean
focal_class.signature: boolean matches(@NotNull String path)
focal_class.class_method_signature: CompositePattern.matches()
focal_class.full_signature: @Override public boolean matches()
focal_class.identifier: matches
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean matches()
focal_method.body: @Override
      public boolean matches(@NotNull Tree tree, @Nullable PropertyState property) {
          for (RestrictionPattern pattern : patterns) {
              if (!pattern.matches(tree, property)) {
                  return false;
              }
          }
          return true;
      }
focal_method.class_method_signature: CompositePattern.matches(@NotNull Tree tree, @Nullable PropertyState property)
focal_method.full_signature: @Override public boolean matches(@NotNull Tree tree, @Nullable PropertyState property)
focal_method.identifier: matches
focal_method.invocations: matches
focal_method.modifiers: @Override public
focal_method.parameters: (@NotNull Tree tree, @Nullable PropertyState property)
focal_method.return: boolean
focal_method.signature: boolean matches(@NotNull Tree tree, @Nullable PropertyState property)