public class Permit<TT,VV> extends Safer<TT,VV>
| Modifier and Type | Class | Description |
|---|---|---|
static class |
Permit.FieldNotFound |
|
static class |
Permit.IncompatibleClasses |
|
static class |
Permit.InitializationFailed |
|
class |
Permit.Linked |
Safer.Meth<VV>| Modifier | Constructor | Description |
|---|---|---|
protected |
Permit(Class<TT> klass,
String name) |
| Modifier and Type | Method | Description |
|---|---|---|
protected long |
addy(int[] rows) |
|
static <TT,VV> Permit<TT,VV> |
build(Class<TT> klass,
String name) |
|
static <TT,VV> Permit<TT,VV> |
build(TT sample,
String name) |
|
Permit<TT,VV> |
chain(Class klass,
String name) |
|
protected Permit<TT,VV> |
chain(Class klass,
String name,
boolean known) |
|
Permit |
chain(String name) |
|
static <VV> VV |
getField(Object cl,
Safer.Meth<VV> meth,
String... names) |
|
static Object |
getObject(Object cl,
String name) |
|
static Field |
getSuperField(Class klass,
String name) |
|
static void |
godMode() |
|
static boolean |
initSucceeded(boolean rethrow) |
|
protected Class |
klass() |
|
Permit.Linked |
link(int... rows) |
|
static void |
main(String[] args) |
invoke the main method in a named class in god mode,
ie with all packages in all modules open to all modules
|
protected long |
offset() |
|
protected Object |
resolve(Object o) |
|
protected Object |
resolve(Object o,
int[] rows) |
|
static void |
setAccessible(AccessibleObject accessor) |
|
<XX> Permit<TT,XX> |
target(Class<XX> klass) |
|
static void |
unLog() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompareAndSwapInt, compareAndSwapLong, compareAndSwapObject, copyMemory, getAndAddInt, getAndAddLong, getAndSetInt, getAndSetLong, getAndSetObject, getBoolean, getBooleanVolatile, getByte, getByteVolatile, getChar, getCharVolatile, getDouble, getDoubleVolatile, getFloat, getFloatVolatile, getInt, getIntVolatile, getLong, getLongVolatile, getObject, getObjectVolatile, getShort, getShortVolatile, putBoolean, putBooleanVolatile, putByte, putByteVolatile, putChar, putCharVolatile, putDouble, putDoubleVolatile, putFloat, putFloatVolatile, putInt, putIntVolatile, putLong, putLongVolatile, putObject, putObjectVolatile, putOrderedInt, putOrderedLong, putOrderedObject, putShort, putShortVolatile, setMemorypublic static final String splitChar
protected Permit(Class<TT> klass, String name) throws Permit.FieldNotFound
Permit.FieldNotFoundpublic static void setAccessible(AccessibleObject accessor) throws Permit.InitializationFailed
Permit.InitializationFailedpublic static boolean initSucceeded(boolean rethrow)
public static void unLog()
public static void godMode()
throws RuntimeException
RuntimeExceptionpublic static <VV> VV getField(Object cl, Safer.Meth<VV> meth, String... names) throws Permit.FieldNotFound
Permit.FieldNotFoundpublic static <TT,VV> Permit<TT,VV> build(Class<TT> klass, String name) throws Permit.FieldNotFound
Permit.FieldNotFoundpublic static <TT,VV> Permit<TT,VV> build(TT sample, String name) throws Permit.FieldNotFound
Permit.FieldNotFoundpublic static void main(String[] args) throws Exception
args - the first element is the name of the class to invoke
and the remaining elements are passed as argumentsExceptionpublic Permit<TT,VV> chain(Class klass, String name) throws Permit.FieldNotFound, Permit.IncompatibleClasses
public Permit chain(String name) throws Permit.FieldNotFound
Permit.FieldNotFoundprotected Permit<TT,VV> chain(Class klass, String name, boolean known) throws Permit.FieldNotFound
Permit.FieldNotFoundprotected Class klass()
public Permit.Linked link(int... rows)
protected long addy(int[] rows)
Copyright © 2018. All rights reserved.