GlobalApplication

import android.app.Application;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.os.Build;
import android.support.v4.util.LruCache;

import com.kakao.auth.KakaoSDK;
import com.kakao.push.PushService;
import com.kakao.util.helper.log.Logger;

public class GlovalApplication extends Application {
private static void GlobalApplication instance = null;
private ImageLoader imageLoader;

/**
 * singleton 애플리케이션 객체를 얻는다.
 * @return singleton 애플리케이션 객체
 */

public static GlobalApplication getGlobalApplicationContext() {
    if(instance == null)
        throw new IllegalStateException("this application does not inherit com.kakao.GlobalApplication");
    return instance;
}

/**
 * 이미지 로더, 이미지 캐시, 요청 큐를 초기화한다.
 */
@Override
public void onCreate() {
    super.onCreate();
    instance = this;

    KakaoSDK.init(new KakaoSDKAdapter());
    PushService.init();

    final RequestQueue requestQueue = Volley.newRequestQueue(this);

    ImageLoader.ImageCache imageCache = new ImageLoader.ImageCache() {
        final LruCache<String, Bitmap> imageCache = new LruCache<String, Bitmap>(30);

        @Override
        public void putBitmap(String key, Bitmap value) {
            imageCache.put(key, value);
        }

        @Override
        public Bitmap getBitmap(String key) {
            return imageCache.get(key);
        }
    };

    imageLoader = new ImageLoader(requestQueue, imageCache);

    createNotificationChannel();
}

/**
 * 이미지 로더를 반환한다.
 * @return 이미지 로더
 */
public ImageLoader getImageLoader() {
    return imageLoader;
}

/**
 * 애플리케이션 종료시 singleton 어플리케이션 객체 초기화한다.
 */
@Override
public void onTerminate() {
    super.onTerminate();
    instance = null;
}

/**
 * For API level above or equalt o 26, Separate notification
 */
private void createNotificationChannel() {
    if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
        NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
        if (nm == null) {
            Logger.e("Failed to fetch NotificationManager from context.");
            return;
        }
        String channelId = "kakao_push_channel";
        String channelName = "Kakao SDK Push";
        NotificationChannel channel = new NotificationChannel(channelId, channelName, NotificationManager.IMPORTANCE_DEFAULT);
        channel.enableLights(true);
        channel.setLightColor(Color.RED);
        channel.enableVibration(true);
        nm.createNotificationChannel(channel);
        Logger.d("successfully created a notification channel.");
    }
}

}

오류가 발생하신건가요?
어떠한 질문인지 더 상세히 부탁드립니다.