Examples of label()


Examples of org.jruby.compiler.impl.SkinnyMethodAdapter.label()

                    coerceArgumentsToRuby(mv, paramTypes, pathName);
                    mv.invokestatic(p(RuntimeHelpers.class), "invokeMethodMissing", sig(IRubyObject.class, IRubyObject.class, String.class, IRubyObject[].class));
                    mv.go_to(end);
               
                    // perform the dispatch
                    mv.label(dispatch);
                    // get current context
                    mv.getstatic(pathName, "ruby", ci(Ruby.class));
                    mv.invokevirtual(p(Ruby.class), "getCurrentContext", sig(ThreadContext.class));
               
                    // load self, class, and name
View Full Code Here

Examples of org.jruby.compiler.impl.SkinnyMethodAdapter.label()

                    mv.getstatic(p(Block.class), "NULL_BLOCK", ci(Block.class));
               
                    // invoke method
                    mv.invokevirtual(p(DynamicMethod.class), "call", sig(IRubyObject.class, ThreadContext.class, IRubyObject.class, RubyModule.class, String.class, IRubyObject[].class, Block.class));
               
                    mv.label(end);
                    coerceResultAndReturn(method, mv, returnType);
                }               
                mv.end();
            }
        }
View Full Code Here

Examples of org.jruby.compiler.impl.SkinnyMethodAdapter.label()

                mv.ifnonnull(dispatch);
                mv.pop();
                mv.getstatic(name, "rubyClass", ci(RubyClass.class));
                mv.ldc("method_missing");
                mv.invokevirtual(p(RubyClass.class), "searchMethod", sig(DynamicMethod.class, String.class));
                mv.label(dispatch);
               
                // get current context
                mv.getstatic(name, "ruby", ci(Ruby.class));
                mv.invokevirtual(p(Ruby.class), "getCurrentContext", sig(ThreadContext.class));
               
View Full Code Here

Examples of org.jruby.compiler.impl.SkinnyMethodAdapter.label()

                    // try/finally block to ensure unlock
                    Label tryStart = new Label();
                    Label tryEnd = new Label();
                    Label finallyStart = new Label();
                    Label finallyEnd = new Label();
                    mv.label(tryStart);

                    mv.aload(0);
                    mv.getfield(pathName, "self", ci(IRubyObject.class));
                    for (String eachName : nameSet) {
                        mv.ldc(eachName);
View Full Code Here

Examples of org.mifosplatform.infrastructure.codes.domain.CodeValue.label()

            final Client client = this.clientRepository.findOneWithNotFoundDetection(clientId);

            final CodeValue documentType = this.codeValueRepository.findOneWithNotFoundDetection(clientIdentifierCommand
                    .getDocumentTypeId());
            documentTypeId = documentType.getId();
            documentTypeLabel = documentType.label();

            final ClientIdentifier clientIdentifier = ClientIdentifier.fromJson(client, documentType, command);

            this.clientIdentifierRepository.save(clientIdentifier);
View Full Code Here

Examples of org.parboiled.Rule.label()

            return anotherProxy;
        }

        // we already have a target to which we can directly apply the label
        Rule inner = unwrap(target);
        target = (Matcher) inner.label(label); // since relabelling might change the instance we have to update it
        setLabel(null);
        return target;
    }

    public Rule suppressNode() {
View Full Code Here

Examples of org.sgx.yuigwt.yuigallery.form.FormField.label()

    final YuiGalleryContext Y = Y_.cast();
   
    FormField checkbox1 = Y.newCheckboxField(FormFieldConfig.create().
      name("myCheckbox").value("check").label("Do you like sports?"));
   
    Window.alert(Y.FormField().INVALID_DATE_MESSAGE()+" - "+checkbox1.label());
   
    Form form1 = Y.newForm(FormConfig.create().method("post").
      action("/test.php?action=submit").
      inlineValidation(true).
      children(
View Full Code Here

Examples of org.traccar.web.client.model.DeviceProperties.label()

        this.positionStore = positionStore;
        deviceStore.addStoreHandlers(deviceStoreHandlers);
        this.deviceStore = deviceStore;

        DeviceProperties deviceProperties = GWT.create(DeviceProperties.class);
        deviceCombo = new ComboBox<Device>(deviceStore, deviceProperties.label());

        PositionProperties positionProperties = GWT.create(PositionProperties.class);

        List<ColumnConfig<Position, ?>> columnConfigList = new LinkedList<ColumnConfig<Position, ?>>();
View Full Code Here

Examples of org.wicketstuff.pageserializer.common.analyze.ISerializedObjectTree.label()

      + "      java.lang.Integer                                            |     1\n"
      + "  org.apache.wicket.request.mapper.parameter.PageParameters        |     3";

    ISerializedObjectTree sample = TreeReader.fromString(lines);

    Assert.assertEquals("0", sample.label());
    Assert.assertEquals(141, sample.size());
    Assert.assertEquals(146, sample.childSize());

    Assert.assertEquals(ListModel.class, sample.children()
      .get(1)
View Full Code Here

Examples of ptolemy.data.UnionToken.label()

            throw new IllegalActionException(this, "No director!");
        }

        if (input.hasToken(0)) {
            UnionToken union = (UnionToken) input.get(0);
            String label = union.label();
            Token value = union.value();

            IOPort port = (IOPort) getPort(label);
            if (port != null) {
                port.send(0, value);
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.