aboutsummaryrefslogtreecommitdiff
path: root/src/utils/lombok/permit/dummy/package-info.java
blob: 87ca839a989d5b4561a45c6db73f238ca114042a (plain)
1
2
3
4
5
6
7
8
/**
 * This package recreates the type hierarchy of {@code java.lang.reflect.AccessibleObject} and friends (such as {@code java.lang.reflect.Method});
 * its purpose is to allow us to ask {@code sun.misc.internal.Unsafe} about the exact offset of the {@code override} field of {@code AccessibleObject};
 * asking about that field directly doesn't work after jdk14, presumably because the fields of AO are expressly hidden somehow.
 * 
 *  NB: It's usually 12, on the vast majority of OS, VM, and architecture combos.
 */
package lombok.permit.dummy;