org.jboss.aop.util
Class JavassistMethodHashing

java.lang.Object
  extended by 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

Constructor Summary
JavassistMethodHashing()
           
 
Method Summary
static long constructorHash(javassist.CtConstructor method)
           
static HashMap<Long,javassist.CtMethod> getDeclaredMethodMap(javassist.CtClass clazz)
           
static HashMap<Long,javassist.CtMethod> getMethodMap(javassist.CtClass clazz)
           
static long methodHash(javassist.CtMethod method)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavassistMethodHashing

public JavassistMethodHashing()
Method Detail

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 © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.