package sds.classfile.attributes.annotation;

/**
 * This class is for super_type_target which
 * <a href="https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.7.20.1">
 * target_info</a> union has.<br>
 * @author inagaki
 */
public class SuperTypeTarget extends AbstractTargetInfo {
	private int superTypeIndex;

	SuperTypeTarget(int superTypeIndex) {
		super(TargetInfoType.SuperTypeTarget);
	}

	/**
	 * returns index of annotation.<br>
	 * the index of annotation appears on a typein the extends
	 * or implements clause of a class or interface declaration.
	 * @return index of annotation
	 */
	public int getIndex() {
		return superTypeIndex;
	}
}
@@ -404,16 +404,56 @@
 arget);%0A
+%09%09this.superTypeIndex = superTypeIndex;%0A
 %09%7D%0A%0A%09/**

modify bug which didn't initialize field.