docs: @Override
      public void validateTerms(Set<ValueIndexTerm> queryTerms) throws IllegalArgumentException {
          checkNotNullAndNotEmpty(queryTerms);
  
          checkInvalidAndRequiredTerms(queryTerms,
                                       NAME,
                                       new String[]{
                                               ResourceType.JAVA.toString(),
                                               null, null // not required
                                       },
                                       (t) -> (t.getTerm().equals(ResourceType.JAVA.toString())),
                                       (t) -> (t instanceof ValueModuleNameIndexTerm),
                                       (t) -> (t instanceof ValueBranchNameIndexTerm)
          );
      }