Uses 1320K of libraries. Click here for Pure Java version (6519L/31K).
!7 import org.reflections.*; import org.reflections.scanners.*; lib 1400510 // Reflections 0.10 lib 1011966 // slf for fuck the wurst cm ReflectionsTest > DynPrintLogAndEnabled { transient Reflections reflections; transient Set<Class<?>> subTypesOfObject; transient Cl<S> directSubtypes; start-thread { fixContextClassLoader(); reflections = new Reflections("java.lang"); print("Have lib"); /*subTypesOfObject = reflections.get(SubTypes.of(Object.class).asClass()); print(n2(subTypesOfObject));*/ directSubtypes = reflections.getStore().get(SubTypesScanner.class).get(Object.class.getName()); print(n2(directSubtypes)); } }
download show line numbers debug dex old transpilations
Travelled to 2 computer(s): bhatertpkbcr, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1032871 |
Snippet name: | Reflections Test [Java class detection library] |
Eternal ID of this version: | #1032871/5 |
Text MD5: | 6b520fbac7348360e64642b27cbc7999 |
Transpilation MD5: | 8002b1293223ae8ef5118b754caf8e56 |
Author: | stefan |
Category: | javax |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2021-10-07 00:58:34 |
Source code size: | 718 bytes / 28 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 650 / 757 |
Version history: | 4 change(s) |
Referenced in: | -