com.sun.tools.classfile
Class Attributes
java.lang.Object
com.sun.tools.classfile.Attributes
- All Implemented Interfaces:
- java.lang.Iterable<Attribute>
public class Attributes
- extends java.lang.Object
- implements java.lang.Iterable<Attribute>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
attrs
public final Attribute[] attrs
map
public final java.util.Map<java.lang.String,Attribute> map
Attributes
Attributes(ClassReader cr)
throws java.io.IOException
- Throws:
java.io.IOException
Attributes
public Attributes(ConstantPool constant_pool,
Attribute[] attrs)
iterator
public java.util.Iterator<Attribute> iterator()
- Specified by:
iterator in interface java.lang.Iterable<Attribute>
get
public Attribute get(int index)
get
public Attribute get(java.lang.String name)
getIndex
public int getIndex(ConstantPool constant_pool,
java.lang.String name)
size
public int size()