@ Nullable private Method getLambdaMethod ( String methodName ) { for ( Method method : currentClass . getMethods ( ) ) { if ( methodName . equals ( method . getName ( ) ) ) { return method ; } } return null ; }
finds the bootstrap method for a lambda ( invokedynamic call . As findbugs doesn t support bcel 6 have to cheat a little here .