diff options
author | 2012-10-03 17:36:45 +0900 | |
---|---|---|
committer | 2012-10-22 11:18:43 -0700 | |
commit | 15f6d4ae34664ea3d92827a2c3003198c0bac70b (patch) | |
tree | 310fc437a995e70b5d7c0723e7edab716c27b77b /java/src/com/android/inputmethod/annotations/UsedForTesting.java | |
parent | 243c1fecc61f4cf0a5fda3143987902f0bf4fa9d (diff) | |
download | latinime-15f6d4ae34664ea3d92827a2c3003198c0bac70b.tar.gz latinime-15f6d4ae34664ea3d92827a2c3003198c0bac70b.tar.xz latinime-15f6d4ae34664ea3d92827a2c3003198c0bac70b.zip |
Add @UsedForTesting and @ExternallyReferenced annotations
Bug: 7268357
Change-Id: I0b7e0c19f04af9ae30874d0a4c26ad81bc80be8c
Diffstat (limited to 'java/src/com/android/inputmethod/annotations/UsedForTesting.java')
-rw-r--r-- | java/src/com/android/inputmethod/annotations/UsedForTesting.java | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/annotations/UsedForTesting.java b/java/src/com/android/inputmethod/annotations/UsedForTesting.java new file mode 100644 index 000000000..2ada091e4 --- /dev/null +++ b/java/src/com/android/inputmethod/annotations/UsedForTesting.java @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2012 The Android Open Source Project + * + * 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.android.inputmethod.annotations; + +/** + * Denotes that the class, method or field should not be eliminated by ProGuard, + * so that unit tests can access it. (See proguard.flags) + */ +public @interface UsedForTesting { +} |