public static MethodHandle ofGetter ( FieldDescription . InDefinedShape fieldDescription ) { return new MethodHandle ( HandleType . ofGetter ( fieldDescription ) , fieldDescription . getDeclaringType ( ) . asErasure ( ) , fieldDescription . getInternalName ( ) , fieldDescription . getType ( ) . asErasure ( ) , Collections . < TypeDescription > emptyList ( ) ) ; }
Returns a method handle for a setter of the given field .