HomeSort by relevance Sort by last modified time
    Searched defs:getAnnotation (Results 1 - 25 of 439) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /cts/tools/dex-tools/src/dex/structure/
DexAnnotationAttribute.java 38 public DexAnnotation getAnnotation();
  /external/junit/src/main/java/org/junit/runners/model/
Annotatable.java 19 <T extends Annotation> T getAnnotation(Class<T> annotationType);
FrameworkField.java 34 public <T extends Annotation> T getAnnotation(Class<T> annotationType) {
35 return field.getAnnotation(annotationType);
  /external/guice/core/src/com/google/inject/spi/
ProvidesMethodBinding.java 49 Annotation getAnnotation();
  /cts/tools/dex-tools/src/dex/reader/
DexAnnotationAttributeImpl.java 64 public DexAnnotation getAnnotation() {
  /external/junit-params/src/main/java/junitparams/internal/annotation/
FrameworkMethodAnnotations.java 27 public <T extends Annotation> T getAnnotation(Class<T> annotationType) {
28 return frameworkMethod.getAnnotation(annotationType);
32 return getAnnotation(annotation) != null;
40 CustomParameters customParameters = frameworkMethod.getAnnotation(CustomParameters.class);
46 customParameters = annotation.annotationType().getAnnotation(CustomParameters.class);
  /external/mockito/src/test/java/org/mockito/
AnnotationsAreCopiedFromMockedTypeTest.java 22 AnnotationWithDefaultValue onClassDefaultValue = mock(OnClass.class).getClass().getAnnotation(AnnotationWithDefaultValue.class);
23 AnnotationWithCustomValue onClassCustomValue = mock(OnClass.class).getClass().getAnnotation(AnnotationWithCustomValue.class);
33 AnnotationWithDefaultValue onClassDefaultValue = method("method", mock(OnMethod.class)).getAnnotation(AnnotationWithDefaultValue.class);
34 AnnotationWithCustomValue onClassCustomValue = method("method", mock(OnMethod.class)).getAnnotation(AnnotationWithCustomValue.class);
42 AnnotationWithDefaultValue onClassDefaultValue = firstParamOf(method("method", mock(OnMethod.class))).getAnnotation(AnnotationWithDefaultValue.class);
43 AnnotationWithCustomValue onClassCustomValue = firstParamOf(method("method", mock(OnMethod.class))).getAnnotation(AnnotationWithCustomValue.class);
55 return getAnnotation(annotationClass) != null;
60 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) {
  /libcore/ojluni/src/main/java/java/lang/reflect/
AnnotatedElement.java 106 * <tr><td align=right>{@code T}</td><td>{@link #getAnnotation(Class) getAnnotation(Class&lt;T&gt;)}
239 * {@code getAnnotation(annotationClass) != null}
252 return getAnnotation(annotationClass) != null;
267 <T extends Annotation> T getAnnotation(Class<T> annotationClass);
289 * The difference between this method and {@link #getAnnotation(Class)}
AccessibleObject.java 167 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) {
205 // getAnnotation.
206 return getAnnotation(annotationClass);
Constructor.java 372 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) {
373 return super.getAnnotation(annotationClass);
Method.java 481 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) {
482 return super.getAnnotation(annotationClass);
Parameter.java 272 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) {
304 // getAnnotation.
305 return getAnnotation(annotationClass);
  /dalvik/dexgen/src/com/android/dexgen/rop/cst/
CstAnnotation.java 93 public Annotation getAnnotation() {
  /dalvik/dx/src/com/android/dx/rop/cst/
CstAnnotation.java 93 public Annotation getAnnotation() {
  /cts/tools/dex-tools/test/dex/reader/
DexTestsCommon.java 117 protected DexAnnotation getAnnotation(DexAnnotatedElement element, String annotationType) {
  /external/guava/guava/src/com/google/common/reflect/
Parameter.java 66 return getAnnotation(annotationType) != null;
71 public <A extends Annotation> A getAnnotation(Class<A> annotationType) {
Element.java 56 @Override public final <A extends Annotation> A getAnnotation(Class<A> annotationClass) {
57 return accessibleObject.getAnnotation(annotationClass);
  /external/guava/guava-testlib/test/com/google/common/collect/testing/features/
FeatureEnumTest.java 40 annotationClass.getAnnotation(TesterAnnotation.class));
42 annotationClass.getAnnotation(Retention.class);
51 annotationClass.getAnnotation(Inherited.class));
  /external/vogar/src/vogar/target/junit/
VogarBlockJUnit4ClassRunner.java 136 public <T extends Annotation> T getAnnotation(Class<T> annotationType) {
  /external/guice/core/src/com/google/inject/internal/
ProviderMethod.java 143 public Annotation getAnnotation() {
  /external/junit/src/main/java/org/junit/experimental/theories/
ParameterSignature.java 99 return getAnnotation(type) != null;
126 public <T extends Annotation> T getAnnotation(Class<T> annotationType) {
  /external/junit/src/main/java/org/junit/runner/
Description.java 259 public <T extends Annotation> T getAnnotation(Class<T> annotationType) {
  /frameworks/base/test-runner/src/android/test/suitebuilder/
TestMethod.java 62 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) {
64 return getEnclosingClass().getMethod(getName()).getAnnotation(annotationClass);
  /libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
AnnotationsTest.java 98 RetentionAnnotations.class.getAnnotation(ClassRetentionAnnotation.class);
104 RetentionAnnotations.class.getAnnotation(ClassRetentionAnnotation.class);
109 assertNotNull(RetentionAnnotations.class.getAnnotation(RuntimeRetentionAnnotation.class));
110 assertNull(RetentionAnnotations.class.getAnnotation(SourceRetentionAnnotation.class));
  /external/guice/core/test/com/google/inject/
KeyTest.java 146 Foo instance = getClass().getDeclaredField("baz").getAnnotation(Foo.class);
242 AllDefaults allDefaults = HasAnnotations.class.getAnnotation(AllDefaults.class);
245 Marker marker = HasAnnotations.class.getAnnotation(Marker.class);
249 assertNull(noDefaults.getAnnotation());
253 assertNull(someDefaults.getAnnotation());

Completed in 746 milliseconds

1 2 3 4 5 6 7 8 91011>>