test_class.declarator: LOGGER = LoggerFactory.getLogger(JsonCndTest.class)
test_class.modifier: private static final
test_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(JsonCndTest.class);
test_class.type: Logger
test_class.var_name: LOGGER
test_class.declarator: resolver = new DefaultNamePathResolver(JsonCnd.BUILTIN_MAPPINGS)
test_class.modifier: private
test_class.original_string: private NamePathResolver resolver = new DefaultNamePathResolver(JsonCnd.BUILTIN_MAPPINGS);
test_class.type: NamePathResolver
test_class.var_name: resolver
test_class.declarator: NS_FOO_PREFIX = "foo"
test_class.modifier: private static final
test_class.original_string: private static final String NS_FOO_PREFIX = "foo";
test_class.type: String
test_class.var_name: NS_FOO_PREFIX
test_class.declarator: NS_BAR_PREFIX = "bar"
test_class.modifier: private static final
test_class.original_string: private static final String NS_BAR_PREFIX = "bar";
test_class.type: String
test_class.var_name: NS_BAR_PREFIX
test_class.declarator: NS_FOO_URI = "http://foo.com"
test_class.modifier: private static final
test_class.original_string: private static final String NS_FOO_URI = "http://foo.com";
test_class.type: String
test_class.var_name: NS_FOO_URI
test_class.declarator: NS_BAR_URI = "http://bar.com"
test_class.modifier: private static final
test_class.original_string: private static final String NS_BAR_URI = "http://bar.com";
test_class.type: String
test_class.var_name: NS_BAR_URI
test_class.declarator: ns = Arrays.asList(
              JcrNs.create(NS_BAR_PREFIX, NS_BAR_URI),
              JcrNs.create(NS_FOO_PREFIX, NS_FOO_URI)
      )
test_class.modifier: private static final
test_class.original_string: private static final List<JcrNs> ns = Arrays.asList(
              JcrNs.create(NS_BAR_PREFIX, NS_BAR_URI),
              JcrNs.create(NS_FOO_PREFIX, NS_FOO_URI)
      );
test_class.type: List<JcrNs>
test_class.var_name: ns
test_class.declarator: baseDir = new File("src/test/resources/JsonCndTest")
test_class.modifier: private static final
test_class.original_string: private static final File baseDir = new File("src/test/resources/JsonCndTest");
test_class.type: File
test_class.var_name: baseDir
test_class.file: core/src/test/java/net/adamcin/oakpal/core/JsonCndTest.java
test_class.identifier: JsonCndTest
test_case.body: @Test
      public void testReadNodeTypes() {
          List<URL> cnds = Stream.of("a", "b", "c", "d", "e", "f")
                  .map(letter -> new File(baseDir, letter + ".cnd"))
                  .map(compose1(File::toURI, uncheck1(URI::toURL)))
                  .collect(Collectors.toList());
  
          final List<Result<NodeTypeSet>> sets = JsonCnd.readNodeTypes(getMapping(), cnds);
          assertEquals("sets should have n sets", cnds.size(), sets.size());
          assertTrue("all are successful", sets.stream().allMatch(Result::isSuccess));
          assertTrue("all are successful", sets.stream()
                  .map(result -> result
                          .map(compose1(NodeTypeSet::getNodeTypes, Map::size))
                          .getOrDefault(0))
                  .allMatch(size -> size == 2));
  
          List<URL> cndsWithError = Stream.of("a", "b", "c", "error", "d", "e", "f")
                  .map(letter -> new File(baseDir, letter + ".cnd"))
                  .map(compose1(File::toURI, uncheck1(URI::toURL)))
                  .collect(Collectors.toList());
  
          final List<Result<NodeTypeSet>> setsWithError = JsonCnd.readNodeTypes(getMapping(), cndsWithError);
          assertEquals("setsWithError should have n sets", cndsWithError.size(), setsWithError.size());
          assertFalse("not all are successful", setsWithError.stream().allMatch(Result::isSuccess));
          assertEquals("setsWithError should have n successful sets", cndsWithError.size() - 1,
                  setsWithError.stream().filter(Result::isSuccess).count());
      }
test_case.class_method_signature: JsonCndTest.testReadNodeTypes()
test_case.full_signature: @Test public void testReadNodeTypes()
test_case.identifier: testReadNodeTypes
test_case.invocations: collect map map of compose1 uncheck1 toList readNodeTypes getMapping assertEquals size size assertTrue allMatch stream assertTrue allMatch map stream getOrDefault map compose1 collect map map of compose1 uncheck1 toList readNodeTypes getMapping assertEquals size size assertFalse allMatch stream assertEquals size count filter stream
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testReadNodeTypes()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(JsonCnd.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(JsonCnd.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: INITIAL_CONTENT = createInitialContent()
focal_class.modifier: static final
focal_class.original_string: static final NodeState INITIAL_CONTENT = createInitialContent();
focal_class.type: NodeState
focal_class.var_name: INITIAL_CONTENT
focal_class.declarator: BUILTIN_MAPPINGS = new NamespaceMapping(
              new RegistryNamespaceResolver(
                      new ReadOnlyNamespaceRegistry(
                              new ImmutableRoot(INITIAL_CONTENT))))
focal_class.modifier: public static final
focal_class.original_string: public static final NamespaceMapping BUILTIN_MAPPINGS = new NamespaceMapping(
              new RegistryNamespaceResolver(
                      new ReadOnlyNamespaceRegistry(
                              new ImmutableRoot(INITIAL_CONTENT))));
focal_class.type: NamespaceMapping
focal_class.var_name: BUILTIN_MAPPINGS
focal_class.declarator: BUILTIN_RESOLVER = new DefaultNamePathResolver(BUILTIN_MAPPINGS)
focal_class.modifier: static final
focal_class.original_string: static final NamePathResolver BUILTIN_RESOLVER = new DefaultNamePathResolver(BUILTIN_MAPPINGS);
focal_class.type: NamePathResolver
focal_class.var_name: BUILTIN_RESOLVER
focal_class.declarator: BUILTIN_NODETYPES = Collections.unmodifiableList(
              StreamSupport.stream(INITIAL_CONTENT
                      .getChildNode(JcrConstants.JCR_SYSTEM)
                      .getChildNode(NodeTypeConstants.JCR_NODE_TYPES)
                      .getChildNodeNames().spliterator(), false)
                      .collect(Collectors.toList()))
focal_class.modifier: public static final
focal_class.original_string: public static final List<String> BUILTIN_NODETYPES = Collections.unmodifiableList(
              StreamSupport.stream(INITIAL_CONTENT
                      .getChildNode(JcrConstants.JCR_SYSTEM)
                      .getChildNode(NodeTypeConstants.JCR_NODE_TYPES)
                      .getChildNodeNames().spliterator(), false)
                      .collect(Collectors.toList()));
focal_class.type: List<String>
focal_class.var_name: BUILTIN_NODETYPES
focal_class.declarator: BUILTIN_PRIVILEGES = Collections.unmodifiableList(
              Stream.concat(Stream.of(PrivilegeConstants.JCR_ALL),
                      Stream.concat(
                              PrivilegeConstants.NON_AGGREGATE_PRIVILEGES.stream(),
                              PrivilegeConstants.AGGREGATE_PRIVILEGES.keySet().stream()))
                      .collect(Collectors.toList()))
focal_class.modifier: public static final
focal_class.original_string: public static final List<String> BUILTIN_PRIVILEGES = Collections.unmodifiableList(
              Stream.concat(Stream.of(PrivilegeConstants.JCR_ALL),
                      Stream.concat(
                              PrivilegeConstants.NON_AGGREGATE_PRIVILEGES.stream(),
                              PrivilegeConstants.AGGREGATE_PRIVILEGES.keySet().stream()))
                      .collect(Collectors.toList()));
focal_class.type: List<String>
focal_class.var_name: BUILTIN_PRIVILEGES
focal_class.declarator: PRIVILEGE_KEY_ABSTRACT = "abstract"
focal_class.modifier: static final
focal_class.original_string: static final String PRIVILEGE_KEY_ABSTRACT = "abstract";
focal_class.type: String
focal_class.var_name: PRIVILEGE_KEY_ABSTRACT
focal_class.declarator: PRIVILEGE_KEY_CONTAINS = "contains"
focal_class.modifier: static final
focal_class.original_string: static final String PRIVILEGE_KEY_CONTAINS = "contains";
focal_class.type: String
focal_class.var_name: PRIVILEGE_KEY_CONTAINS
focal_class.declarator: TOKEN_RESIDUAL = "*"
focal_class.modifier: static final
focal_class.original_string: static final String TOKEN_RESIDUAL = "*";
focal_class.type: String
focal_class.var_name: TOKEN_RESIDUAL
focal_class.declarator: QNAME_RESIDUAL = NameFactoryImpl.getInstance().create(Name.NS_DEFAULT_URI, TOKEN_RESIDUAL)
focal_class.modifier: static final
focal_class.original_string: static final Name QNAME_RESIDUAL = NameFactoryImpl.getInstance().create(Name.NS_DEFAULT_URI, TOKEN_RESIDUAL);
focal_class.type: Name
focal_class.var_name: QNAME_RESIDUAL
focal_class.declarator: COMPARATOR_PUSH_RESIDUALS
focal_class.modifier: static final transient
focal_class.original_string: static final transient Comparator<String> COMPARATOR_PUSH_RESIDUALS;
focal_class.type: Comparator<String>
focal_class.var_name: COMPARATOR_PUSH_RESIDUALS
focal_class.declarator: UNKNOWN_TOKENS = {"?"}
focal_class.modifier: private static final
focal_class.original_string: private static final String[] UNKNOWN_TOKENS = {"?"};
focal_class.type: String[]
focal_class.var_name: UNKNOWN_TOKENS
focal_class.declarator: fullQueryOps = Arrays.asList(
              Lexer.QUEROPS_EQUAL,
              Lexer.QUEROPS_NOTEQUAL,
              Lexer.QUEROPS_LESSTHAN,
              Lexer.QUEROPS_LESSTHANOREQUAL,
              Lexer.QUEROPS_GREATERTHAN,
              Lexer.QUEROPS_GREATERTHANOREQUAL,
              Lexer.QUEROPS_LIKE)
focal_class.modifier: private static final
focal_class.original_string: private static final List<String> fullQueryOps = Arrays.asList(
              Lexer.QUEROPS_EQUAL,
              Lexer.QUEROPS_NOTEQUAL,
              Lexer.QUEROPS_LESSTHAN,
              Lexer.QUEROPS_LESSTHANOREQUAL,
              Lexer.QUEROPS_GREATERTHAN,
              Lexer.QUEROPS_GREATERTHANOREQUAL,
              Lexer.QUEROPS_LIKE);
focal_class.type: List<String>
focal_class.var_name: fullQueryOps
focal_class.file: core/src/main/java/net/adamcin/oakpal/core/JsonCnd.java
focal_class.identifier: JsonCnd
focal_class.class_method_signature: JsonCnd.createInitialContent()
focal_class.full_signature: private static NodeState createInitialContent()
focal_class.identifier: createInitialContent
focal_class.modifiers: private static
focal_class.parameters: ()
focal_class.return: NodeState
focal_class.signature: NodeState createInitialContent()
focal_class.class_method_signature: JsonCnd.JsonCnd()
focal_class.full_signature: private  JsonCnd()
focal_class.identifier: JsonCnd
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  JsonCnd()
focal_class.class_method_signature: JsonCnd.getQTypesFromJson(final @NotNull JsonObject json,
                        final @NotNull NamespaceMapping mapping)
focal_class.full_signature: @SuppressWarnings("WeakerAccess") public static List<QNodeTypeDefinition> getQTypesFromJson(final @NotNull JsonObject json,
                        final @NotNull NamespaceMapping mapping)
focal_class.identifier: getQTypesFromJson
focal_class.modifiers: @SuppressWarnings("WeakerAccess") public static
focal_class.parameters: (final @NotNull JsonObject json,
                        final @NotNull NamespaceMapping mapping)
focal_class.return: List<QNodeTypeDefinition>
focal_class.signature: List<QNodeTypeDefinition> getQTypesFromJson(final @NotNull JsonObject json,
                        final @NotNull NamespaceMapping mapping)
focal_class.class_method_signature: JsonCnd.getPrivilegesFromJson(final @NotNull JsonValue json,
                            final @NotNull NamespaceMapping mapping)
focal_class.full_signature: @SuppressWarnings("WeakerAccess") public static List<PrivilegeDefinition> getPrivilegesFromJson(final @NotNull JsonValue json,
                            final @NotNull NamespaceMapping mapping)
focal_class.identifier: getPrivilegesFromJson
focal_class.modifiers: @SuppressWarnings("WeakerAccess") public static
focal_class.parameters: (final @NotNull JsonValue json,
                            final @NotNull NamespaceMapping mapping)
focal_class.return: List<PrivilegeDefinition>
focal_class.signature: List<PrivilegeDefinition> getPrivilegesFromJson(final @NotNull JsonValue json,
                            final @NotNull NamespaceMapping mapping)
focal_class.class_method_signature: JsonCnd.toJson(final @NotNull List<QNodeTypeDefinition> ntDefs,
                                      final @NotNull NamespaceMapping mapping)
focal_class.full_signature: public static JsonObject toJson(final @NotNull List<QNodeTypeDefinition> ntDefs,
                                      final @NotNull NamespaceMapping mapping)
focal_class.identifier: toJson
focal_class.modifiers: public static
focal_class.parameters: (final @NotNull List<QNodeTypeDefinition> ntDefs,
                                      final @NotNull NamespaceMapping mapping)
focal_class.return: JsonObject
focal_class.signature: JsonObject toJson(final @NotNull List<QNodeTypeDefinition> ntDefs,
                                      final @NotNull NamespaceMapping mapping)
focal_class.class_method_signature: JsonCnd.privilegesToJson(final @NotNull List<PrivilegeDefinition> privDefs,
                                               final @NotNull NamespaceMapping mapping)
focal_class.full_signature: public static JsonValue privilegesToJson(final @NotNull List<PrivilegeDefinition> privDefs,
                                               final @NotNull NamespaceMapping mapping)
focal_class.identifier: privilegesToJson
focal_class.modifiers: public static
focal_class.parameters: (final @NotNull List<PrivilegeDefinition> privDefs,
                                               final @NotNull NamespaceMapping mapping)
focal_class.return: JsonValue
focal_class.signature: JsonValue privilegesToJson(final @NotNull List<PrivilegeDefinition> privDefs,
                                               final @NotNull NamespaceMapping mapping)
focal_class.class_method_signature: JsonCnd.toJcrNsList(final @NotNull NamespaceMapping mapping,
                                            final @NotNull NamespaceMappingRequest request)
focal_class.full_signature: public static List<JcrNs> toJcrNsList(final @NotNull NamespaceMapping mapping,
                                            final @NotNull NamespaceMappingRequest request)
focal_class.identifier: toJcrNsList
focal_class.modifiers: public static
focal_class.parameters: (final @NotNull NamespaceMapping mapping,
                                            final @NotNull NamespaceMappingRequest request)
focal_class.return: List<JcrNs>
focal_class.signature: List<JcrNs> toJcrNsList(final @NotNull NamespaceMapping mapping,
                                            final @NotNull NamespaceMappingRequest request)
focal_class.class_method_signature: JsonCnd.adaptToQ(final @NotNull Session session)
focal_class.full_signature: public static Function<NodeTypeDefinition, QNodeTypeDefinition> adaptToQ(final @NotNull Session session)
focal_class.identifier: adaptToQ
focal_class.modifiers: public static
focal_class.parameters: (final @NotNull Session session)
focal_class.return: Function<NodeTypeDefinition, QNodeTypeDefinition>
focal_class.signature: Function<NodeTypeDefinition, QNodeTypeDefinition> adaptToQ(final @NotNull Session session)
focal_class.class_method_signature: JsonCnd.namedBy(final @NotNull QNodeTypeDefinition def)
focal_class.full_signature: public static Stream<Name> namedBy(final @NotNull QNodeTypeDefinition def)
focal_class.identifier: namedBy
focal_class.modifiers: public static
focal_class.parameters: (final @NotNull QNodeTypeDefinition def)
focal_class.return: Stream<Name>
focal_class.signature: Stream<Name> namedBy(final @NotNull QNodeTypeDefinition def)
focal_class.class_method_signature: JsonCnd.namedBy(final @NotNull PrivilegeDefinition def)
focal_class.full_signature: public static Stream<Name> namedBy(final @NotNull PrivilegeDefinition def)
focal_class.identifier: namedBy
focal_class.modifiers: public static
focal_class.parameters: (final @NotNull PrivilegeDefinition def)
focal_class.return: Stream<Name>
focal_class.signature: Stream<Name> namedBy(final @NotNull PrivilegeDefinition def)
focal_class.class_method_signature: JsonCnd.toNamespaceMapping(final List<JcrNs> jcrNsList)
focal_class.full_signature: public static NamespaceMapping toNamespaceMapping(final List<JcrNs> jcrNsList)
focal_class.identifier: toNamespaceMapping
focal_class.modifiers: public static
focal_class.parameters: (final List<JcrNs> jcrNsList)
focal_class.return: NamespaceMapping
focal_class.signature: NamespaceMapping toNamespaceMapping(final List<JcrNs> jcrNsList)
focal_class.class_method_signature: JsonCnd.jcrNameOrResidual(final @NotNull NamePathResolver resolver)
focal_class.full_signature: static Fun.ThrowingFunction<Name, String> jcrNameOrResidual(final @NotNull NamePathResolver resolver)
focal_class.identifier: jcrNameOrResidual
focal_class.modifiers: static
focal_class.parameters: (final @NotNull NamePathResolver resolver)
focal_class.return: Fun.ThrowingFunction<Name, String>
focal_class.signature: Fun.ThrowingFunction<Name, String> jcrNameOrResidual(final @NotNull NamePathResolver resolver)
focal_class.class_method_signature: JsonCnd.qNameOrResidual(final @NotNull NamePathResolver resolver)
focal_class.full_signature: static Fun.ThrowingFunction<String, Name> qNameOrResidual(final @NotNull NamePathResolver resolver)
focal_class.identifier: qNameOrResidual
focal_class.modifiers: static
focal_class.parameters: (final @NotNull NamePathResolver resolver)
focal_class.return: Fun.ThrowingFunction<String, Name>
focal_class.signature: Fun.ThrowingFunction<String, Name> qNameOrResidual(final @NotNull NamePathResolver resolver)
focal_class.class_method_signature: JsonCnd.nodeTypeDefinitionMapper(final @NotNull NamePathResolver resolver)
focal_class.full_signature: @SuppressWarnings("WeakerAccess") static Fun.ThrowingBiFunction<String, JsonObject, QNodeTypeDefinition> nodeTypeDefinitionMapper(final @NotNull NamePathResolver resolver)
focal_class.identifier: nodeTypeDefinitionMapper
focal_class.modifiers: @SuppressWarnings("WeakerAccess") static
focal_class.parameters: (final @NotNull NamePathResolver resolver)
focal_class.return: Fun.ThrowingBiFunction<String, JsonObject, QNodeTypeDefinition>
focal_class.signature: Fun.ThrowingBiFunction<String, JsonObject, QNodeTypeDefinition> nodeTypeDefinitionMapper(final @NotNull NamePathResolver resolver)
focal_class.class_method_signature: JsonCnd.qDefinitionMapper(final @NotNull NamespaceMapping mapping)
focal_class.full_signature: @SuppressWarnings("WeakerAccess") static Fun.ThrowingBiFunction<String, JsonObject, QNodeTypeDefinition> qDefinitionMapper(final @NotNull NamespaceMapping mapping)
focal_class.identifier: qDefinitionMapper
focal_class.modifiers: @SuppressWarnings("WeakerAccess") static
focal_class.parameters: (final @NotNull NamespaceMapping mapping)
focal_class.return: Fun.ThrowingBiFunction<String, JsonObject, QNodeTypeDefinition>
focal_class.signature: Fun.ThrowingBiFunction<String, JsonObject, QNodeTypeDefinition> qDefinitionMapper(final @NotNull NamespaceMapping mapping)
focal_class.class_method_signature: JsonCnd.privDefinitionMapper(final @NotNull NamespaceMapping mapping)
focal_class.full_signature: @SuppressWarnings("WeakerAccess") static Fun.ThrowingBiFunction<String, JsonObject, PrivilegeDefinition> privDefinitionMapper(final @NotNull NamespaceMapping mapping)
focal_class.identifier: privDefinitionMapper
focal_class.modifiers: @SuppressWarnings("WeakerAccess") static
focal_class.parameters: (final @NotNull NamespaceMapping mapping)
focal_class.return: Fun.ThrowingBiFunction<String, JsonObject, PrivilegeDefinition>
focal_class.signature: Fun.ThrowingBiFunction<String, JsonObject, PrivilegeDefinition> privDefinitionMapper(final @NotNull NamespaceMapping mapping)
focal_class.class_method_signature: JsonCnd.qValueString(final @NotNull QValue qValue,
                                 final @NotNull NamePathResolver resolver)
focal_class.full_signature: static String qValueString(final @NotNull QValue qValue,
                                 final @NotNull NamePathResolver resolver)
focal_class.identifier: qValueString
focal_class.modifiers: static
focal_class.parameters: (final @NotNull QValue qValue,
                                 final @NotNull NamePathResolver resolver)
focal_class.return: String
focal_class.signature: String qValueString(final @NotNull QValue qValue,
                                 final @NotNull NamePathResolver resolver)
focal_class.class_method_signature: JsonCnd.streamNsPrefix(final @NotNull String name)
focal_class.full_signature: public static @NotNull Stream<String> streamNsPrefix(final @NotNull String name)
focal_class.identifier: streamNsPrefix
focal_class.modifiers: public static @NotNull
focal_class.parameters: (final @NotNull String name)
focal_class.return: Stream<String>
focal_class.signature: Stream<String> streamNsPrefix(final @NotNull String name)
focal_class.class_method_signature: JsonCnd.readNodeTypes(final @NotNull NamespaceMapping mapping,
                                                            final @NotNull List<URL> cndUrls)
focal_class.full_signature: public static List<Result<NodeTypeSet>> readNodeTypes(final @NotNull NamespaceMapping mapping,
                                                            final @NotNull List<URL> cndUrls)
focal_class.identifier: readNodeTypes
focal_class.modifiers: public static
focal_class.parameters: (final @NotNull NamespaceMapping mapping,
                                                            final @NotNull List<URL> cndUrls)
focal_class.return: List<Result<NodeTypeSet>>
focal_class.signature: List<Result<NodeTypeSet>> readNodeTypes(final @NotNull NamespaceMapping mapping,
                                                            final @NotNull List<URL> cndUrls)
focal_class.class_method_signature: JsonCnd.aggregateNodeTypes(final @NotNull NamespaceMapping mapping,
                                                   final @NotNull List<NodeTypeSet> nodeTypeSets)
focal_class.full_signature: public static NodeTypeSet aggregateNodeTypes(final @NotNull NamespaceMapping mapping,
                                                   final @NotNull List<NodeTypeSet> nodeTypeSets)
focal_class.identifier: aggregateNodeTypes
focal_class.modifiers: public static
focal_class.parameters: (final @NotNull NamespaceMapping mapping,
                                                   final @NotNull List<NodeTypeSet> nodeTypeSets)
focal_class.return: NodeTypeSet
focal_class.signature: NodeTypeSet aggregateNodeTypes(final @NotNull NamespaceMapping mapping,
                                                   final @NotNull List<NodeTypeSet> nodeTypeSets)
focal_class.class_method_signature: JsonCnd.internalReadAllTo(final @NotNull NamePathResolver resolver,
                        final @NotNull B builder,
                        final @NotNull JsonValue parentValue,
                        final @NotNull K[] tokens)
focal_class.full_signature: static void internalReadAllTo(final @NotNull NamePathResolver resolver,
                        final @NotNull B builder,
                        final @NotNull JsonValue parentValue,
                        final @NotNull K[] tokens)
focal_class.identifier: internalReadAllTo
focal_class.modifiers: static
focal_class.parameters: (final @NotNull NamePathResolver resolver,
                        final @NotNull B builder,
                        final @NotNull JsonValue parentValue,
                        final @NotNull K[] tokens)
focal_class.return: void
focal_class.signature: void internalReadAllTo(final @NotNull NamePathResolver resolver,
                        final @NotNull B builder,
                        final @NotNull JsonValue parentValue,
                        final @NotNull K[] tokens)
focal_class.class_method_signature: JsonCnd.internalJsonContainsAnyLexToken(final @NotNull JsonObject json)
focal_class.full_signature: private static Predicate<K> internalJsonContainsAnyLexToken(final @NotNull JsonObject json)
focal_class.identifier: internalJsonContainsAnyLexToken
focal_class.modifiers: private static
focal_class.parameters: (final @NotNull JsonObject json)
focal_class.return: Predicate<K>
focal_class.signature: Predicate<K> internalJsonContainsAnyLexToken(final @NotNull JsonObject json)
focal_class.class_method_signature: JsonCnd.internalJsonLookupByAnyLexToken(final @NotNull K key, final @NotNull JsonObject json)
focal_class.full_signature: private static JsonValue internalJsonLookupByAnyLexToken(final @NotNull K key, final @NotNull JsonObject json)
focal_class.identifier: internalJsonLookupByAnyLexToken
focal_class.modifiers: private static
focal_class.parameters: (final @NotNull K key, final @NotNull JsonObject json)
focal_class.return: JsonValue
focal_class.signature: JsonValue internalJsonLookupByAnyLexToken(final @NotNull K key, final @NotNull JsonObject json)
focal_class.class_method_signature: JsonCnd.internalWriteAllJson(final @NotNull D def,
                           final @NotNull NamePathResolver resolver,
                           final @NotNull K[] tokens)
focal_class.full_signature: static JsonValue internalWriteAllJson(final @NotNull D def,
                           final @NotNull NamePathResolver resolver,
                           final @NotNull K[] tokens)
focal_class.identifier: internalWriteAllJson
focal_class.modifiers: static
focal_class.parameters: (final @NotNull D def,
                           final @NotNull NamePathResolver resolver,
                           final @NotNull K[] tokens)
focal_class.return: JsonValue
focal_class.signature: JsonValue internalWriteAllJson(final @NotNull D def,
                           final @NotNull NamePathResolver resolver,
                           final @NotNull K[] tokens)
focal_class.class_method_signature: JsonCnd.normalizeQueryOperators(final @NotNull String[] candidates)
focal_class.full_signature: private static Stream<String> normalizeQueryOperators(final @NotNull String[] candidates)
focal_class.identifier: normalizeQueryOperators
focal_class.modifiers: private static
focal_class.parameters: (final @NotNull String[] candidates)
focal_class.return: Stream<String>
focal_class.signature: Stream<String> normalizeQueryOperators(final @NotNull String[] candidates)
focal_method.body: public static List<Result<NodeTypeSet>> readNodeTypes(final @NotNull NamespaceMapping mapping,
                                                            final @NotNull List<URL> cndUrls) {
          final List<Result<NodeTypeSet>> results = new ArrayList<>();
          for (URL cndUrl : cndUrls) {
              final CNDReader cndReader = new DefaultCNDReader();
              try (Reader reader = new InputStreamReader(cndUrl.openStream(), StandardCharsets.UTF_8)) {
                  cndReader.read(reader, cndUrl.toExternalForm(), mapping);
                  results.add(Result.success(cndReader));
              } catch (IOException e) {
                  results.add(Result.failure(new RuntimeException(cndUrl.toExternalForm(), e)));
              }
          }
          return results;
      }
focal_method.class_method_signature: JsonCnd.readNodeTypes(final @NotNull NamespaceMapping mapping,
                                                            final @NotNull List<URL> cndUrls)
focal_method.full_signature: public static List<Result<NodeTypeSet>> readNodeTypes(final @NotNull NamespaceMapping mapping,
                                                            final @NotNull List<URL> cndUrls)
focal_method.identifier: readNodeTypes
focal_method.invocations: openStream read toExternalForm add success add failure toExternalForm
focal_method.modifiers: public static
focal_method.parameters: (final @NotNull NamespaceMapping mapping,
                                                            final @NotNull List<URL> cndUrls)
focal_method.return: List<Result<NodeTypeSet>>
focal_method.signature: List<Result<NodeTypeSet>> readNodeTypes(final @NotNull NamespaceMapping mapping,
                                                            final @NotNull List<URL> cndUrls)