|
org.netbeans.modules.classfile/1 1.19 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.netbeans.modules.classfile.AttributeMap
public final class AttributeMap
Class representing a map of classfile attributes. The keys for this map are the names of the attributes (as Strings, not constant pool indexes). The values are byte arrays that hold the contents of the attribute. Note: if a ClassFile is created with includeCode parameter set to false, then no AttributeMaps for the classfile's methods will have Code attributes.
Method Summary | |
---|---|
boolean |
containsAttribute(String key)
Returns true if an attribute of the specified name exists in this map. |
boolean |
isEmpty()
Returns true if no attributes exist in this map. |
Set |
keySet()
Returns a set of names of all of the attributes in this map. |
int |
size()
Returns the number of attributes in this map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int size()
public boolean isEmpty()
public boolean containsAttribute(String key)
public Set keySet()
|
org.netbeans.modules.classfile/1 1.19 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |