Examples of SignatureAttribute


Examples of net.sf.rej.java.attribute.SignatureAttribute

        }
      }
    }
   
    private static void getSignatureImports(Imports imports, Attributes attrs) {
      SignatureAttribute attr = attrs.getSignatureAttribute();
      if (attr != null) {
        Signature signature = Signatures.getSignature(attr.getSignatureString());
        List<FormalTypeParameter> typeParams = signature.getFormalTypeParameters();
        if (typeParams != null) {
          for (FormalTypeParameter typeParam : typeParams) {
            for (GenericJavaType type : typeParam.getTypeUnion()) {
              getGenericJavaTypeImports(imports, type);
View Full Code Here

Examples of oracle.toplink.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.apache.harmony.pack200.bytecode.SignatureAttribute

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

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

                    int colon = desc.indexOf(':');
                    String type = desc.substring(colon + 1);
                    CPUTF8 value = new CPUTF8((String) signatureLayout.getValue(result, type,
                            cpBands.getConstantPool()), ClassConstantPool.DOMAIN_SIGNATUREASCIIZ);
                    fieldAttributes[i][j]
                            .add(new SignatureAttribute(value));
                    signatureIndex++;
                }
                // Non-predefined attributes
                for (int k = 0; k < otherLayouts.length; k++) {
                    if(otherLayouts[k] != null && otherLayouts[k].matches(flag)) {
View Full Code Here

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++;
                }
                // Non-predefined attributes
                for (int k = 0; k < otherLayouts.length; k++) {
                    if (otherLayouts[k] != null
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.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
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.