public class MethodHashing
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
(package private) static java.util.Map |
hashMap |
| Constructor and Description |
|---|
MethodHashing() |
| Modifier and Type | Method and Description |
|---|---|
static long |
calculateHash(java.lang.reflect.Method method) |
static long |
constructorHash(java.lang.reflect.Constructor method) |
static java.lang.reflect.Constructor |
findConstructorByHash(java.lang.Class clazz,
long hash) |
static java.lang.reflect.Method |
findMethodByHash(java.lang.Class clazz,
long hash) |
static java.util.Map |
getInterfaceHashes(java.lang.Class intf)
Calculate method hashes.
|
(package private) static java.lang.String |
getTypeString(java.lang.Class cl) |
static long |
methodHash(java.lang.reflect.Method method) |
public static java.lang.reflect.Method findMethodByHash(java.lang.Class clazz,
long hash)
throws java.lang.Exception
java.lang.Exceptionpublic static java.lang.reflect.Constructor findConstructorByHash(java.lang.Class clazz,
long hash)
throws java.lang.Exception
java.lang.Exceptionpublic static long methodHash(java.lang.reflect.Method method)
throws java.lang.Exception
java.lang.Exceptionpublic static long constructorHash(java.lang.reflect.Constructor method)
throws java.lang.Exception
java.lang.Exceptionpublic static java.util.Map getInterfaceHashes(java.lang.Class intf)
intf - static java.lang.String getTypeString(java.lang.Class cl)
public static long calculateHash(java.lang.reflect.Method method)