Class AsmUnknownAttribute

java.lang.Object
org.objectweb.asm.Attribute
org.eolang.jeo.representation.asm.AsmUnknownAttribute

public final class AsmUnknownAttribute extends org.objectweb.asm.Attribute
Asm unknown attribute.
Since:
0.15.0
  • Field Summary

    Fields inherited from class org.objectweb.asm.Attribute

    type
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a new empty attribute.
    AsmUnknownAttribute(String type, byte[] data)
    Constructs a new unknown attribute.
  • Method Summary

    Modifier and Type
    Method
    Description
    Convert to bytecode unknown attribute.
    boolean
     
    org.objectweb.asm.Attribute
    read(org.objectweb.asm.ClassReader reader, int offset, int length, char[] buffer, int caoffset, org.objectweb.asm.Label[] labels)
     
    org.objectweb.asm.ByteVector
    write(org.objectweb.asm.ClassWriter writer, byte[] code, int length, int stack, int locals)
     

    Methods inherited from class org.objectweb.asm.Attribute

    getLabels, isCodeAttribute, read, readLabel, write

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AsmUnknownAttribute

      public AsmUnknownAttribute(String type)
      Constructs a new empty attribute.
      Parameters:
      type - The type of the attribute.
    • AsmUnknownAttribute

      public AsmUnknownAttribute(String type, byte[] data)
      Constructs a new unknown attribute.
      Parameters:
      type - The type of the attribute.
      data - The raw data of the attribute.
  • Method Details

    • bytecode

      public BytecodeUnknownAttribute bytecode()
      Convert to bytecode unknown attribute.
      Returns:
      Bytecode unknown attribute.
    • isUnknown

      public boolean isUnknown()
      Overrides:
      isUnknown in class org.objectweb.asm.Attribute
    • read

      public org.objectweb.asm.Attribute read(org.objectweb.asm.ClassReader reader, int offset, int length, char[] buffer, int caoffset, org.objectweb.asm.Label[] labels)
      Overrides:
      read in class org.objectweb.asm.Attribute
    • write

      public org.objectweb.asm.ByteVector write(org.objectweb.asm.ClassWriter writer, byte[] code, int length, int stack, int locals)
      Overrides:
      write in class org.objectweb.asm.Attribute