public void deleteMethod(final int nameIndex, final int typeIndex) {
		final List newMethods = new ArrayList();

		boolean foundIt = false;
		for (int i = 0; i < this.methods.length; i++) {
			final Method method = this.methods[i];
			if ((method.nameIndex() == nameIndex)
					&& (method.typeIndex() == typeIndex)) {
				foundIt = true;

			} else {
				newMethods.add(method);
			}
		}

		if (!foundIt) {
			final String s = "No method with name index " + nameIndex
					+ " and type index " + typeIndex + " in " + this.name();
			throw new IllegalArgumentException(s);

		} else {
			this.methods = (Method[]) newMethods.toArray(new Method[0]);
		}
	}