1 package com.puppycrawl.tools.checkstyle.grammar.java8; 2 3 import java.util.function.Supplier; 4 5 public class InputLambda17{ 6 7 void initPartialTraversalState() { 8 SpinedBuffer<P_OUT> b = new SpinedBuffer<>(); 9 10 P_OUT spliterator = new P_OUT(); 11 Supplier pusher = () -> spliterator.tryAdvance(b); 12 } 13 14 private class P_OUT 15 { 16 17 public Object tryAdvance(SpinedBuffer<P_OUT> b) 18 { 19 // comment 20 return null; 21 } 22 23 } 24 25 class SpinedBuffer<T> 26 { 27 28 } 29 30 }