package com.avg.zaap.crashlibrary.provider.app;

import android.support.annotation.NonNull;

import java.lang.reflect.Field;

/**
 * This interface defines the common behavior for the class field helpers.
 * <p>
 * Created by marek.osvald on 5.5.2016.
 */
public interface IClassFieldHelper {

    /**
     * Loads accessible fields from a class instance.
     *
     * @param clazz class instance to load the fields from
     * @return an array of accessible fields
     */
    @NonNull
    Field[] loadFields(@NonNull Class clazz);

}
