Package soot.tagkit

Class CodeAttribute

  • All Implemented Interfaces:
    Attribute, Tag

    public class CodeAttribute
    extends JasminAttribute
    A CodeAttribute object holds PC -> Tag pairs. It represents abstracted attributes of Code_attribute such as LineNumberTable, ArrayBoundsCheck.
    • Constructor Detail

      • CodeAttribute

        public CodeAttribute()
      • CodeAttribute

        public CodeAttribute​(String name)
        Creates an attribute object with the given name.
      • CodeAttribute

        public CodeAttribute​(String name,
                             List<Unit> units,
                             List<Tag> tags)
        Create an attribute object with the name and lists of unit-tag pairs.