Additional top-level class in compilation unit: Trampoline.
| Modifier and Type | Field and Description |
|---|---|
| private static final Method | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private Class | |
| protected Class | findClass(final String name)
Overrides java. Finds the class with the specified binary name. |
| public static Method | |
| public static Method[] | |
| protected PermissionCollection | getPermissions(CodeSource codesource)
Overrides java. Returns the permissions for the given CodeSource object. |
| private static Method | |
| private static Class | |
| public static Module | |
| public static Object | |
| protected synchronized Class | loadClass(String name, boolean resolve)
Overrides java. Loads the class with the specified binary name. |
| bounce | back to summary |
|---|---|
| private static final Method bounce | |
| MISC_PKG | back to summary |
|---|---|
| private static final String MISC_PKG | |
| TRAMPOLINE | back to summary |
|---|---|
| private static final String TRAMPOLINE | |
| MethodUtil | back to summary |
|---|---|
| private MethodUtil() | |
| defineClass | back to summary |
|---|---|
| private Class | |
| findClass | back to summary |
|---|---|
| protected Class Overrides java. Doc from java. Finds the class with the specified binary name.
This method should be overridden by class loader implementations that
follow the delegation model for loading classes, and will be invoked by
the
| |
| getMethod | back to summary |
|---|---|
| public static Method getMethod(Class<?> cls, String name, Class<?>[] args) throws NoSuchMethodException | |
| getMethods | back to summary |
|---|---|
| public static Method[] getMethods(Class<?> cls) | |
| getPermissions | back to summary |
|---|---|
| protected PermissionCollection getPermissions(CodeSource codesource) Overrides java. Doc from java. Returns the permissions for the given CodeSource object. This method is invoked by the defineClass method which takes a CodeSource as an argument when it is constructing the ProtectionDomain for the class being defined.
| |
| getTrampoline | back to summary |
|---|---|
| private static Method getTrampoline() | |
| getTrampolineClass | back to summary |
|---|---|
| private static Class | |
| getTrampolineModule | back to summary |
|---|---|
| public static Module getTrampolineModule() | |
| invoke | back to summary |
|---|---|
| public static Object invoke(Method m, Object obj, Object[] params) throws InvocationTargetException, IllegalAccessException | |
| loadClass | back to summary |
|---|---|
| protected synchronized Class Overrides java. Doc from java. Loads the class with the specified binary name. The default implementation of this method searches for classes in the following order:
If the class was found using the above steps, and the
Subclasses of Unless overridden, this method synchronizes on the result of
| |