/external/robolectric/src/main/java/com/xtremelabs/robolectric/ |
RobolectricTestRunner.java | 7 import java.lang.annotation.Annotation; 439 * {@link com.xtremelabs.robolectric.annotation.EnableStrictI18n} or 440 * {@link com.xtremelabs.robolectric.annotation.DisableStrictI18n}. 453 Annotation[] annos = method.getDeclaringClass().getAnnotations(); 481 * annotation names to test for their presence. 487 private boolean lookForI18nAnnotations(boolean strictI18n, Annotation[] annos) { 490 if (name.equals("com.xtremelabs.robolectric.annotation.EnableStrictI18n")) { 494 if (name.equals("com.xtremelabs.robolectric.annotation.DisableStrictI18n")) { 506 Annotation[] annos = method.getDeclaredAnnotations() [all...] |
/external/proguard/src/proguard/classfile/util/ |
SimplifiedVisitor.java | 25 import proguard.classfile.attribute.annotation.*; 741 public void visitAnnotation(Clazz clazz, Annotation annotation) 748 * Visits the given Annotation of any type of class member. 750 public void visitAnnotation(Clazz clazz, Member member, Annotation annotation) 752 visitAnnotation(clazz, annotation); 756 public void visitAnnotation(Clazz clazz, Field field, Annotation annotation) 758 visitAnnotation(clazz, (Member)field, annotation); [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
ValueEncoder.java | 20 import com.android.dx.rop.annotation.Annotation; 21 import com.android.dx.rop.annotation.NameValuePair; 49 /** annotation value type constant: {@code byte} */ 52 /** annotation value type constant: {@code short} */ 55 /** annotation value type constant: {@code char} */ 58 /** annotation value type constant: {@code int} */ 61 /** annotation value type constant: {@code long} */ 64 /** annotation value type constant: {@code float} */ 67 /** annotation value type constant: {@code double} * [all...] |
/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
ValueEncoder.java | 19 import com.android.dx.rop.annotation.Annotation; 20 import com.android.dx.rop.annotation.NameValuePair; 48 /** annotation value type constant: {@code byte} */ 51 /** annotation value type constant: {@code short} */ 54 /** annotation value type constant: {@code char} */ 57 /** annotation value type constant: {@code int} */ 60 /** annotation value type constant: {@code long} */ 63 /** annotation value type constant: {@code float} */ 66 /** annotation value type constant: {@code double} * [all...] |
/external/junit/src/org/junit/runners/ |
ParentRunner.java | 5 import java.lang.annotation.Annotation; 118 * {@code annotation}, but: 126 protected void validatePublicVoidNoArgMethods(Class<? extends Annotation> annotation, 128 List<FrameworkMethod> methods= getTestClass().getAnnotatedMethods(annotation); 277 protected Annotation[] getRunnerAnnotations() {
|
/dalvik/dx/src/com/android/dx/merge/ |
IndexMap.java | 19 import com.android.dex.Annotation; 86 * A type list, annotation set, annotation directory, or static value at 239 public Annotation adjust(Annotation annotation) { 242 annotation.getReader()); 243 return new Annotation(target, annotation.getVisibility(),
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
AttributedCharacterIteratorAttributeTest.java | 29 import java.text.Annotation;
|
/art/test/044-proxy/src/ |
BasicTest.java | 17 import java.lang.annotation.Annotation; 72 * that annotation calls work correctly on generated classes. 90 Annotation[][] paramAnnos = meth.getParameterAnnotations();
|
/dalvik/tests/044-proxy/src/ |
BasicTest.java | 17 import java.lang.annotation.Annotation; 69 * that annotation calls work correctly on generated classes. 76 Annotation[][] paramAnnos = meth.getParameterAnnotations();
|
/prebuilts/tools/common/proguard/proguard4.7/examples/ |
android.pro | 56 -keepattributes *Annotation*
|
scala.pro | 35 -keepattributes *Annotation*
|
/frameworks/base/test-runner/src/android/test/ |
InstrumentationTestRunner.java | 33 import android.test.suitebuilder.annotation.HasAnnotation; 34 import android.test.suitebuilder.annotation.LargeTest; 40 import java.lang.annotation.Annotation; 106 * <b>Filter test run to tests with given annotation:</b> adb shell am instrument -w 107 * -e annotation com.android.foo.MyAnnotation 111 * e.g. "-e size large -e annotation com.android.foo.MyAnnotation" will run only tests with both 114 * <b>Filter test run to tests <i>without</i> given annotation:</b> adb shell am instrument -w 189 static final String ARGUMENT_ANNOTATION = "annotation"; 472 * Returns the test predicate object, corresponding to the annotation class value provided vi [all...] |
/libcore/luni/src/main/java/java/text/ |
AttributedString.java | 155 if (!(range.value instanceof Annotation)) { 167 return !(range.value instanceof Annotation) 170 return !(range.value instanceof Annotation) 451 if ((value instanceof Annotation && runStart >= start && limit <= end) 452 || (value != null && !(value instanceof Annotation))) {
|
/external/clang/lib/Sema/ |
SemaCXXScopeSpec.cpp | [all...] |
/libcore/libart/src/main/java/java/lang/ |
Class.java | 39 import java.lang.annotation.Annotation; 339 @Override public <A extends Annotation> A getAnnotation(Class<A> annotationType) { 349 @Override public Annotation[] getAnnotations() { [all...] |
/cts/tools/utils/ |
CollectAllTests.java | 32 import java.lang.annotation.Annotation; 346 Annotation[] annotations = testMethod.getAnnotations(); 347 for (Annotation annot : annotations) {
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
ValueEncoder.java | 19 import com.android.dexgen.rop.annotation.Annotation; 20 import com.android.dexgen.rop.annotation.NameValuePair; 50 /** annotation value type constant: {@code byte} */ 53 /** annotation value type constant: {@code short} */ 56 /** annotation value type constant: {@code char} */ 59 /** annotation value type constant: {@code int} */ 62 /** annotation value type constant: {@code long} */ 65 /** annotation value type constant: {@code float} */ 68 /** annotation value type constant: {@code double} * [all...] |
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/ |
ShadowWrangler.java | 12 import java.lang.annotation.Annotation; 318 Annotation[] annos = method.getAnnotations(); 425 for (Annotation annotation : declaringClass.getAnnotations()) { 426 if (annotation.annotationType().toString().equals("interface com.xtremelabs.robolectric.internal.Implements")) {
|
/frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/ |
DelegateClassAdapterTest.java | 40 import java.lang.annotation.Annotation; 117 // Check that the native method does NOT have the new annotation 121 Annotation[] a = m[2].getAnnotations(); 185 // Check that the native method now has the new annotation and is not native 189 Annotation[] a = m[2].getAnnotations();
|
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
ConstructorTest.java | 20 import java.lang.annotation.Annotation; 21 import java.lang.annotation.ElementType; 22 import java.lang.annotation.Retention; 23 import java.lang.annotation.RetentionPolicy; 24 import java.lang.annotation.Target; 109 Annotation[][] paramAnnotations = ctor1.getParameterAnnotations(); 129 Annotation[] annotations = ctor1.getDeclaredAnnotations();
|
/prebuilts/sdk/tools/lib/ |
common.jar | |
/external/proguard/src/proguard/classfile/visitor/ |
ClassPrinter.java | 25 import proguard.classfile.attribute.annotation.*; 26 import proguard.classfile.attribute.annotation.visitor.*; 590 " Annotation default attribute:"); 841 public void visitAnnotation(Clazz clazz, Annotation annotation) 843 println(visitorInfo(annotation) + 844 " Annotation [" + clazz.getString(annotation.u2typeIndex) + "]:"); 847 annotation.elementValuesAccept(clazz, this); 854 public void visitConstantElementValue(Clazz clazz, Annotation annotation, ConstantElementValue constantElementValue [all...] |
/external/robolectric/lib/main/ |
junit-dep-4.8.2.jar | |
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
Filter.java | 29 import java.lang.annotation.Annotation; 562 Annotation annotation; local 564 if ((annotation = field.getAnnotation(GenerateFinalPort.class)) != null) { 565 GenerateFinalPort generator = (GenerateFinalPort)annotation; 582 Annotation annotation; local 584 if ((annotation = field.getAnnotation(GenerateFieldPort.class)) != null) { 585 GenerateFieldPort generator = (GenerateFieldPort)annotation; [all...] |
/prebuilts/devtools/tools/lib/ |
common.jar | |