fb.java 1.36 KB
import android.annotation.TargetApi;
import android.support.annotation.RequiresApi;
import android.util.Log;
import android.widget.TextView;
import java.lang.reflect.Field;

@TargetApi(9)
@RequiresApi(9)
public final class fb
{
  public static Field a;
  public static boolean b;
  public static Field c;
  public static boolean d;
  public static Field e;
  public static boolean f;
  public static Field g;
  public static boolean h;
  
  public static int a(Field paramField, TextView paramTextView)
  {
    try
    {
      int i = paramField.getInt(paramTextView);
      return i;
    }
    catch (IllegalAccessException paramTextView)
    {
      new StringBuilder("Could not retrieve value of ").append(paramField.getName()).append(" field.");
    }
    return -1;
  }
  
  public static Field a(String paramString)
  {
    Object localObject = null;
    try
    {
      Field localField = TextView.class.getDeclaredField(paramString);
      localObject = localField;
      localField.setAccessible(true);
      return localField;
    }
    catch (NoSuchFieldException localNoSuchFieldException)
    {
      Log.e("TextViewCompatGingerbread", "Could not retrieve " + paramString + " field.");
    }
    return (Field)localObject;
  }
}


/* Location:              /home/merong/decompile/hackery-dex2jar.jar!/fb.class
 * Java compiler version: 6 (50.0)
 * JD-Core Version:       0.7.1
 */