Additional top-level class in compilation unit: Trampoline.
| Modifier and Type | Class and Description |
|---|---|
| private static class | MethodUtil.
A class that represents the unique elements of a method that will be a key in the method cache. |
| 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 static void | |
| private Class | |
| protected Class | findClass(final String
The binary name of the class name)Overrides java. Finds the class with the specified binary name. |
| private static void | |
| private static boolean | |
| public static Method | |
| public static Method[] | |
| protected PermissionCollection | getPermissions(CodeSource
the codesource. codesource)Overrides java. Returns the permissions for the given CodeSource object. |
| pack-priv static Method[] | |
| private static Method | |
| private static Class | |
| public static Module | |
| public static Object | |
| protected synchronized Class | loadClass(String
The binary name of the class name, boolean If resolve)true then resolve the classOverrides 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() | |
| addMethod | back to summary |
|---|---|
| private static void addMethod(Map<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
| |
| getInterfaceMethods | back to summary |
|---|---|
| private static void getInterfaceMethods(Class<?> cls, Map<MethodUtil. | |
| getInternalPublicMethods | back to summary |
|---|---|
| private static boolean getInternalPublicMethods(Class<?> cls, Map<MethodUtil. | |
| 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.
| |
| getPublicMethods | back to summary |
|---|---|
pack-priv static Method[] getPublicMethods(Class<?> cls)
| |
| 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
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Class | |
| private final int | |
| private final String |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o2)Overrides java. Indicates whether some other object is "equal to" this one. |
| public int |
| argClasses | back to summary |
|---|---|
| private final Class<?>[] argClasses | |
| hashCode | back to summary |
|---|---|
| private final int hashCode | |
| methodName | back to summary |
|---|---|
| private final String methodName | |
| Signature | back to summary |
|---|---|
| pack-priv Signature(Method m) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o2) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |