Package net.sf.cglib.asm

Examples of net.sf.cglib.asm.ByteVector


    return localRuntimeInvisibleAnnotations;
  }

  protected ByteVector write(ClassWriter paramClassWriter, byte[] paramArrayOfByte, int paramInt1, int paramInt2, int paramInt3)
  {
    return Annotation.writeAnnotations(new ByteVector(), this.annotations, paramClassWriter);
  }
View Full Code Here


  }

  protected ByteVector write(ClassWriter paramClassWriter, byte[] paramArrayOfByte, int paramInt1, int paramInt2, int paramInt3)
  {
    byte[] arrayOfByte = putUTF8(this.debugExtension);
    return new ByteVector().putByteArray(arrayOfByte, 0, arrayOfByte.length);
  }
View Full Code Here

    return localRuntimeInvisibleParameterAnnotations;
  }

  protected ByteVector write(ClassWriter paramClassWriter, byte[] paramArrayOfByte, int paramInt1, int paramInt2, int paramInt3)
  {
    return Annotation.writeParametersAnnotations(new ByteVector(), this.parameters, paramClassWriter);
  }
View Full Code Here

    return localLocalVariableTypeTableAttribute;
  }

  protected ByteVector write(ClassWriter paramClassWriter, byte[] paramArrayOfByte, int paramInt1, int paramInt2, int paramInt3)
  {
    ByteVector localByteVector = new ByteVector();
    localByteVector.putShort(this.types.size());
    for (int i = 0; i < this.types.size(); i++)
    {
      LocalVariableType localLocalVariableType = (LocalVariableType)this.types.get(i);
      int j = localLocalVariableType.getStart().getOffset();
      localByteVector.putShort(j);
      localByteVector.putShort(localLocalVariableType.getEnd().getOffset() - j);
      localByteVector.putUTF8(localLocalVariableType.getName());
      localByteVector.putUTF8(localLocalVariableType.getSignature());
      localByteVector.putShort(localLocalVariableType.getIndex());
    }
    return localByteVector;
  }
View Full Code Here

    return new SignatureAttribute(paramClassReader.readUTF8(paramInt1, paramArrayOfChar));
  }

  protected ByteVector write(ClassWriter paramClassWriter, byte[] paramArrayOfByte, int paramInt1, int paramInt2, int paramInt3)
  {
    return new ByteVector().putShort(paramClassWriter.newUTF8(this.signature));
  }
View Full Code Here

    return localRuntimeVisibleAnnotations;
  }

  protected ByteVector write(ClassWriter paramClassWriter, byte[] paramArrayOfByte, int paramInt1, int paramInt2, int paramInt3)
  {
    return Annotation.writeAnnotations(new ByteVector(), this.annotations, paramClassWriter);
  }
View Full Code Here

    return localStackMapAttribute;
  }

  protected ByteVector write(ClassWriter paramClassWriter, byte[] paramArrayOfByte, int paramInt1, int paramInt2, int paramInt3)
  {
    ByteVector localByteVector = new ByteVector();
    if ((paramArrayOfByte != null) && (paramArrayOfByte.length > 65535))
      localByteVector.putInt(this.frames.size());
    else
      localByteVector.putShort(this.frames.size());
    for (int i = 0; i < this.frames.size(); i++)
      ((StackMapFrame)this.frames.get(i)).write(paramClassWriter, paramInt2, paramInt3, localByteVector);
    return localByteVector;
  }
View Full Code Here

    return localRuntimeVisibleParameterAnnotations;
  }

  protected ByteVector write(ClassWriter paramClassWriter, byte[] paramArrayOfByte, int paramInt1, int paramInt2, int paramInt3)
  {
    return Annotation.writeParametersAnnotations(new ByteVector(), this.parameters, paramClassWriter);
  }
View Full Code Here

    return new AnnotationDefaultAttribute(Annotation.readValue(paramClassReader, new int[] { paramInt1 }, paramArrayOfChar));
  }

  protected ByteVector write(ClassWriter paramClassWriter, byte[] paramArrayOfByte, int paramInt1, int paramInt2, int paramInt3)
  {
    return Annotation.writeValue(new ByteVector(), this.defaultValue, paramClassWriter);
  }
View Full Code Here

    return new EnclosingMethodAttribute(str1, str2, str3);
  }

  protected ByteVector write(ClassWriter paramClassWriter, byte[] paramArrayOfByte, int paramInt1, int paramInt2, int paramInt3)
  {
    return new ByteVector().putShort(paramClassWriter.newClass(this.owner)).putShort((this.name == null) || (this.desc == null) ? 0 : paramClassWriter.newNameType(this.name, this.desc));
  }
View Full Code Here

TOP

Related Classes of net.sf.cglib.asm.ByteVector

Copyright © 2018 www.massapicom. 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.