Examples of SignatureAttribute


Examples of org.apache.harmony.unpack200.bytecode.SignatureAttribute

                    String desc = fieldDescr[i][j];
                    int colon = desc.indexOf(':');
                    String type = desc.substring(colon + 1);
                    CPUTF8 value = (CPUTF8) signatureLayout.getValue(result,
                            type, cpBands.getConstantPool());
                    fieldAttributes[i][j].add(new SignatureAttribute(value));
                    signatureIndex++;
                }
            }
        }
View Full Code Here

Examples of org.apache.harmony.unpack200.bytecode.SignatureAttribute

                    if (type.equals("B") || type.equals("H"))
                        type = "I";
                    CPUTF8 value = (CPUTF8) methodSignatureLayout.getValue(
                            result, type, cpBands.getConstantPool());
                    methodAttributes[i][j]
                            .add(new SignatureAttribute(value));
                    methodSignatureIndex++;
                }
                if (deprecatedLayout.matches(flag)) {
                    methodAttributes[i][j].add(new DeprecatedAttribute());
                }
View Full Code Here

Examples of org.apache.harmony.unpack200.bytecode.SignatureAttribute

            }
            if (signatureLayout.matches(flag)) {
                long result = classSignature[signatureIndex];
                CPUTF8 value = (CPUTF8) signatureLayout.getValue(result, cpBands
                        .getConstantPool());
                classAttributes[i].add(new SignatureAttribute(value));
                signatureIndex++;
            }
            if (innerClassLayout.matches(flag)) {
                // Just create the tuples for now because the attributes are
                // decided at the end when creating class constant pools
View Full Code Here

Examples of org.eclipse.persistence.internal.libraries.asm.attrs.SignatureAttribute

{
   
  protected Attribute read (ClassReader cr, int off,
    int len, char[] buf, int codeOff, Label[] labels)
  {
    SignatureAttribute attr =
      (SignatureAttribute)super.read(cr, off, len, buf, codeOff, labels);
   
    ASMSignatureAttribute result = new ASMSignatureAttribute();
    result.signature = attr.signature;
    return result;
View Full Code Here

Examples of org.eclipse.persistence.internal.libraries.asm.attrs.SignatureAttribute

            cv.visitInsn(Constants.RETURN);
            cv.visitMaxs(2, 2);
        }
     
      // CLASS ATRIBUTE
        SignatureAttribute attr = new SignatureAttribute("Ljava/lang/Object;Lorg/eclipse/persistence/internal/jaxb/many/MapEntry<L"+qualifiedInternalKeyClassName+";L"+qualifiedInternalValueClassName+";>;");
        cw.visitAttribute(attr);
           
        cw.visitEnd();              
       
        byte[] classBytes =cw.toByteArray();
View Full Code Here

Examples of org.gjt.jclasslib.structures.attributes.SignatureAttribute

                lblSignature = linkLabel(),
                lblSignatureVerbose = highlightLabel());
    }

    public void show(TreePath treePath) {
        SignatureAttribute attribute = (SignatureAttribute)findAttribute(treePath);
        constantPoolHyperlink(lblSignature,
                lblSignatureVerbose,
                attribute.getSignatureIndex());
        super.show(treePath);
    }
View Full Code Here

Examples of org.jboss.classfilewriter.attributes.SignatureAttribute

        this.descriptor = descriptor;
        this.classFile = classFile;
        this.nameIndex = constPool.addUtf8Entry(name);
        this.descriptorIndex = constPool.addUtf8Entry(descriptor);
        if(signature != null){
            attributes.add(new SignatureAttribute(constPool, signature));
        }
        runtimeVisibleAnnotationsAttribute = new AnnotationsAttribute(AnnotationsAttribute.Type.RUNTIME_VISIBLE, constPool);
        this.attributes.add(runtimeVisibleAnnotationsAttribute);
    }
View Full Code Here

Examples of org.jboss.classfilewriter.attributes.SignatureAttribute

    public void setSignature(String signature) {
        if(signature == null) {
            signatureAttribute = null;
        } else {
            signatureAttribute = new SignatureAttribute(classFile.getConstPool(), signature);
        }
        this.signature = signature;
    }
View Full Code Here

Examples of org.jboss.classfilewriter.attributes.SignatureAttribute

    public void setSignature(String signature) {
        if(signature == null) {
            signatureAttribute = null;
        } else {
            signatureAttribute = new SignatureAttribute(classFile.getConstPool(), signature);
        }
        this.signature = signature;
    }
View Full Code Here

Examples of org.jboss.classfilewriter.attributes.SignatureAttribute

    public void setSignature(String signature) {
        if(signature == null) {
            signatureAttribute = null;
        } else {
            signatureAttribute = new SignatureAttribute(classFile.getConstPool(), signature);
        }
        this.signature = signature;
    }
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.