package com.intentfilter.androidpermissions.models;

import androidx.annotation.NonNull;

import org.parceler.Parcel;
import org.parceler.ParcelConstructor;

@Parcel
public class DeniedPermission {
    String permission;
    boolean shouldShowRationale;

    @ParcelConstructor
    public DeniedPermission(String permission, boolean shouldShowRationale) {
        this.permission = permission;
        this.shouldShowRationale = shouldShowRationale;
    }

    public boolean shouldShowRationale() {
        return shouldShowRationale;
    }

    @NonNull
    @Override
    public String toString() {
        return permission;
    }


    @Override
    public boolean equals(Object anotherDeniedPermission) {
        if (this == anotherDeniedPermission) return true;
        if (anotherDeniedPermission == null) return false;
        return permission.equals(((DeniedPermission) anotherDeniedPermission).permission);
    }

    @Override
    public int hashCode() {
        return permission.hashCode();
    }
}

@@ -195,16 +195,22 @@
 n %7B%0A    
+final 
 String p
@@ -224,16 +224,22 @@
 on;%0A    
+final 
 boolean 
@@ -640,17 +640,16 @@
 %0A    %7D%0A%0A
-%0A
     @Ove

Make fields in DeniedPermission final.