Transpiled version (8018L) is out of date.
1 | !include once #1019934 // BCEL [Include] |
2 | |
3 | /* Examples from javap -s -v: |
4 | |
5 | java.util.List<java.lang.String> bla; |
6 | descriptor: Ljava/util/List; |
7 | Signature: #12 // Ljava/util/List<Ljava/lang/String;>; |
8 | |
9 | java.util.Map<java.lang.Integer, java.lang.Long> map; |
10 | descriptor: Ljava/util/Map; |
11 | Signature: #15 // Ljava/util/Map<Ljava/lang/Integer;Ljava/lang/Long;>; |
12 | |
13 | */ |
14 | |
15 | sclass BCELParameterizedType extends ObjectType {
|
16 | *(S className, S... parameterClassNames) {
|
17 | super(className); |
18 | if (nempty(parameterClassNames)) |
19 | setSignature(classNameToByteCodeFormat(className) |
20 | + "<" + joinMap(parameterClassNames, name |
21 | -> classNameToByteCodeFormat(name) + ";") + ">;"); |
22 | } |
23 | |
24 | public void setSignature(S signature) {
|
25 | this.signature = signature; |
26 | } |
27 | } |
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, ekrmjmnbrukm, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1035315 |
| Snippet name: | BCELParameterizedType - parameterized type representation for BCEL (not needed, actually) |
| Eternal ID of this version: | #1035315/6 |
| Text MD5: | a0aab4c3ce79885081e336ce4aeed0d3 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-05-01 01:49:49 |
| Source code size: | 817 bytes / 27 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 355 / 463 |
| Version history: | 5 change(s) |
| Referenced in: | [show references] |