package sophomore.classfile.attributes.stackmap;

/**
 *
 * @author inagaki
 */
public enum VerificationInfoType {
	TopVariableInfo(0, "top"),
	IntegerVariableInfo(1, "integer"),
	FloatVariableInfo(2, "float"),
	DoubleVariableInfo(3, "double"),
	LongVariableInfo(4, "long"),
	NullVariableInfo(5, "null"),
	UninitializedThisVariableInfo(6, "uninitialized_this"),
	ObjectVariableInfo(7, "object"),
	UninitializedVariableInfo(8, "uninitialized");

	/**
	 * 
	 */
	int tag;
	/**
	 * 
	 */
	String type;

	VerificationInfoType(int tag, String type) {
		this.tag = tag;
		this.type = type;
	}

	public int getTag() {
		return tag;
	}

	public String getType() {
		return type;
	}

	@Override
	public String toString() {
		return type;
	}
}

@@ -128,18 +128,8 @@
 Info
-(0, %22top%22)
 ,%0A%09I
@@ -150,22 +150,8 @@
 Info
-(1, %22integer%22)
 ,%0A%09F
@@ -170,20 +170,8 @@
 Info
-(2, %22float%22)
 ,%0A%09D
@@ -191,21 +191,8 @@
 Info
-(3, %22double%22)
 ,%0A%09L
@@ -210,19 +210,8 @@
 Info
-(4, %22long%22)
 ,%0A%09N
@@ -229,19 +229,8 @@
 Info
-(5, %22null%22)
 ,%0A%09U
@@ -261,33 +261,8 @@
 Info
-(6, %22uninitialized_this%22)
 ,%0A%09O
@@ -282,21 +282,8 @@
 Info
-(7, %22object%22)
 ,%0A%09U
@@ -310,316 +310,8 @@
 Info
-(8, %22uninitialized%22);%0A%0A%09/**%0A%09 * %0A%09 */%0A%09int tag;%0A%09/**%0A%09 * %0A%09 */%0A%09String type;%0A%0A%09VerificationInfoType(int tag, String type) %7B%0A%09%09this.tag = tag;%0A%09%09this.type = type;%0A%09%7D%0A%0A%09public int getTag() %7B%0A%09%09return tag;%0A%09%7D%0A%0A%09public String getType() %7B%0A%09%09return type;%0A%09%7D%0A%0A%09@Override%0A%09public String toString() %7B%0A%09%09return type;%0A%09%7D
+;
 %0A%7D%0A

delete fields and methods.