public class JavassistHelper extends Object
| Constructor and Description |
|---|
JavassistHelper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getSignature(javassist.CtBehavior method)
Return javaassist source snippet which lists all the parameters and their
values.
|
static String |
returnValue(javassist.CtBehavior method)
Create a javaassist source snippet which either is empty (for anything
which does not return a value) or a explanatory text around the $_
javaassist return value variable.
|
public static String returnValue(javassist.CtBehavior method) throws javassist.NotFoundException
method - descriptor of methodjavassist.NotFoundExceptionpublic static String getSignature(javassist.CtBehavior method) throws javassist.NotFoundException
method - javassist.NotFoundExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.