public class JavassistHelper extends Object
Constructor and Description |
---|
JavassistHelper() |
Modifier and Type | Method and Description |
---|---|
static String |
getSignature(javassist.CtBehavior method)
Return javassist source snippet which lists all the parameters and their
values.
|
static String |
returnValue(javassist.CtBehavior method)
Create a javassist source snippet which either is empty (for anything
which does not return a value) or a explanatory text around the $_
javassist return value variable.
|
public static String returnValue(javassist.CtBehavior method) throws javassist.NotFoundException
method
- descriptor of methodjavassist.NotFoundException
public static String getSignature(javassist.CtBehavior method) throws javassist.NotFoundException
method
- javassist.NotFoundException
Copyright © 2005–2019 QOS.ch. All rights reserved.