fixed bugs after update branch
This commit is contained in:
parent
73b9eeddb0
commit
03645f7a84
@ -1,3 +1,11 @@
|
|||||||
public class Example {
|
public class Example {
|
||||||
|
|
||||||
|
public int test;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public class Test {
|
||||||
|
|
||||||
|
public char test;
|
||||||
|
|
||||||
}
|
}
|
@ -9,6 +9,6 @@ public class FieldCodeGen {
|
|||||||
|
|
||||||
public void generateFieldCode(ClassWriter classWriter, FieldNode fieldNode) {
|
public void generateFieldCode(ClassWriter classWriter, FieldNode fieldNode) {
|
||||||
Mapper mapper = new Mapper();
|
Mapper mapper = new Mapper();
|
||||||
FieldVisitor fieldVisitor = classWriter.visitField(mapper.mapAccesTypeToOpcode(fieldNode.accessTypeNode), fieldNode.name, "", null, null);
|
FieldVisitor fieldVisitor = classWriter.visitField(mapper.mapAccesTypeToOpcode(fieldNode.accessTypeNode), fieldNode.identifier.getName(), "", null, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,12 +0,0 @@
|
|||||||
public class Example {
|
|
||||||
|
|
||||||
public int test;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
public class Test {
|
|
||||||
|
|
||||||
public char test;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user