package sophomore.classfile.attributes.annotation;

/**
 *
 * @author inagaki
 */
public enum TargetInfoType {
	TypeParameterTarget("type_parameter"),
	SuperTypeTarget("super_type"),
	TypeParameterBoundTarget("type_parameter_bound"),
	EmptyTarget("empty_target"),
	MethodFormalParameterTarget("method_formal_parameter"),
	ThrowsTarget("throws_target"),
	LocalVarTarget("local_var"),
	CatchTarget("catch"),
	OffsetTarget("offset"),
	TypeArgumentTarget("type_argument");

	/**
	 * 
	 */
	String type;

	TargetInfoType(String type) {
		this.type = type;
	}

	public String getType() {
		return type;
	}

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

@@ -128,26 +128,8 @@
 rget
-(%22type_parameter%22)
 ,%0A%09S
@@ -146,22 +146,8 @@
 rget
-(%22super_type%22)
 ,%0A%09T
@@ -173,151 +173,67 @@
 rget
-(%22type_parameter_bound%22),%0A%09EmptyTarget(%22empty_target%22),%0A%09MethodFormalParameterTarget(%22method_formal_parameter%22),%0A%09ThrowsTarget(%22throws_target%22)
+,%0A%09EmptyTarget,%0A%09MethodFormalParameterTarget,%0A%09ThrowsTarget
 ,%0A%09L
@@ -249,21 +249,8 @@
 rget
-(%22local_var%22)
 ,%0A%09C
@@ -263,17 +263,8 @@
 rget
-(%22catch%22)
 ,%0A%09O
@@ -278,18 +278,8 @@
 rget
-(%22offset%22)
 ,%0A%09T
@@ -299,214 +299,8 @@
 rget
-(%22type_argument%22);%0A%0A%09/**%0A%09 * %0A%09 */%0A%09String type;%0A%0A%09TargetInfoType(String type) %7B%0A%09%09this.type = type;%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.