based on optional properties , create a new methodfactory . by default , this will create a code-generation-based invocationmethodfactory . if security restricts code generation , reflectionmethodfactory will be used . if we are dumping class definitions , dumpinginvocationmethodfactory will be used . see methodfactory 's static initializer for more details . concode_field_sep PlaceHolder placeHolder concode_field_sep DynamicMethod getAnnotatedMethod concode_elem_sep DynamicMethod getAnnotatedMethod
MethodFactory function ( ClassLoader arg0 ) { if ( Options . INVOKEDYNAMIC_HANDLES . load ( ) ) { return new InvokeDynamicMethodFactory ( arg0 ) ; } else { return new InvocationMethodFactory ( arg0 ) ; } }