| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Map | |
| private Integer | constPoolSize
The constant_pool_count field of the class file format |
| private int | |
| private final Map | |
| private final LinkedHashMap | |
| private final Map | |
| private final Map | |
| private final Map | |
| private final Map | |
| private final Map | |
| private final Map | |
| private final Map | |
| private final Map | |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Integer | |
| public Integer | |
| public Integer | |
| public Integer | |
| public Integer | |
| public Integer | |
| public Integer | |
| public Integer | |
| public Integer | |
| public Integer | |
| public Integer | |
| public void |
| classLocations | back to summary |
|---|---|
| private final Map<String, Integer> classLocations | |
| constPoolSize | back to summary |
|---|---|
| private Integer constPoolSize The constant_pool_count field of the class file format | |
| count | back to summary |
|---|---|
| private int count | |
| doubleLocations | back to summary |
|---|---|
| private final Map<Double, Integer> doubleLocations | |
| entries | back to summary |
|---|---|
| private final LinkedHashMap<Integer, ConstPoolEntry> entries | |
| fieldLocations | back to summary |
|---|---|
| private final Map<ConstPool. | |
| floatLocations | back to summary |
|---|---|
| private final Map<Float, Integer> floatLocations | |
| integerLocations | back to summary |
|---|---|
| private final Map<Integer, Integer> integerLocations | |
| interfaceMethodLocations | back to summary |
|---|---|
| private final Map<ConstPool. | |
| longLocations | back to summary |
|---|---|
| private final Map<Long, Integer> longLocations | |
| methodLocations | back to summary |
|---|---|
| private final Map<ConstPool. | |
| nameAndTypeLocations | back to summary |
|---|---|
| private final Map<ConstPool. | |
| stringLocations | back to summary |
|---|---|
| private final Map<String, Integer> stringLocations | |
| utf8Locations | back to summary |
|---|---|
| private final Map<String, Integer> utf8Locations | |
| ConstPool | back to summary |
|---|---|
| public ConstPool() | |
| addClassEntry | back to summary |
|---|---|
| public Integer addClassEntry(String className) Adds a CONSTANT_Class_info to the const pool. This must be in internal form | |
| addDoubleEntry | back to summary |
|---|---|
| public Integer addDoubleEntry(double entry) | |
| addFieldEntry | back to summary |
|---|---|
| public Integer addFieldEntry(String className, String fieldName, String fieldType) | |
| addFloatEntry | back to summary |
|---|---|
| public Integer addFloatEntry(float entry) | |
| addIntegerEntry | back to summary |
|---|---|
| public Integer addIntegerEntry(int entry) | |
| addInterfaceMethodEntry | back to summary |
|---|---|
| public Integer addInterfaceMethodEntry(String className, String methodName, String descriptor) | |
| addLongEntry | back to summary |
|---|---|
| public Integer addLongEntry(long entry) | |
| addMethodEntry | back to summary |
|---|---|
| public Integer addMethodEntry(String className, String methodName, String descriptor) | |
| addNameAndTypeEntry | back to summary |
|---|---|
| public Integer addNameAndTypeEntry(String name, String type) | |
| addStringEntry | back to summary |
|---|---|
| public Integer addStringEntry(String string) Adds a CONSTANT_String_info to the const pool. | |
| addUtf8Entry | back to summary |
|---|---|
| public Integer addUtf8Entry(String entry) | |
| write | back to summary |
|---|---|
| public void write(ByteArrayDataOutputStream stream) throws IOException Implements org. | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final ConstPool. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public int |
| className | back to summary |
|---|---|
| private final String className | |
| nameAndType | back to summary |
|---|---|
| private final ConstPool. | |
| MemberInfo | back to summary |
|---|---|
| public MemberInfo(String className, ConstPool. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. obj)Overrides java. |
| public int |
| name | back to summary |
|---|---|
| private final String name | |
| type | back to summary |
|---|---|
| private final String type | |
| NameAndType | back to summary |
|---|---|
| public NameAndType(String name, String type) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |