test_class.declarator: NAMES = new String[]{
              "management",
              "private",
              "public",
              "unsecure"
      }
test_class.modifier: private static final
test_class.original_string: private static final String[] NAMES = new String[]{
              "management",
              "private",
              "public",
              "unsecure"
      };
test_class.type: String[]
test_class.var_name: NAMES
test_class.declarator: resultProcessor
test_class.modifier: private
test_class.original_string: private ReadChildrenProcessor resultProcessor;
test_class.type: ReadChildrenProcessor
test_class.var_name: resultProcessor
test_class.declarator: nodes
test_class.modifier: private
test_class.original_string: private ModelNode nodes;
test_class.type: ModelNode
test_class.var_name: nodes
test_class.file: ballroom/src/test/java/org/jboss/hal/ballroom/autocomplete/NamesResultProcessorTest.java
test_class.identifier: NamesResultProcessorTest
test_case.body: @Test
      public void wildcardQuery() throws Exception {
          List<ReadChildrenResult> results = resultProcessor.processToModel("*", nodes);
          assertArrayEquals(NAMES, results.stream().map(result -> result.name).toArray(String[]::new));
      }
test_case.class_method_signature: NamesResultProcessorTest.wildcardQuery()
test_case.full_signature: @Test public void wildcardQuery()
test_case.identifier: wildcardQuery
test_case.invocations: processToModel assertArrayEquals toArray map stream
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void wildcardQuery()
focal_class.file: ballroom/src/main/java/org/jboss/hal/ballroom/autocomplete/NamesResultProcessor.java
focal_class.identifier: NamesResultProcessor
focal_class.interfaces: implements ResultProcessor
focal_class.class_method_signature: NamesResultProcessor.processToModel(final String query, final ModelNode nodes)
focal_class.full_signature: @Override protected List<ReadChildrenResult> processToModel(final String query, final ModelNode nodes)
focal_class.identifier: processToModel
focal_class.modifiers: @Override protected
focal_class.parameters: (final String query, final ModelNode nodes)
focal_class.return: List<ReadChildrenResult>
focal_class.signature: List<ReadChildrenResult> processToModel(final String query, final ModelNode nodes)
focal_class.class_method_signature: NamesResultProcessor.processToModel(final String query, final CompositeResult compositeResult)
focal_class.full_signature: @Override protected List<ReadChildrenResult> processToModel(final String query, final CompositeResult compositeResult)
focal_class.identifier: processToModel
focal_class.modifiers: @Override protected
focal_class.parameters: (final String query, final CompositeResult compositeResult)
focal_class.return: List<ReadChildrenResult>
focal_class.signature: List<ReadChildrenResult> processToModel(final String query, final CompositeResult compositeResult)
focal_class.superclass: extends ReadChildrenProcessor
focal_method.body: @Override
      protected List<ReadChildrenResult> processToModel(final String query, final ModelNode nodes) {
          return nodes.asList().stream()
                  .map(node -> new ReadChildrenResult(node.asString()))
                  .filter(result -> !isNullOrEmpty(query) &&
                          (SuggestHandler.SHOW_ALL_VALUE.equals(query) || result.name.contains(query)))
                  .sorted(Comparator.comparing(result -> result.name))
                  .collect(toList());
      }
focal_method.class_method_signature: NamesResultProcessor.processToModel(final String query, final ModelNode nodes)
focal_method.full_signature: @Override protected List<ReadChildrenResult> processToModel(final String query, final ModelNode nodes)
focal_method.identifier: processToModel
focal_method.invocations: collect sorted filter map stream asList asString isNullOrEmpty equals contains comparing toList
focal_method.modifiers: @Override protected
focal_method.parameters: (final String query, final ModelNode nodes)
focal_method.return: List<ReadChildrenResult>
focal_method.signature: List<ReadChildrenResult> processToModel(final String query, final ModelNode nodes)