|
22 | 22 | */
|
23 | 23 | package com.oracle.truffle.espresso.classfile;
|
24 | 24 |
|
| 25 | +import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.CLASS; |
| 26 | +import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.DOUBLE; |
| 27 | +import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.FIELD_REF; |
| 28 | +import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.FLOAT; |
| 29 | +import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.INTEGER; |
| 30 | +import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.INTERFACE_METHOD_REF; |
| 31 | +import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.INVOKEDYNAMIC; |
| 32 | +import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.LONG; |
| 33 | +import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.METHOD_REF; |
| 34 | +import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.NAME_AND_TYPE; |
| 35 | +import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.STRING; |
| 36 | +import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.UTF8; |
| 37 | + |
| 38 | +import java.util.Arrays; |
| 39 | +import java.util.Formatter; |
| 40 | + |
25 | 41 | import com.oracle.truffle.api.CompilerDirectives.TruffleBoundary;
|
26 |
| -import com.oracle.truffle.espresso.classfile.descriptors.Symbol; |
27 |
| -import com.oracle.truffle.espresso.classfile.descriptors.Symbol.ModifiedUTF8; |
28 | 42 | import com.oracle.truffle.espresso.classfile.constantpool.ClassConstant;
|
29 | 43 | import com.oracle.truffle.espresso.classfile.constantpool.ClassMethodRefConstant;
|
30 | 44 | import com.oracle.truffle.espresso.classfile.constantpool.DoubleConstant;
|
|
40 | 54 | import com.oracle.truffle.espresso.classfile.constantpool.PoolConstant;
|
41 | 55 | import com.oracle.truffle.espresso.classfile.constantpool.StringConstant;
|
42 | 56 | import com.oracle.truffle.espresso.classfile.constantpool.Utf8Constant;
|
43 |
| - |
44 |
| -import java.util.Arrays; |
45 |
| -import java.util.Formatter; |
46 |
| - |
47 |
| -import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.CLASS; |
48 |
| -import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.DOUBLE; |
49 |
| -import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.FIELD_REF; |
50 |
| -import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.FLOAT; |
51 |
| -import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.INTEGER; |
52 |
| -import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.INTERFACE_METHOD_REF; |
53 |
| -import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.INVOKEDYNAMIC; |
54 |
| -import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.LONG; |
55 |
| -import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.METHOD_REF; |
56 |
| -import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.NAME_AND_TYPE; |
57 |
| -import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.STRING; |
58 |
| -import static com.oracle.truffle.espresso.classfile.ConstantPool.Tag.UTF8; |
| 57 | +import com.oracle.truffle.espresso.classfile.descriptors.Symbol; |
| 58 | +import com.oracle.truffle.espresso.classfile.descriptors.Symbol.ModifiedUTF8; |
59 | 59 |
|
60 | 60 | /**
|
61 | 61 | * Immutable, shareable constant-pool representation.
|
|
0 commit comments