Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

Unified Diff: base/android/java/src/org/chromium/base/

Issue 1078343002: Move several annotations to annotations package. (Closed) Base URL:
Patch Set: Rebase Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: base/android/java/src/org/chromium/base/
diff --git a/base/android/java/src/org/chromium/base/ b/base/android/java/src/org/chromium/base/
deleted file mode 100644
index 7d18fb04b975ad1fdba60d127cb4bb2e24bc5dbe..0000000000000000000000000000000000000000
--- a/base/android/java/src/org/chromium/base/
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-package org.chromium.base;
-import java.lang.annotation.ElementType;
-import java.lang.annotation.Target;
- * Annotation used for marking methods and fields that are called by reflection.
- * Useful for keeping components that would otherwise be removed by Proguard.
- * Use the value parameter to mention a file that calls this method.
- *
- * Note that adding this annotation to a method is not enough to guarantee that
- * it is kept - either its class must be referenced elsewhere in the program, or
- * the class must be annotated with this as well.
- */
- ElementType.METHOD, ElementType.FIELD, ElementType.TYPE,
- ElementType.CONSTRUCTOR })
-public @interface UsedByReflection {
- String value();

Powered by Google App Engine
This is Rietveld 408576698