Source:
<code>private String methodNameToCleanupResource(MethodInvocation node) { if (isMethodIgnoringParameters( node, "android.database.sqlite.SQLiteDatabase", <START> new String[]{"query", "rawQuery", "queryWithFactory", "rawQueryWithFactory"}) <END> ) { return "close"; } else if (isMethodIgnoringParameters( node, "android.content.ContentProvider", new String[]{"query" , "rawQuery", "queryWithFactory", "rawQueryWithFactory"}) ) { return "close"; } else if (isMethodIgnoringParameters( node, "android.content.ContentResolver", new String[]{"query", "rawQuery", "queryWithFactory", "rawQueryWithFactory"}) ) { return "close"; } else if (isMethodIgnoringParameters( node, "android.content.ContentProviderClient", new String[]{"query", "rawQuery", "queryWithFactory", "rawQueryWithFactory"}) ) { return "close"; } else if (isMethodIgnoringParameters( node, "android.content.Context", "obtainStyledAttributes") ) { return "recycle"; } else if (isMethodIgnoringParameters( node, "android.content.res.Resources", new String[]{"obtainTypedArray", "obtainAttributes", "obtainStyledAttributes"}) ) { return "recycle"; } else if (isMethod( node, "android.view.VelocityTracker", "obtain") ) { return "recycle"; } else if (isMethodIgnoringParameters( node, "android.os.Handler", "obtainMessage") ) { return "recycle"; } else if (isMethodIgnoringParameters( node, "android.os.Message", "obtain") ) { return "recycle"; } else if (isMethod( node, "android.view.MotionEvent", "obtainNoHistory", "android.view.MotionEvent") ) { return "recycle"; } else if (isMethodIgnoringParameters( node, "android.view.MotionEvent", "obtain") ) { return "recycle"; } else if (isMethod( node, "android.os.Parcel", "obtain") ) { return "recycle"; } else if (isMethodIgnoringParameters( node, "android.content.ContentResolver", "acquireContentProviderClient") ) { return "release"; } return null; }</code><technical_language>moving variable arguments, I get rid of this new String[] {</technical_language>

Target:
private String methodNameToCleanupResource(MethodInvocation node) { if (isMethodIgnoringParameters( node, "android.database.sqlite.SQLiteDatabase", "query", "rawQuery", "queryWithFactory", "rawQueryWithFactory") ) { return "close"; } else if (isMethodIgnoringParameters( node, "android.content.ContentProvider", "query" , "rawQuery", "queryWithFactory", "rawQueryWithFactory") ) { return "close"; } else if (isMethodIgnoringParameters( node, "android.content.ContentResolver", "query", "rawQuery", "queryWithFactory", "rawQueryWithFactory") ) { return "close"; } else if (isMethodIgnoringParameters( node, "android.content.ContentProviderClient", "query", "rawQuery", "queryWithFactory", "rawQueryWithFactory") ) { return "close"; } else if (isMethodIgnoringParameters( node, "android.content.Context", "obtainStyledAttributes") ) { return "recycle"; } else if (isMethodIgnoringParameters( node, "android.content.res.Resources", "obtainTypedArray", "obtainAttributes", "obtainStyledAttributes") ) { return "recycle"; } else if (isMethod( node, "android.view.VelocityTracker", "obtain") ) { return "recycle"; } else if (isMethod( node, "android.view.MotionEvent", "obtainNoHistory", "android.view.MotionEvent") ) { return "recycle"; } else if (isMethodIgnoringParameters( node, "android.view.MotionEvent", "obtain") ) { return "recycle"; } else if (isMethod( node, "android.os.Parcel", "obtain") ) { return "recycle"; } else if (isMethodIgnoringParameters( node, "android.content.ContentResolver", "acquireContentProviderClient") ) { return "release"; } return null; }