JByteMod-Beta
JByteMod-Beta copied to clipboard
at File ClassDialogue,use Field.getType() to get the wrong type
if the ClassDialogue.object is an FieldNode,the the value Field of FieldNode always return Object.class here should getType from FieldNode.desc
I do not really get what you mean, could you tell me the line where the problem is?
at ClassDialogue,line 51,private Object object
if this object is a FieldNode, such as ediing a Field,any code to invoke getType(), ex line 97,98 only return Object.class if field name is "value",
following is source of FieldNode
public class FieldNode extends FieldVisitor { public int access; public String name; public String desc; public String signature; public Object value; ... }
if you still not get what mean,see my fork