Lines Matching refs:constant
11 import com.vladium.jcd.cls.constant.*;
16 * An abstraction of constant pool in .class format. This interface disallows
56 CONSTANT_info set (CONSTANT_info constant);
62 * A simple interface to express custom semantics of constant equality.
68 boolean equals (CONSTANT_info constant);
83 * @param index constant pool index [must be in [1, size()] range]
84 * @return CONSTANT_info constant pool entry at this index [never null]
103 * Searches the pool for a matching constant of given type with equality
148 * Appends 'constant' to the end of the collection. No duplicate checks
151 * @param constant new constant [may not be null; input unchecked]
154 int add (CONSTANT_info constant);
157 * Replaces an existing constant pool entry. A replacement can be made only
158 * for a constant of the same width as the constant currently occupying the
161 * @param index constant pool index [must be in [1, size()] range]
162 * @param constant new entry to set [may not be null; input unchecked]
165 * @throws IllegalArgumentException if the new constant's width is different
172 CONSTANT_info set (int index, CONSTANT_info constant);