/** * <pre> * EnclosingMethod_attribute { * u2 attribute_name_index; * u4 attribute_length; * u2 class_index * u2 method_index; * } * </pre> * * * @param in * @throws IOException */ private void doEnclosingMethod(DataInputStream in) throws IOException { int cIndex = in.readShort(); int mIndex = in.readShort(); if (cd != null) { int nameIndex = intPool[cIndex]; String cName = (String) pool[nameIndex]; String mName = null; String mDescriptor = null; if (mIndex != 0) { Assoc nameAndType = (Assoc) pool[mIndex]; mName = (String) pool[nameAndType.a]; mDescriptor = (String) pool[nameAndType.b]; } cd.enclosingMethod(cName, mName, mDescriptor); } }