edu.umd.cs.findbugs.ba
public class SignatureParser extends Object
| Constructor Summary | |
|---|---|
| SignatureParser(String signature)
Constructor.
| |
| Method Summary | |
|---|---|
| int | getNumParameters()
Get the number of parameters in the signature.
|
| static int | getNumParametersForInvocation(InvokeInstruction inv, ConstantPoolGen cpg)
Get the number of parameters passed to method invocation.
|
| String | getParameter(int pos) |
| String | getReturnTypeSignature()
Get the method return type signature.
|
| int | getSlotsFromTopOfStackForParameter(int paramNum) |
| static void | main(String[] args) |
| Iterator<String> | parameterSignatureIterator()
Get an Iterator over signatures of the method parameters.
|
Parameters: signature the method signature to be parsed
Returns: the number of parameters
Parameters: inv cpg
Returns: int number of parameters
Returns: the method return type signature
Returns: Iterator which returns the parameter type signatures in order