test_class.declarator: principalNames = new String[] {"a","b","c","test"}
test_class.modifier: private
test_class.original_string: private String[] principalNames = new String[] {"a","b","c","test"};
test_class.type: String[]
test_class.var_name: principalNames
test_class.declarator: principals = ImmutableSet.of(new PrincipalImpl("test"))
test_class.modifier: private
test_class.original_string: private Set<Principal> principals = ImmutableSet.of(new PrincipalImpl("test"));
test_class.type: Set<Principal>
test_class.var_name: principals
test_class.file: oak-authorization-cug/src/test/java/org/apache/jackrabbit/oak/spi/security/authorization/cug/impl/CugExcludeImplTest.java
test_class.identifier: CugExcludeImplTest
test_class.superclass: extends CugExcludeDefaultTest
test_case.body: @Test
      public void testEmpty() {
          assertFalse(exclude.isExcluded(principals));
      }
test_case.class_method_signature: CugExcludeImplTest.testEmpty()
test_case.full_signature: @Test public void testEmpty()
test_case.identifier: testEmpty
test_case.invocations: assertFalse isExcluded
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEmpty()
focal_class.declarator: principalNames = Collections.emptySet()
focal_class.modifier: private
focal_class.original_string: private Set<String> principalNames = Collections.emptySet();
focal_class.type: Set<String>
focal_class.var_name: principalNames
focal_class.file: oak-authorization-cug/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/cug/impl/CugExcludeImpl.java
focal_class.identifier: CugExcludeImpl
focal_class.class_method_signature: CugExcludeImpl.isExcluded(@NotNull Set<Principal> principals)
focal_class.full_signature: @Override public boolean isExcluded(@NotNull Set<Principal> principals)
focal_class.identifier: isExcluded
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull Set<Principal> principals)
focal_class.return: boolean
focal_class.signature: boolean isExcluded(@NotNull Set<Principal> principals)
focal_class.class_method_signature: CugExcludeImpl.activate(Map<String, Object> properties)
focal_class.full_signature: @Activate protected void activate(Map<String, Object> properties)
focal_class.identifier: activate
focal_class.modifiers: @Activate protected
focal_class.parameters: (Map<String, Object> properties)
focal_class.return: void
focal_class.signature: void activate(Map<String, Object> properties)
focal_class.class_method_signature: CugExcludeImpl.modified(Map<String, Object> properties)
focal_class.full_signature: @Modified protected void modified(Map<String, Object> properties)
focal_class.identifier: modified
focal_class.modifiers: @Modified protected
focal_class.parameters: (Map<String, Object> properties)
focal_class.return: void
focal_class.signature: void modified(Map<String, Object> properties)
focal_class.class_method_signature: CugExcludeImpl.setPrincipalNames(@NotNull Map<String, Object> properties)
focal_class.full_signature: private void setPrincipalNames(@NotNull Map<String, Object> properties)
focal_class.identifier: setPrincipalNames
focal_class.modifiers: private
focal_class.parameters: (@NotNull Map<String, Object> properties)
focal_class.return: void
focal_class.signature: void setPrincipalNames(@NotNull Map<String, Object> properties)
focal_class.superclass: extends CugExclude.Default
focal_method.body: @Override
      public boolean isExcluded(@NotNull Set<Principal> principals) {
          if (super.isExcluded(principals)) {
              return true;
          }
          if (!principalNames.isEmpty()) {
              for (Principal p : principals) {
                  if (principalNames.contains(p.getName())) {
                      return true;
                  }
              }
          }
          return false;
      }
focal_method.class_method_signature: CugExcludeImpl.isExcluded(@NotNull Set<Principal> principals)
focal_method.full_signature: @Override public boolean isExcluded(@NotNull Set<Principal> principals)
focal_method.identifier: isExcluded
focal_method.invocations: isExcluded isEmpty contains getName
focal_method.modifiers: @Override public
focal_method.parameters: (@NotNull Set<Principal> principals)
focal_method.return: boolean
focal_method.signature: boolean isExcluded(@NotNull Set<Principal> principals)