public int calc(String data, Object value, Boolean rez){
if(value instanceof MyObject1){
((MyObject1)value).doSomething()
}
}public static String accessToken;
public static int responseCode;switch (Authentication.responseCode)@Override
public void onFailure(Call<String> call, Throwable t) {