Examples of resolve()


Examples of com.fasterxml.jackson.databind.deser.impl.ReadableObjectId.resolve()

    protected Object _deserializeFromObjectId(JsonParser jp, DeserializationContext ctxt) throws IOException
    {
        Object id = _objectIdReader.readObjectReference(jp, ctxt);
        ReadableObjectId roid = ctxt.findObjectId(id, _objectIdReader.generator, _objectIdReader.resolver);
        // do we have it resolved?
        Object pojo = roid.resolve();
        if (pojo == null) { // not yet; should wait...
            throw new UnresolvedForwardReference("Could not resolve Object Id ["+id+"] -- unresolved forward-reference?", jp.getCurrentLocation(), roid);
        }
        return pojo;
    }
View Full Code Here

Examples of com.foreach.across.core.installers.InstallerActionResolver.resolve()

      // Fetch actions for known installers
      Object groupRule = new Object();
      String installerRule = "installerRule";

      // In these cases the priority resolver should decide
      when( priorityResolver.resolve( "skipOne", groupRule ) ).thenReturn( InstallerAction.REGISTER );
      when( priorityResolver.resolve( "registerOne", groupRule ) ).thenReturn( InstallerAction.SKIP );
      when( priorityResolver.resolve( "disabled", installerRule ) ).thenReturn( InstallerAction.EXECUTE );

      // Priority resolver action
      assertEquals( InstallerAction.REGISTER, settings.shouldRun( "skipOne", groupRule ) );
View Full Code Here

Examples of com.github.dynamicextensionsalfresco.webscripts.resolutions.Resolution.resolve()

                    model.putAll(templateResolution.getModel());
                }
                templateResolution.setModel(model);
            }

            resolution.resolve(request, response,
                new DefaultResolutionParameters(handlerMethods.getUriMethod(), description, handler)
            );
        }
    }
View Full Code Here

Examples of com.google.dart.engine.internal.resolver.IncrementalResolver.resolve()

          IncrementalResolver resolver = new IncrementalResolver(
              library,
              cache.getSource(),
              typeProvider,
              errorListener);
          resolver.resolve(parser.getUpdatedNode());
        }
      }
    }
  }
View Full Code Here

Examples of com.google.gerrit.server.git.ProjectConfig.resolve()

      AccessSection section =
          config.getAccessSection(AccessSection.GLOBAL_CAPABILITIES, true);
      Permission capability =
          section.getPermission(GlobalCapability.EMAIL_REVIEWERS, true);
      for (GroupReference group : groups) {
        capability.getRule(config.resolve(group), true).setDeny();
      }

      md.setMessage("Upgrade to Gerrit Code Review schema 64\n");
      config.commit(md);
    } catch (IOException e) {
View Full Code Here

Examples of com.google.gwt.dev.jjs.ast.JMethod.Specialization.resolve()

          + specialization.getTargetSignature(method) + " for method " + method.getSignature());
      return;
    }

    flowInto(targetMethod);
    specialization.resolve(resolvedParams, resolvedReturn, targetMethod);
  }

  private String getMethodTypeSignature(JMethod method) {
    return method.getEnclosingType().getName() + '.' + method.getSignature();
  }
View Full Code Here

Examples of com.google.gwt.dev.js.ast.JsNameRef.resolve()

              JNode node = jsniMap.get(ident);
              assert node instanceof JConstructor;
              assert ref.getQualifier() == null;
              JsName jsName = names.get(node);
              assert (jsName != null);
              ref.resolve(jsName);
              JsNew jsNew = new JsNew(x.getSourceInfo(), ref);
              jsNew.getArguments().addAll(x.getArguments());
              ctx.replaceMe(jsNew);
            }
          }
View Full Code Here

Examples of com.hp.hpl.jena.n3.IRIResolver.resolve()

   

    private void execTest(String u, String base, String result)
    {
        IRIResolver resolver = new IRIResolver(base) ;
        String res = resolver.resolve(u) ;

        if (result == null )
        {
            assertNull("("+u+","+base+") => <null> :: Got: "+res, res) ;
            return ;
View Full Code Here

Examples of com.intellij.openapi.paths.PathReference.resolve()

    combinedModel.processActions(new Processor<Action>() {
      public boolean process(final Action action) {
        for (final Result result : action.getResults()) {
          final PathReference pathReference = result.getValue();
          if (pathReference != null) {
            final PsiElement psiElement = pathReference.resolve();
            if (psiElement != null && psiElement.equals(sourceFile)) {
              String namespace = action.getNamespace();
              if (!Comparing.equal(namespace, StrutsPackage.DEFAULT_NAMESPACE)) {
                namespace += "/";
              }
View Full Code Here

Examples of com.intellij.plugins.haxe.lang.psi.HaxeReferenceExpression.resolve()

  @Override
  public void visitType(@NotNull HaxeType type) {
    super.visitType(type);
    final HaxeReferenceExpression expression = type.getReferenceExpression();
    if (expression.resolve() != null) {
      return;
    }

    tryCreateAnnotation(expression);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.