docs: @Trivial
      Collection<String> getContextualMethods() {
          lock.readLock().lock();
          try {
              @SuppressWarnings("unchecked")
              Collection<String> contextualMethods = (Collection<String>) properties.get(CONTEXTUAL_METHODS);
              return contextualMethods;
          } finally {
              lock.readLock().unlock();
          }
      }