Buggy code:
public class ProfilesRestApi { public interface IProfilesMethods { @ GET ( "//rest//test//ping" ) ProfilesRestApi . ProfilesErrorResponse getTestPing ( ) { } @ GET ( "//rest//tag//tdn//{tagId}" ) ProfilesRestApi . GetTagTdnResponse getTagTdn ( @ Path ( "tagId" ) String tagId ) { } @ GET ( "//rest//tag//queryBatches" ) ProfilesRestApi . GetQueryBatchesResponse getQueryBatches ( @ QueryMap Map < ProfilesQueryBatchProperty , Object > queryParams ) { } @ GET ( "//rest//tag//queryTags" ) ProfilesRestApi . GetQueryTagsResponse getQueryTags ( @ QueryMap Map < ProfilesQueryTagProperty , Object > queryParams ) { } @ POST ( "//rest//tag//key" ) ProfilesRestApi . GetTagKeyResponse postGetTagKey ( @ Body ProfilesRestApi . PostGetTagKey pGtk ) { } @ POST ( "//rest//tag//value" ) ProfilesRestApi . GetTagValueResponse postGetTagValue ( @ Body ProfilesRestApi . PostGetTagValue pGtv ) { } @ PUT ( "//rest//tag//value" ) ProfilesRestApi . UpdateTagValueResponse putUpdateTagValue ( @ Body ProfilesRestApi . PutUpdateTagValue pUtv ) { } @ POST ( "//rest//tag//auth//nxp" ) ProfilesRestApi . VerifyNxpTagResponse postVerifyNxpTag ( @ Body ProfilesRestApi . PostVerifyNxpRequest pNxp ) { } @ POST ( "//rest//tag//auth//otp//request" ) ProfilesRestApi . RequestAuthOtpResponse postRequestAuthOtp ( @ Body ProfilesRestApi . PostRequestAuthOtpRequest pOtpRequest ) { } @ POST ( "//rest//tag//auth//otp//validate" ) ProfilesRestApi . ValidateAuthOtpResponse postValidateAuthOtp ( @ Body ProfilesRestApi . PostValidateAuthOtpRequest pOtpValidate ) { } @ POST ( "//rest//verification//message" ) ProfilesRestApi . GetVerificationMessageResponse postGetVerificationMessage ( @ Body ProfilesRestApi . PostGetVerificationMessage pGvm ) { } @ POST ( "//rest//verification//tags" ) ProfilesRestApi . GetVerificationTagsResponse postGetVerificationTags ( @ Body ProfilesRestApi . PostGetVerificationTags pGvt ) { } @ POST ( "//rest//transaction//{handler}" ) ProfilesRestApi . ProfilesErrorResponse postTransaction ( @ Path ( "handler" ) String handler , @ Body <START_BUG> ProfilesTransactionRequest profilesTransactionRequest ) ; <END_BUG> } public static class ProfilesErrorResponse { int code ; String message ; } public static class GetTagTdnResponse { int code ; String value ; } public static class GetQueryBatchesResponse { int code ; String [ ] batchUrns ; } public static class GetQueryTagsResponse { int code ; String [ ] tagIds ; } public static class PostGetTagKey { String [ ] tagIds ; String appId ; } public static class GetTagKeyResponse { int code ; ProfilesRestApi . TagKeyItem [ ] result ; } public static class TagKeyItem { String tagId ; int tagCode ; String key ; } public static class PostGetTagValue { String [ ] tagIds ; String appId ; } public static class GetTagValueResponse { int code ; ProfilesRestApi . TagValueItem [ ] result ; } public static class PutUpdateTagValue { String appId ; ProfilesRestApi . TagValuesToWrite [ ] tags ; } public static class TagValuesToWrite { String tagId ; String value ; boolean locked ; } public static class UpdateTagValueResponse { int code ; ProfilesRestApi . TagValueWrite [ ] result ; } public static class TagValueWrite { String tagId ; int tagCode ; } public static class TagValueItem { String tagId ; int tagCode ; String value ; boolean locked ; } public static class PostVerifyNxpRequest { String tagId ; String tagVersion ; String signature ; } public static class VerifyNxpTagResponse { int code ; String message ; String tagId ; } public static class PostRequestAuthOtpRequest { String tagId ; String appId ; } public static class RequestAuthOtpResponse { int code ; String message ; String tagId ; String otpRequestId ; String otpVector ; } public static class PostValidateAuthOtpRequest { long timestamp ; String otpRequestId ; int otpResult ; } public static class ValidateAuthOtpResponse { int code ; String message ; String tagId ; } public static class PostGetVerificationMessage { String verificationType ; int verificationState ; } public static class GetVerificationMessageResponse { int code ; String message ; } public static class PostGetVerificationTags { String [ ] tagIds ; String verificationType ; } public static class GetVerificationTagsResponse { int code ; ProfilesRestApi . TagVerificationItem [ ] result ; } public static class TagVerificationItem { public String tagId ; public int tagCode ; public int state ; } }

Fix:
ProfilesTransactionRequest [ ] profilesTransactionRequest ) ;