package org.ccci.gto.android.common.gson;

import android.support.annotation.NonNull;

import com.google.gson.ExclusionStrategy;
import com.google.gson.FieldAttributes;

public class GsonIgnoreExclusionStrategy implements ExclusionStrategy {
    @Override
    public boolean shouldSkipField(@NonNull final FieldAttributes f) {
        return f.getAnnotation(GsonIgnore.class) != null;
    }

    @Override
    public boolean shouldSkipClass(@NonNull final Class<?> clazz) {
        return clazz.getAnnotation(GsonIgnore.class) != null;
    }
}

@@ -40,52 +40,8 @@
 n;%0A%0A
-import android.support.annotation.NonNull;%0A%0A
 impo
@@ -119,16 +119,53 @@
 butes;%0A%0A
+import androidx.annotation.NonNull;%0A%0A
 public c

update gto-support-gson for AndroidX