/*
 * Copyright 2014-present Facebook, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may
 * not use this file except in compliance with the License. You may obtain
 * a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations
 * under the License.
 */

package com.facebook.buck.android.support.exopackage;

/**
 * This interface is used to delegate calls from main Application object.
 *
 * Implementations of this interface must have a one-argument constructor that takes
 * an argument of type {@link android.app.Application}.
 */
public interface ApplicationLike {

  /**
   * Same as {@code Application.onCreate()}.
   */
  void onCreate();

  /**
   * Same as {@code Application.onLowMemory()}.
   */
  void onLowMemory();

  /**
   * Same as {@code Application.onTrimMemory(int level)}.
   * @param level
   */
  void onTrimMemory(int level);

  /**
   * Same as {@code Application.onTerminate()}.
   */
  void onTerminate();

}

@@ -655,16 +655,49 @@
 ckage;%0A%0A
+import android.app.Application;%0A%0A
 /**%0A * T
@@ -884,28 +884,16 @@
  %7B@link 
-android.app.
 Applicat
@@ -951,36 +951,36 @@
 %0A   * Same as %7B@
-code
+link
  Application.onC
@@ -975,17 +975,17 @@
 lication
-.
+#
 onCreate
@@ -1028,36 +1028,36 @@
 %0A   * Same as %7B@
-code
+link
  Application.onL
@@ -1052,17 +1052,17 @@
 lication
-.
+#
 onLowMem
@@ -1111,36 +1111,36 @@
 %0A   * Same as %7B@
-code
+link
  Application.onT
@@ -1135,17 +1135,17 @@
 lication
-.
+#
 onTrimMe
@@ -1244,12 +1244,12 @@
 s %7B@
-code
+link
  App
@@ -1256,17 +1256,17 @@
 lication
-.
+#
 onTermin

Fix links in ApplicationLike javadoc