Examples of Label


Examples of org.drools.asm.Label

                                 Type.getMethodDescriptor( Type.VOID_TYPE,
                                                           new Type[]{} ),
                                 null,
                                 null );
            mv.visitCode();
            Label l0 = null;
            if ( this.debug ) {
                l0 = new Label();
                mv.visitLabel( l0 );
            }
            mv.visitVarInsn( Opcodes.ALOAD,
                             0 );
            mv.visitMethodInsn( Opcodes.INVOKESPECIAL,
                                Type.getInternalName( Object.class ),
                                "<init>",
                                Type.getMethodDescriptor( Type.VOID_TYPE,
                                                          new Type[]{} ) );
            mv.visitInsn( Opcodes.RETURN );
            Label l1 = null;
            if ( this.debug ) {
                l1 = new Label();
                mv.visitLabel( l1 );
                mv.visitLocalVariable( "this",
                                       getTypeDescriptor( classDef.getClassName() ),
                                       null,
                                       l0,
View Full Code Here

Examples of org.eclipse.assemblyformatter.ir.Label

        state = RESET;
      }

      if (state == MATCH) {
        // Replace SYMBOL with LABEL.
        Section label = new Label();
        label.copyPosition(symbolSection);
        label.setNextSection(symbolSection.getNextSection());
        i.setNextSection(label);
        state = RESET;
      }

      section = nextSection;
View Full Code Here

Examples of org.eclipse.dd.di.Label

            if (result == null)
                result = defaultCase(theEObject);
            return result;
        }
        case DiPackage.LABEL: {
            Label label = (Label) theEObject;
            T result = caseLabel(label);
            if (result == null)
                result = caseNode(label);
            if (result == null)
                result = caseDiagramElement(label);
View Full Code Here

Examples of org.eclipse.draw2d.Label

        }
    }

    private IFigure buildToolTip(Link link)
    {
        Label l = new Label();
        l.setText(getLinkText(link));
        return l;
    }
View Full Code Here

Examples of org.eclipse.egit.github.core.Label

  private List<Label> getLabels() {
    String[] labelStrings = new String[]{"AutoIssue", report.getReportType()};
    ArrayList<Label> labels = new ArrayList<Label>();
    for (String labelString: labelStrings) {
      if (labelString != null) {
        Label label = new Label();
        label.setName(labelString);
        labels.add(label);
      }
    }
    return labels;
  }
View Full Code Here

Examples of org.eclipse.persistence.internal.libraries.asm.Label

        String methodSig = "(L" + mapType.getInternalName() + "<L" + internalKeyName + ";L" + internalValueName + ";>;)V";
        mv = cw.visitMethod(Opcodes.ACC_PUBLIC, "setItem", "(L" + mapType.getInternalName() + ";)V", methodSig, null);
        // TODO: Verify that we really want to put @XmlTranient on setItem
        // method
        mv.visitAnnotation("Ljavax/xml/bind/annotation/XmlTransient;", true);
        Label l0 = new Label();
        mv.visitLabel(l0);
        mv.visitVarInsn(Opcodes.ALOAD, 0);
        mv.visitVarInsn(Opcodes.ALOAD, 1);
        mv.visitFieldInsn(Opcodes.PUTFIELD, qualifiedInternalClassName, "entry", L + mapType.getInternalName() + SEMI_COLON);
        mv.visitInsn(Opcodes.RETURN);
        Label l1 = new Label();
        mv.visitLabel(l1);

        // Replacement?:LocalVariableTypeTableAttribute cvAttr = new
        // LocalVariableTypeTableAttribute();
        // mv.visitAttribute(cvAttr);
View Full Code Here

Examples of org.eclipse.sapphire.modeling.annotations.Label

                                  final CapitalizationType capitalizationType,
                                  final boolean includeMnemonic )
    {
        String labelText = null;

        final Label labelAnnotation = getAnnotation( Label.class );
       
        if( labelAnnotation != null )
        {
            if( longLabel )
            {
                labelText = labelAnnotation.full().trim();
            }
           
            if( labelText == null || labelText.length() == 0 )
            {
                labelText = labelAnnotation.standard().trim();
            }
        }
       
        boolean transformNeeded = true;
       
View Full Code Here

Examples of org.eclipse.swt.widgets.Label

    Composite container = new Composite(parent, SWT.NULL);
    GridLayout layout = new GridLayout();
    layout.numColumns = 1;
    container.setLayout(layout);
   
    Label lblMessage = new Label(container, SWT.None);
    lblMessage.setText(_message);
   
    setControl(container);
  }
View Full Code Here

Examples of org.enclojure.ide.asm.Label

    }

    public void visitTypeInsn(final int opcode, final String type) {
        if (opcode == Opcodes.NEW) {
            if (labels == null) {
                Label l = new Label();
                labels = new ArrayList(3);
                labels.add(l);
                if (mv != null) {
                    mv.visitLabel(l);
                }
View Full Code Here

Examples of org.freud.analysed.classbytecode.method.instruction.Label

            updateCurrentState(instruction);
        }
    }

    public void visitJumpInsn(final int opcode, final org.objectweb.asm.Label asmLabel) {
        Label label = declareLabel(asmLabel);

//        System.out.println(name + " " + OPCODES_ARRAY[opcode] + " " + asmLabel + " " + label);


        final Instruction instruction = new JumpInstruction(instructionList.size(), OPCODES_ARRAY[opcode], currentLineNumber, label);
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.