a helper method which will extract the n-th generic type from a class node . concode_field_sep PlaceHolder placeHolder concode_field_sep ClassNode findClassNode concode_elem_sep List<ClassNode[]> getClosureSignatures
ClassNode function ( ClassNode arg0 , int arg1 ) { final GenericsType [ ] loc0 = arg0 . getGenericsTypes ( ) ; if ( loc0 == null || loc0 . length < arg1 ) { return ClassHelper . OBJECT_TYPE ; } return loc0 [ arg1 ] . getType ( ) ; }