/** * Adds a new <code>CONSTANT_NameAndType_info</code> structure. * * @param name <code>name_index</code> * @param type <code>descriptor_index</code> * @return the index of the added entry. */ public int addNameAndTypeInfo(int name, int type) { return addItem(new NameAndTypeInfo(name, type, numOfItems)); }
/** * Adds a new <code>CONSTANT_NameAndType_info</code> structure. * * @param name <code>name_index</code> * @param type <code>descriptor_index</code> * @return the index of the added entry. */ public int addNameAndTypeInfo(int name, int type) { return addItem(new NameAndTypeInfo(name, type, numOfItems)); }
break; case NameAndTypeInfo.tag : // 12 info = new NameAndTypeInfo(in, numOfItems); break; case MethodHandleInfo.tag : // 15
break; case NameAndTypeInfo.tag : // 12 info = new NameAndTypeInfo(in, numOfItems); break; case MethodHandleInfo.tag : // 15
/** * Adds a new <code>CONSTANT_NameAndType_info</code> structure. * * @param name <code>name_index</code> * @param type <code>descriptor_index</code> * @return the index of the added entry. */ public int addNameAndTypeInfo(int name, int type) { return addItem(new NameAndTypeInfo(name, type, numOfItems)); }
/** * Adds a new <code>CONSTANT_NameAndType_info</code> structure. * * @param name <code>name_index</code> * @param type <code>descriptor_index</code> * @return the index of the added entry. */ public int addNameAndTypeInfo(int name, int type) { return addItem(new NameAndTypeInfo(name, type)); }
/** * Adds a new <code>CONSTANT_NameAndType_info</code> structure. * * @param name <code>name_index</code> * @param type <code>descriptor_index</code> * @return the index of the added entry. */ public int addNameAndTypeInfo(int name, int type) { return addItem(new NameAndTypeInfo(name, type, numOfItems)); }
/** * Adds a new <code>CONSTANT_NameAndType_info</code> structure. * * @param name <code>name_index</code> * @param type <code>descriptor_index</code> * @return the index of the added entry. */ public int addNameAndTypeInfo(int name, int type) { return addItem(new NameAndTypeInfo(name, type, numOfItems)); }
/** * Adds a new <code>CONSTANT_NameAndType_info</code> structure. * * @param name <code>name_index</code> * @param type <code>descriptor_index</code> * @return the index of the added entry. */ public int addNameAndTypeInfo(int name, int type) { int h = hashFunc(name, type); ConstInfo ci = constInfoCache[h]; if (ci != null && ci instanceof NameAndTypeInfo && ci.hashCheck(name, type)) return constInfoIndexCache[h]; else { NameAndTypeInfo item = new NameAndTypeInfo(name, type); constInfoCache[h] = item; int i = addItem(item); constInfoIndexCache[h] = i; return i; } }
break; case NameAndTypeInfo.tag : // 12 info = new NameAndTypeInfo(in); break; default :
break; case NameAndTypeInfo.tag : // 12 info = new NameAndTypeInfo(in); break; default :
break; case NameAndTypeInfo.tag : // 12 info = new NameAndTypeInfo(in, numOfItems); break; case MethodHandleInfo.tag : // 15
break; case NameAndTypeInfo.tag : // 12 info = new NameAndTypeInfo(in, numOfItems); break; case MethodHandleInfo.tag : // 15
break; case NameAndTypeInfo.tag : // 12 info = new NameAndTypeInfo(in, numOfItems); break; case MethodHandleInfo.tag : // 15