Best solution for static member being accessed by instance reference
<p>I have this method in nearly all my classes.</p>

<pre><code>//listener - info
private void clickInfoListener(final ImageView iv, final int title, final int text){
    iv.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View v) {
            materialHelper.showInfoDialog(MainActivity.this, iv, title, text);
        }
    });
}
</code></pre>

<p>Accessing this static method in a helper class</p>

<pre><code>public static void showInfoDialog(Context context, final ImageView iv, final int title, final int text){
    iv.setImageResource(R.drawable.ic_info_touched);
    //
    AlertDialog.Builder builder = new AlertDialog.Builder(context);
    builder.setCancelable(true);
    builder.setTitle(title);
    builder.setMessage(text);
    builder.setPositiveButton(R.string.gotIt, null);
    builder.show();
    //
    Handler handler = new Handler();
    handler.postDelayed(new Runnable() {
        public void run() {
            iv.setImageResource(R.drawable.ic_info_primary);
        }
    }, 25);
}
</code></pre>

<p>I am getting lint warning of "static member being accessed by instance reference".  I don't know how to not use "this" here.  So I have two options.</p>

<p>1) Ignore the lint warning</p>

<p>2) Drop the "static" in my helper method.</p>

<p>Which is better?  Or propose a third solution.</p>