git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@177 30ef5769-5b8d-40dd-aea6-55b5d6557bb3tags/rel_3_17_1_ga
@@ -15,9 +15,9 @@ | |||
package javassist.bytecode.annotation; | |||
import java.io.IOException; | |||
import javassist.bytecode.ConstPool; | |||
import javassist.bytecode.Descriptor; | |||
import java.io.IOException; | |||
/** | |||
* Enum constant value. | |||
@@ -92,7 +92,7 @@ public class EnumMemberValue extends MemberValue { | |||
* Writes the value. | |||
*/ | |||
public void write(AnnotationsWriter writer) throws IOException { | |||
writer.enumConstValue(getType(), getValue()); | |||
writer.enumConstValue(cp.getUtf8Info(typeIndex), getValue()); | |||
} | |||
/** |