code: /*
  com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
  format = (default)^[a-z][a-zA-Z0-9]*$
  applyToPublic = (default)true
  applyToProtected = (default)true
  applyToPackage = (default)true
  applyToPrivate = (default)true
  
  
  */
  
  package com.puppycrawl.tools.checkstyle.grammar.java8;
  import java.util.Arrays;
  import java.util.List;
  import java.util.function.Function;
  import java.util.function.Supplier;
  
  
  public class InputMethodReferences<T> extends ParentClass // ok
  {
  
      public void main(String[] args) {
  
          List<Integer> numbers = Arrays.asList(1,2,3,4,5,6);
  
          numbers.forEach(String.CASE_INSENSITIVE_ORDER::equals);
          InputMethodReferences tl = new InputMethodReferences();
  
          String roster = new String();
          Supplier<InputMethodReferences> supplier = InputMethodReferences<String>::new;
  
          numbers.forEach(this::println);
  
          numbers.forEach(super::println);
          Supplier<InputMethodReferences2> supplier2 = InputMethodReferences2::new;
          Supplier<InputMethodReferences2> suppl = InputMethodReferences2::<Integer> new;
          Function<Integer, String[]> messageArrayFactory = String[]::new;
  
      }
  }
  
  class ParentClass
  {
  
      public String println(Integer i)
      {
          return null;
      }
  }
  