mirror of
https://github.com/Noratrieb/coldsquare.git
synced 2026-01-14 16:35:10 +01:00
parser seems to work kind of maybe
This commit is contained in:
parent
5d435a208c
commit
10f964a8f5
4 changed files with 45 additions and 27 deletions
4
testdata/Test.class.txt
vendored
4
testdata/Test.class.txt
vendored
|
|
@ -25,7 +25,7 @@ Cp: [
|
|||
1: {
|
||||
tag: 0a (10, MethodRef)
|
||||
class_index: 00 02 (2)
|
||||
name_and_type_index: 00 03 (2)
|
||||
name_and_type_index: 00 03
|
||||
}
|
||||
2: {
|
||||
tag: 07 (7, Class)
|
||||
|
|
@ -34,7 +34,7 @@ Cp: [
|
|||
3: {
|
||||
tag: 0c (12, NameAndType)
|
||||
name_index: 00 05 (05)
|
||||
descriptor_index: 00 06 (6)
|
||||
descriptor_index: 00 06
|
||||
}
|
||||
4: {
|
||||
tag: 01 (1, Utf8)
|
||||
|
|
|
|||
11
testdata/Test2.java
vendored
Normal file
11
testdata/Test2.java
vendored
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
class Test2 {
|
||||
public static void main(String[] args) {
|
||||
int i = 0;
|
||||
i++;
|
||||
print(i);
|
||||
}
|
||||
|
||||
static void print(int i) {
|
||||
System.out.println(i);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue