Examples of signature()


Examples of ca.weblite.objc.annotations.Msg.signature()

       
        Pointer selector = new Pointer(lselector);
        Method method = methodForSelector(selName(selector));
        if ( method != null){
            Msg message = (Msg)method.getAnnotation(Msg.class);
            if ( !"".equals(message.signature()) ){
                long res =  PointerTool.getPeer(
                        msgPointer(cls("NSMethodSignature"), "signatureWithObjCTypes:", message.signature())
                );
                return res;
            } else if ( !"".equals(message.like())){
View Full Code Here

Examples of com.guokr.simbase.SimCommand.signature()

                ServerCallback root = new ServerCallback(reqs.length(), cb);
                for (final SimRequest request : reqs) {
                    SimCallback callback = new PipedCallback(order++, root);
                    try {
                        SimCommand command = registry.get(request.name());
                        String sig = command.signature();
                        switch (sig.length()) {
                        case 0:
                            command.invoke(engine, callback);
                            break;
                        case 1:
View Full Code Here

Examples of com.headius.invokebinder.SmartHandle.signature()

            }

            // wrap with framing logic if needed
            if (!callConfig.isNoop()) {
                directCall = SmartHandle
                        .from(directCall.signature(), InvocationLinker.wrapWithFraming(directCall.signature(), callConfig, implementationClass, rubyName, directCall.handle(), scope));
            }

            // provide a variable-arity path for specific-arity target
            SmartHandle variableCall;
            if (specificArity >= 0) {
View Full Code Here

Examples of com.sun.javadoc.ExecutableMemberDoc.signature()

      if (!pkg.startsWith("java.")) {
        return;
      }
      String clazz = enclosing.name();
      String method = execMemberDoc.name();
      String sig = execMemberDoc.signature();

      jreLink += pkg.replace('.', '/') + "/";
      jreLink += clazz;
      jreLink += ".html";
      jreLink += "#";
View Full Code Here

Examples of com.sun.javadoc.MethodDoc.signature()

        for (int methodIndex = 0; methodIndex < intfMethodDocs.length; ++methodIndex) {
          MethodDoc intfMethodDoc = intfMethodDocs[methodIndex];
          String methodDocName = methodDoc.name();
          String intfMethodDocName = intfMethodDoc.name();
          if (methodDocName.equals(intfMethodDocName)) {
            if (methodDoc.signature().equals(intfMethodDoc.signature())) {
              // It's a match!
              //
              return intfMethodDoc;
            }
          }
View Full Code Here

Examples of com.sun.jdi.Field.signature()

      Field field = referenceType.fieldByName("daemon"); //$NON-NLS-1$
      if (field == null) {
        field = referenceType.fieldByName("isDaemon"); //$NON-NLS-1$
      }
      if (field != null) {
        if (field.signature().equals(Signature.SIG_BOOLEAN)) {
          Value value = getUnderlyingThread().getValue(field);
          if (value instanceof BooleanValue) {
            fIsDaemon = ((BooleanValue) value).booleanValue();
          }
        }
View Full Code Here

Examples of com.sun.jdi.Method.signature()

    Iterator<Method> methods = methods().iterator();
    Method method;
    while (methods.hasNext()) {
      method = methods.next();
      if (method.name().equals(name) && method.signature().equals(signature)) {
        if (method.isAbstract()) {
          return null;
        }
        return method;
      }
View Full Code Here

Examples of com.sun.jdi.ReferenceType.signature()

    }
    ObjectReference object = getUnderlyingObject();
    Method method = null;
    ReferenceType refType = getUnderlyingReferenceType();
    try {
      while (typeSignature != null && refType != null  && !refType.signature().equals(typeSignature)) {
        // lookup correct type through the hierarchy
        refType = ((ClassType) refType).superclass();
        if (refType == null) {
          targetRequestFailed(
              JDIDebugModelMessages.JDIObjectValueMethod_declaring_type_not_found_1,
View Full Code Here

Examples of javassist.bytecode.LocalVariableAttribute.signature()

    LocalVariableAttribute localVariableAttribute = (LocalVariableAttribute) codeAttribute.getAttribute("LocalVariableTable");
    LOGGER.debug("search vars : " + localVariableAttribute + " > " + (localVariableAttribute != null ? localVariableAttribute.tableLength() : 0));
    if(localVariableAttribute != null) {
      for(int i = 0; i < localVariableAttribute.tableLength(); i++) {
        boolean isParameter = isStatic ? i < nbParameters : (i > 0 && i <= nbParameters);
        LocalVariable localVariable = new LocalVariable(i, localVariableAttribute.variableName(i), LocalVariableType.parse(localVariableAttribute.signature(i)), isParameter, behavior);
        variables.put(i, localVariable);
        LOGGER.debug(String.format("findLocalVariables: foud var %s is '%s' (slot %s)", i, localVariable.name, localVariable.getSlot()));
      }
    } else LOGGER.debug("no local vars found");
    return variables;
View Full Code Here

Examples of net.sf.rej.gui.debug.wrappers.IMethod.signature()

    if (cl != null) {
      try {
        ClassFile cf = SystemFacade.getInstance().getClassFile(cl);
        IMethod bpMethod = sf.location().method();
        for (net.sf.rej.java.Method method : cf.getMethods()) {
          if (method.getName().equals(bpMethod.name()) && method.getDescriptor().getRawDesc().equals(bpMethod.signature())) {
            Integer pc = null;
            if (sf.location().codeIndex() != -1) {
              pc = (int)sf.location().codeIndex();
            }
           
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.