equal
deleted
inserted
replaced
464 /** Report the arity. */ |
464 /** Report the arity. */ |
465 int arity() { |
465 int arity() { |
466 return arity; |
466 return arity; |
467 } |
467 } |
468 |
468 |
|
469 /** Report the number of expressions (non-parameter names). */ |
|
470 int expressionCount() { |
|
471 return names.length - arity; |
|
472 } |
|
473 |
469 /** Return the method type corresponding to my basic type signature. */ |
474 /** Return the method type corresponding to my basic type signature. */ |
470 MethodType methodType() { |
475 MethodType methodType() { |
471 return signatureType(basicTypeSignature()); |
476 return signatureType(basicTypeSignature()); |
472 } |
477 } |
473 /** Return ABC_Z, where the ABC are parameter type characters, and Z is the return type character. */ |
478 /** Return ABC_Z, where the ABC are parameter type characters, and Z is the return type character. */ |