|
JBoss Reflection 2.2.1.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.reflect.plugins.bytecode.BytecodeGenericsHelper
public class BytecodeGenericsHelper
Utilities to figure out generic information
Constructor Summary | |
---|---|
BytecodeGenericsHelper()
|
Method Summary | |
---|---|
static TypeInfo[] |
createParameterTypes(javassist.bytecode.SignatureAttribute.MethodSignature sig,
org.jboss.reflect.plugins.bytecode.BytecodeClassInfo typeInfo)
Creates the generic parameter types for a constructor or method |
static boolean |
determineHierarchy(Stack<ClassInfo> hierarchy,
ClassInfo current,
ClassInfo search)
Figures out the path between the passed in classes |
static javassist.bytecode.SignatureAttribute.MethodSignature |
getMethodSignature(javassist.CtBehavior behaviour)
Gets the MethodSignature for a method/constructor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BytecodeGenericsHelper()
Method Detail |
---|
public static TypeInfo[] createParameterTypes(javassist.bytecode.SignatureAttribute.MethodSignature sig, org.jboss.reflect.plugins.bytecode.BytecodeClassInfo typeInfo)
sig
- the method/constructor signaturetypeInfo
- the javassist type info
public static javassist.bytecode.SignatureAttribute.MethodSignature getMethodSignature(javassist.CtBehavior behaviour)
behaviour
- the method/constructor
IllegalArgumentException
- if clazz is nullpublic static boolean determineHierarchy(Stack<ClassInfo> hierarchy, ClassInfo current, ClassInfo search) throws javassist.NotFoundException
hierarchy
- receives the ClassInfos that make up the hierarchy. This parameter may be null, in which
case is does not receive the classescurrent
- the sub classsearch
- the parent class or interface we are searching for
IllegalArgumentException
- if current or search is null
javassist.NotFoundException
|
JBoss Reflection 2.2.1.SP1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |