Examples of methodName()


Examples of com.bj58.spat.gaea.server.contract.annotation.OperationContract.methodName()

    String methodName = "";
    OperationContract oc = mi.getMethod().getAnnotation(OperationContract.class);
    if(oc == null) {
      methodName = mi.getMethod().getName();
    } else {
      if(!oc.methodName().equalsIgnoreCase(AnnotationUtil.DEFAULT_VALUE)) {
        methodName = oc.methodName();
      } else {
        methodName = mi.getMethod().getName();
      }
    }
View Full Code Here

Examples of com.carma.swagger.doclet.translator.NameBasedTranslator.methodName()

            if (method.isStatic() || method.isPrivate() || method.name().charAt(0) == '_') {
              continue;
            }

            // we tie getters and their corresponding methods together via this rawFieldName
            String rawFieldName = nameTranslator.methodName(method).value();

            String translatedNameViaMethod = this.translator.methodName(method).value();

            if (translatedNameViaMethod != null) {
View Full Code Here

Examples of com.opensymphony.xwork2.interceptor.annotations.InputConfig.methodName()

     */
    protected String processInputConfig(final Object action, final String method, final String currentResultName) throws Exception {
        String resultName = currentResultName;
        InputConfig annotation = action.getClass().getMethod(method, EMPTY_CLASS_ARRAY).getAnnotation(InputConfig.class);
        if (annotation != null) {
            if (!annotation.methodName().equals("")) {
                Method m = action.getClass().getMethod(annotation.methodName());
                resultName = (String) m.invoke(action);
            } else {
                resultName = annotation.resultName();
            }
View Full Code Here

Examples of com.sencha.gxt.core.client.XTemplates.TemplateCondition.methodName()

    if (method == null) {
      logger.log(Type.ERROR, "Method with name " + name + " not registered in this template");
      throw new UnableToCompleteException();
    }

    String methodName = method.methodName();
   
    //Commenting this out until we have a use case for it, and proper documentation
//    if (target == null) {
//      target = String.format("GWT.<%1$s>create(%1$s)", method.type().getName());
//    }
View Full Code Here

Examples of javassist.bytecode.EnclosingMethodAttribute.methodName()

        EnclosingMethodAttribute ema
                = (EnclosingMethodAttribute)cf.getAttribute(
                                                EnclosingMethodAttribute.tag);
        if (ema != null) {
            CtClass enc = classPool.get(ema.className());
            return enc.getMethod(ema.methodName(), ema.methodDescriptor());
        }

        return null;
    }
View Full Code Here

Examples of org.destecs.core.xmlrpc.extensions.RpcMethod.methodName()

               
                RpcMethod annotation =  pMethod.getAnnotation(RpcMethod.class);
             
                if(annotation!=null)
                {
                  methodName = annotation.methodName();
                }else if (pRemoteName == null  ||  pRemoteName.length() == 0) {
                  methodName = pMethod.getName();
                } else {
                  methodName = pRemoteName + "." + pMethod.getName();
                }
View Full Code Here

Examples of org.jboss.forge.furnace.proxy.javassist.bytecode.EnclosingMethodAttribute.methodName()

        EnclosingMethodAttribute ema
                = (EnclosingMethodAttribute)cf.getAttribute(
                                                EnclosingMethodAttribute.tag);
        if (ema != null) {
            CtClass enc = classPool.get(ema.className());
            return enc.getMethod(ema.methodName(), ema.methodDescriptor());
        }

        return null;
    }
View Full Code Here

Examples of org.mojavemvc.core.ActionSignature.methodName()

        assertEquals(TestHttpMethodController3.class, db.getControllerClass("TestHttpMethodController3"));

        ActionSignature sig = db.getHttpMethodActionSignature(TestHttpMethodController3.class, HttpMethod.GET);
        assertNotNull(sig);
        assertTrue(sig instanceof HttpMethodActionSignature);
        assertEquals("multiAction", sig.methodName());

        List<Class<?>> interceptors = db.getInterceptorsForHttpMethodAction(TestHttpMethodController3.class,
                HttpMethod.GET);
        assertNotNull(interceptors);
        assertEquals(2, interceptors.size());
View Full Code Here

Examples of org.mojavemvc.core.ActionSignature.methodName()

        assertEquals(Interceptor2.class, interceptors.get(1));

        sig = db.getHttpMethodActionSignature(TestHttpMethodController3.class, HttpMethod.POST);
        assertNotNull(sig);
        assertTrue(sig instanceof HttpMethodActionSignature);
        assertEquals("multiAction", sig.methodName());

        interceptors = db.getInterceptorsForHttpMethodAction(TestHttpMethodController3.class, HttpMethod.POST);
        assertNotNull(interceptors);
        assertEquals(2, interceptors.size());
        assertEquals(Interceptor1.class, interceptors.get(0));
View Full Code Here

Examples of org.mojavemvc.core.ActionSignature.methodName()

        assertEquals(Interceptor2.class, interceptors.get(1));

        sig = db.getHttpMethodActionSignature(TestHttpMethodController3.class, HttpMethod.PUT);
        assertNotNull(sig);
        assertTrue(sig instanceof HttpMethodActionSignature);
        assertEquals("multiAction", sig.methodName());

        interceptors = db.getInterceptorsForHttpMethodAction(TestHttpMethodController3.class, HttpMethod.PUT);
        assertNotNull(interceptors);
        assertEquals(2, interceptors.size());
        assertEquals(Interceptor1.class, interceptors.get(0));
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.