@Nullable public static String lambdaEnclosingClassName(String clsName){
  int idx=clsName.indexOf("$$Lambda$");
  return idx != -1 ? clsName.substring(0,idx) : null;
}

@ Nullable public static String lambdaEnclosingClassName ( String clsName ) { int idx = clsName . indexOf ( "$$Lambda$" ) ; return idx != - 1 ? clsName . substring ( 0 , idx ) : null ; }
extracts full name of enclosing class from jdk8 lambda class name .
