Lines Matching defs:which

206   public int getFieldOrMethodAt(int which) {
208 System.err.print("ConstantPool.getFieldOrMethodAt(" + which + "): new index = ");
213 i = which;
216 i = cache.getEntryAt(0xFFFF & which).getConstantPoolIndex();
231 public int[] getNameAndTypeAt(int which) {
233 Assert.that(getTagAt(which).isNameAndType(), "Corrupted constant pool: " + which + " " + getTagAt(which));
235 int i = getIntAt(which);
237 System.err.println("ConstantPool.getNameAndTypeAt(" + which + "): result = " + i);
242 public Symbol getNameRefAt(int which) {
243 return implGetNameRefAt(which, false);
246 public Symbol uncachedGetNameRefAt(int which) {
247 return implGetNameRefAt(which, true);
250 private Symbol implGetNameRefAt(int which, boolean uncached) {
251 int signatureIndex = getNameRefIndexAt(implNameAndTypeRefIndexAt(which, uncached));
255 public Symbol getSignatureRefAt(int which) {
256 return implGetSignatureRefAt(which, false);
259 public Symbol uncachedGetSignatureRefAt(int which) {
260 return implGetSignatureRefAt(which, true);
263 private Symbol implGetSignatureRefAt(int which, boolean uncached) {
264 int signatureIndex = getSignatureRefIndexAt(implNameAndTypeRefIndexAt(which, uncached));
287 private int implNameAndTypeRefIndexAt(int which, boolean uncached) {
288 int i = which;
290 if (isInvokedynamicIndex(which)) {
292 int poolIndex = invokedynamicCPCacheEntryAt(which).getConstantPoolIndex();
298 i = remapInstructionOperandFromCache(which);
300 if (getTagAt(which).isInvokeDynamic()) {
301 int poolIndex = invokeDynamicNameAndTypeRefIndexAt(which);
320 public int invokeDynamicNameAndTypeRefIndexAt(int which) {
321 // assert(tag_at(which).is_invoke_dynamic(), "Corrupted constant pool");
322 return extractHighShortFromInt(getIntAt(which));
326 public Klass getKlassAt(int which) {
327 if( ! getTagAt(which).isKlass()) return null;
328 int resolved_klass_index = getKlassSlotAt(which).getResolvedKlassIndex();
333 public Symbol getKlassNameAt(int which) {
334 int name_index = getKlassSlotAt(which).getNameIndex();
338 public Symbol getUnresolvedStringAt(int which) {
339 return getSlotAt(which).getSymbol();
343 public InstanceKlass getFieldOrMethodKlassRefAt(int which) {
344 int refIndex = getFieldOrMethodAt(which);
350 public Method getMethodRefAt(int which) {
351 InstanceKlass klass = getFieldOrMethodKlassRefAt(which);
353 Symbol name = getNameRefAt(which);
354 Symbol sig = getSignatureRefAt(which);
359 public Field getFieldRefAt(int which) {
360 InstanceKlass klass = getFieldOrMethodKlassRefAt(which);
362 Symbol name = getNameRefAt(which);
363 Symbol sig = getSignatureRefAt(which);