OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getAnnotation
(Results
1 - 25
of
117
) sorted by null
1
2
3
4
5
/cts/tools/dex-tools/src/dex/structure/
DexAnnotationAttribute.java
38
public DexAnnotation
getAnnotation
();
/external/junit/src/org/junit/internal/builders/
IgnoredBuilder.java
13
if (testClass.
getAnnotation
(Ignore.class) != null)
AnnotatedBuilder.java
22
RunWith annotation= testClass.
getAnnotation
(RunWith.class);
/libcore/luni/src/main/java/java/lang/reflect/
AnnotatedElement.java
40
<T extends Annotation> T
getAnnotation
(Class<T> annotationType);
/frameworks/base/test-runner/src/android/test/suitebuilder/annotation/
HasClassAnnotation.java
39
return testMethod.getEnclosingClass().
getAnnotation
(annotationClass) != null;
HasMethodAnnotation.java
39
return testMethod.
getAnnotation
(annotationClass) != null;
/external/junit/src/org/junit/internal/runners/
TestMethod.java
30
return fMethod.
getAnnotation
(Ignore.class) != null;
34
Test annotation= fMethod.
getAnnotation
(Test.class);
42
Test annotation= fMethod.
getAnnotation
(Test.class);
/external/mockito/src/org/mockito/internal/configuration/injection/scanner/
MockScanner.java
80
return null != field.
getAnnotation
(Spy.class)
81
|| null != field.
getAnnotation
(Mock.class)
82
|| null != field.
getAnnotation
(MockitoAnnotations.Mock.class);
/external/guava/guava/src/com/google/common/eventbus/
AnnotatedHandlerFinder.java
44
Subscribe annotation = method.
getAnnotation
(Subscribe.class);
95
return method.
getAnnotation
(AllowConcurrentEvents.class) != null;
/cts/tools/signature-tools/src/signature/converter/dex/
DexUtil.java
135
getAnnotation
(clazz, INNER_CLASS_ANNOTATION),
249
return
getAnnotation
(annotatedElement, THROWS_ANNOTATION) != null;
264
DexAnnotation annotation =
getAnnotation
(annotatedElement,
305
return
getAnnotation
(annotatedElement, SIGNATURE_ANNOTATION) != null;
320
DexAnnotation annotation =
getAnnotation
(annotatedElement,
342
return
getAnnotation
(
355
return
getAnnotation
(dexClass, ANNOTATION_DEFAULT_ANNOTATION);
368
public static DexAnnotation
getAnnotation
(DexAnnotatedElement element,
468
return
getAnnotation
(clazz, INNER_CLASS_ANNOTATION) != null;
480
return
getAnnotation
(clazz, ENCLOSING_CLASS_ANNOTATION) != null
[
all
...]
/cts/tools/dex-tools/src/dex/reader/
DexAnnotationAttributeImpl.java
64
public DexAnnotation
getAnnotation
() {
/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
() {
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
CstAnnotation.java
93
public Annotation
getAnnotation
() {
/external/junit/src/org/junit/experimental/categories/
Categories.java
140
Category annotation= description.
getAnnotation
(Category.class);
160
IncludeCategory annotation= klass.
getAnnotation
(IncludeCategory.class);
165
ExcludeCategory annotation= klass.
getAnnotation
(ExcludeCategory.class);
178
if (each.
getAnnotation
(Category.class) != null)
/external/junit/src/org/junit/experimental/theories/suppliers/
TestedOnSupplier.java
16
TestedOn testedOn = sig.
getAnnotation
(TestedOn.class);
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
TestDelegates.java
92
if (originalMethod.
getAnnotation
(LayoutlibDelegate.class) == null) {
130
delegateMethod.
getAnnotation
(LayoutlibDelegate.class));
157
if (delegateMethod.
getAnnotation
(LayoutlibDelegate.class) == null) {
/libcore/benchmarks/src/benchmarks/regression/
AnnotatedElementBenchmark.java
67
type.
getAnnotation
(Marker.class);
73
field.
getAnnotation
(Marker.class);
79
method.
getAnnotation
(Marker.class);
/libcore/luni/src/test/java/libcore/java/lang/reflect/
AnnotationsTest.java
97
// getAnnotations() should be consistent with isAnnotationPresent() and
getAnnotation
()
109
element.
getAnnotation
(null);
126
assertNotNull(element.
getAnnotation
(annotation));
129
assertNull(element.
getAnnotation
(annotation));
/libcore/luni/src/test/java/tests/api/java/lang/reflect/
AccessibleObjectTest.java
139
ao.
getAnnotation
(null);
147
InheritedRuntime ir = ao.
getAnnotation
(InheritedRuntime.class);
151
AnnotationRuntime0 rt0 = ao.
getAnnotation
(AnnotationRuntime0.class);
/external/junit/src/org/junit/experimental/theories/
ParameterSignature.java
60
return
getAnnotation
(type) != null;
84
public <T extends Annotation> T
getAnnotation
(Class<T> annotationType) {
/external/junit/src/org/junit/runners/model/
FrameworkMethod.java
153
public <T extends Annotation> T
getAnnotation
(Class<T> annotationType) {
154
return fMethod.
getAnnotation
(annotationType);
/frameworks/base/test-runner/src/android/test/suitebuilder/
TestMethod.java
58
public <T extends Annotation> T
getAnnotation
(Class<T> annotationClass) {
60
return getEnclosingClass().getMethod(getName()).
getAnnotation
(annotationClass);
/libcore/luni/src/main/java/java/lang/
Package.java
82
* @see java.lang.reflect.AnnotatedElement#
getAnnotation
(java.lang.Class)
85
public <A extends Annotation> A
getAnnotation
(Class<A> annotationType) {
124
return
getAnnotation
(annotationType) != null;
/dalvik/tests/004-annotations/src/android/test/anno/
TestAnnotations.java
66
aff = (AnnoFancyField) f.
getAnnotation
(AnnoFancyField.class);
130
property = meth.
getAnnotation
(ExportedProperty.class);
171
anno = SimplyNoted.class.
getAnnotation
(AnnoSimpleType.class);
174
anno = SubNoted.class.
getAnnotation
(AnnoSimpleType.class);
Completed in 1222 milliseconds
1
2
3
4
5