jdk/src/java.base/share/classes/java/lang/invoke/LambdaForm.java
changeset 26472 71b6a6f208c0
parent 26468 2d57604f9299
child 26473 0abc9399a1a6
equal deleted inserted replaced
26471:1de6be0c6945 26472:71b6a6f208c0
   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. */