code: public ResourceAddress resolve(StatementContext context, List<String> wildcards) {
          Resolution<ModelNode> resolution = new Resolution<ModelNode>() {
               private ModelNode modelNode;
  
               @Override
               public void init() {
                   this.modelNode = new ModelNode();
               }
  
               @Override
               public void addKeyValue(String key, String value) {
                   this.modelNode.add(key, value);
               }
  
               @Override
               public ModelNode getResult() {
                   return modelNode;
               }
           };
  
           _resolve(context, wildcards, resolution);
  
           return new ResourceAddress(resolution.getResult());
      }
docs: ------------------------------------------------------ resolve