org.jboss.aop.util
Class JavassistMethodHashing
java.lang.Object
org.jboss.aop.util.JavassistMethodHashing
public class JavassistMethodHashing
- extends Object
Create a unique hash for method. This is the same as
common: org.jboss.util.MethodHashing except that
it's using Javasssit constructs rather than java.lang.reflect.
- Version:
- $Revision: 70842 $
- Author:
- Bill Burke, Marc Fleury
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavassistMethodHashing
public JavassistMethodHashing()
methodHash
public static long methodHash(javassist.CtMethod method)
constructorHash
public static long constructorHash(javassist.CtConstructor method)
getMethodMap
public static HashMap<Long,javassist.CtMethod> getMethodMap(javassist.CtClass clazz)
throws Exception
- Throws:
Exception
getDeclaredMethodMap
public static HashMap<Long,javassist.CtMethod> getDeclaredMethodMap(javassist.CtClass clazz)
throws Exception
- Throws:
Exception
Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.