|
16 | 16 |
|
17 | 17 | package org.lsposed.hiddenapibypass; |
18 | 18 |
|
19 | | -import java.lang.invoke.MethodType; |
20 | | - |
21 | 19 | @SuppressWarnings("unused") |
22 | 20 | public class Helper { |
23 | | - static public class MethodHandle { |
24 | | - private final MethodType type = null; |
25 | | - private MethodType nominalType; |
26 | | - private MethodHandle cachedSpreadInvoker; |
27 | | - protected final int handleKind = 0; |
28 | | - |
29 | | - // The ArtMethod* or ArtField* associated with this method handle (used by the runtime). |
30 | | - protected final long artFieldOrMethod = 0; |
31 | | - } |
32 | | - |
33 | | - static final public class Class { |
34 | | - private transient ClassLoader classLoader; |
35 | | - private transient java.lang.Class<?> componentType; |
36 | | - private transient Object dexCache; |
37 | | - private transient Object extData; |
38 | | - private transient Object[] ifTable; |
39 | | - private transient String name; |
40 | | - private transient java.lang.Class<?> superClass; |
41 | | - private transient Object vtable; |
42 | | - private transient long iFields; |
43 | | - private transient long methods; |
44 | | - private transient long sFields; |
45 | | - private transient int accessFlags; |
46 | | - private transient int classFlags; |
47 | | - private transient int classSize; |
48 | | - private transient int clinitThreadId; |
49 | | - private transient int dexClassDefIndex; |
50 | | - private transient volatile int dexTypeIndex; |
51 | | - private transient int numReferenceInstanceFields; |
52 | | - private transient int numReferenceStaticFields; |
53 | | - private transient int objectSize; |
54 | | - private transient int objectSizeAllocFastPath; |
55 | | - private transient int primitiveType; |
56 | | - private transient int referenceInstanceOffsets; |
57 | | - private transient int status; |
58 | | - private transient short copiedMethodsOffset; |
59 | | - private transient short virtualMethodsOffset; |
60 | | - } |
61 | | - |
62 | | - static public class AccessibleObject { |
63 | | - private boolean override; |
64 | | - } |
65 | | - |
66 | | - static final public class Executable extends AccessibleObject { |
67 | | - private Class declaringClass; |
68 | | - private Class declaringClassOfOverriddenMethod; |
69 | | - private Object[] parameters; |
70 | | - private long artMethod; |
71 | | - private int accessFlags; |
72 | | - } |
73 | 21 |
|
74 | 22 | @SuppressWarnings("EmptyMethod") |
75 | 23 | public static class NeverCall { |
|
0 commit comments