test_class.declarator: GROUP_LONG_MAX = "groupLongMax"
test_class.modifier: private final
test_class.original_string: private final String GROUP_LONG_MAX = "groupLongMax";
test_class.type: String
test_class.var_name: GROUP_LONG_MAX
test_class.declarator: GROUP_LONG_MAX_MINUS_10 = "groupLongMaxMinus10"
test_class.modifier: private final
test_class.original_string: private final String GROUP_LONG_MAX_MINUS_10 = "groupLongMaxMinus10";
test_class.type: String
test_class.var_name: GROUP_LONG_MAX_MINUS_10
test_class.declarator: GROUP_50 = "group50"
test_class.modifier: private final
test_class.original_string: private final String GROUP_50 = "group50";
test_class.type: String
test_class.var_name: GROUP_50
test_class.file: oak-core/src/test/java/org/apache/jackrabbit/oak/security/authorization/permission/PermissionEntryProviderImplTest.java
test_class.identifier: PermissionEntryProviderImplTest
test_case.body: @Test
      public void testNoExistingName() throws Exception {
          MockPermissionStore store = new MockPermissionStore();
          Set<String> principalNames = Sets.newHashSet("noEntries", "noEntries2", "noEntries3");
  
          PermissionEntryProviderImpl provider = new PermissionEntryProviderImpl(store, principalNames, ConfigurationParameters.EMPTY);
          assertFalse(getBooleanField(provider, "noExistingNames"));
  
          // force init
          provider.getEntryIterator(EntryPredicate.create());
          assertTrue(getBooleanField(provider, "noExistingNames"));
      }
test_case.class_method_signature: PermissionEntryProviderImplTest.testNoExistingName()
test_case.full_signature: @Test public void testNoExistingName()
test_case.identifier: testNoExistingName
test_case.invocations: newHashSet assertFalse getBooleanField getEntryIterator create assertTrue getBooleanField
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testNoExistingName()
focal_class.declarator: principalNames
focal_class.modifier: private final
focal_class.original_string: private final Set<String> principalNames;
focal_class.type: Set<String>
focal_class.var_name: principalNames
focal_class.declarator: store
focal_class.modifier: private final
focal_class.original_string: private final PermissionStore store;
focal_class.type: PermissionStore
focal_class.var_name: store
focal_class.declarator: options
focal_class.modifier: private final
focal_class.original_string: private final ConfigurationParameters options;
focal_class.type: ConfigurationParameters
focal_class.var_name: options
focal_class.declarator: noExistingNames
focal_class.modifier: private
focal_class.original_string: private boolean noExistingNames;
focal_class.type: boolean
focal_class.var_name: noExistingNames
focal_class.declarator: initialized = false
focal_class.modifier: private
focal_class.original_string: private boolean initialized = false;
focal_class.type: boolean
focal_class.var_name: initialized
focal_class.declarator: isRefreshed = false
focal_class.modifier: private
focal_class.original_string: private boolean isRefreshed = false;
focal_class.type: boolean
focal_class.var_name: isRefreshed
focal_class.declarator: permissionCache
focal_class.modifier: private
focal_class.original_string: private PermissionCache permissionCache;
focal_class.type: PermissionCache
focal_class.var_name: permissionCache
focal_class.file: oak-core/src/main/java/org/apache/jackrabbit/oak/security/authorization/permission/PermissionEntryProviderImpl.java
focal_class.identifier: PermissionEntryProviderImpl
focal_class.interfaces: implements PermissionEntryProvider
focal_class.class_method_signature: PermissionEntryProviderImpl.PermissionEntryProviderImpl(@NotNull PermissionStore store, @NotNull Set<String> principalNames, @NotNull ConfigurationParameters options)
focal_class.full_signature:   PermissionEntryProviderImpl(@NotNull PermissionStore store, @NotNull Set<String> principalNames, @NotNull ConfigurationParameters options)
focal_class.identifier: PermissionEntryProviderImpl
focal_class.parameters: (@NotNull PermissionStore store, @NotNull Set<String> principalNames, @NotNull ConfigurationParameters options)
focal_class.signature:  PermissionEntryProviderImpl(@NotNull PermissionStore store, @NotNull Set<String> principalNames, @NotNull ConfigurationParameters options)
focal_class.class_method_signature: PermissionEntryProviderImpl.init()
focal_class.full_signature: private void init()
focal_class.identifier: init
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void init()
focal_class.class_method_signature: PermissionEntryProviderImpl.flush()
focal_class.full_signature: @Override public void flush()
focal_class.identifier: flush
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void flush()
focal_class.class_method_signature: PermissionEntryProviderImpl.getEntryIterator(@NotNull EntryPredicate predicate)
focal_class.full_signature: @Override @NotNull public Iterator<PermissionEntry> getEntryIterator(@NotNull EntryPredicate predicate)
focal_class.identifier: getEntryIterator
focal_class.modifiers: @Override @NotNull public
focal_class.parameters: (@NotNull EntryPredicate predicate)
focal_class.return: Iterator<PermissionEntry>
focal_class.signature: Iterator<PermissionEntry> getEntryIterator(@NotNull EntryPredicate predicate)
focal_class.class_method_signature: PermissionEntryProviderImpl.getEntries(@NotNull Tree accessControlledTree)
focal_class.full_signature: @Override @NotNull public Collection<PermissionEntry> getEntries(@NotNull Tree accessControlledTree)
focal_class.identifier: getEntries
focal_class.modifiers: @Override @NotNull public
focal_class.parameters: (@NotNull Tree accessControlledTree)
focal_class.return: Collection<PermissionEntry>
focal_class.signature: Collection<PermissionEntry> getEntries(@NotNull Tree accessControlledTree)
focal_method.body: @Override
      @NotNull
      public Iterator<PermissionEntry> getEntryIterator(@NotNull EntryPredicate predicate) {
          init();
          if (noExistingNames) {
              return Collections.emptyIterator();
          } else {
              return new EntryIterator(predicate);
          }
      }
focal_method.class_method_signature: PermissionEntryProviderImpl.getEntryIterator(@NotNull EntryPredicate predicate)
focal_method.full_signature: @Override @NotNull public Iterator<PermissionEntry> getEntryIterator(@NotNull EntryPredicate predicate)
focal_method.identifier: getEntryIterator
focal_method.invocations: init emptyIterator
focal_method.modifiers: @Override @NotNull public
focal_method.parameters: (@NotNull EntryPredicate predicate)
focal_method.return: Iterator<PermissionEntry>
focal_method.signature: Iterator<PermissionEntry> getEntryIterator(@NotNull EntryPredicate predicate)