OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:isAnnotationPresent
(Results
1 - 25
of
168
) sorted by null
1
2
3
4
5
6
7
/external/mockito/src/main/java/org/mockito/internal/runners/util/
TestMethodsFinder.java
18
if (m.
isAnnotationPresent
(Test.class)) {
/external/guava/guava-tests/test/com/google/common/reflect/
ElementTest.java
44
assertTrue(element.
isAnnotationPresent
(Tested.class));
55
assertTrue(element.
isAnnotationPresent
(Tested.class));
66
assertTrue(element.
isAnnotationPresent
(Tested.class));
77
assertTrue(element.
isAnnotationPresent
(Tested.class));
84
assertTrue(element.
isAnnotationPresent
(Tested.class));
90
assertTrue(element.
isAnnotationPresent
(Tested.class));
109
assertTrue(element.
isAnnotationPresent
(Tested.class));
117
assertTrue(element.
isAnnotationPresent
(Tested.class));
125
assertTrue(element.
isAnnotationPresent
(Tested.class));
135
assertTrue(element.
isAnnotationPresent
(Tested.class))
[
all
...]
/external/guice/extensions/persist/src/com/google/inject/persist/finder/
DynamicFinder.java
41
return method.
isAnnotationPresent
(Finder.class) ? new DynamicFinder(method) : null;
/external/caliper/caliper/src/main/java/com/google/caliper/util/
Reflection.java
35
if (method.
isAnnotationPresent
(annotationClass)) {
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/scanner/
MockScanner.java
79
return field.
isAnnotationPresent
(Spy.class) || field.
isAnnotationPresent
(Mock.class);
InjectMocksScanner.java
64
if (field.
isAnnotationPresent
(annotation)) {
/libcore/ojluni/src/main/java/java/lang/reflect/
AccessibleObject.java
177
public boolean
isAnnotationPresent
(Class<? extends Annotation> annotationClass) {
178
return AnnotatedElement.super.
isAnnotationPresent
(annotationClass);
AnnotatedElement.java
251
default boolean
isAnnotationPresent
(Class<? extends Annotation> annotationClass) {
/frameworks/base/core/tests/utillib/src/android/test/
BandwidthTestCase.java
65
if (method.
isAnnotationPresent
(FlakyTest.class)) {
67
} else if (method.
isAnnotationPresent
(RepetitiveTest.class)) {
72
if (method.
isAnnotationPresent
(UiThreadTest.class)) {
89
} else if (method.
isAnnotationPresent
(BandwidthTest.class) ||
90
testClass.
isAnnotationPresent
(BandwidthTest.class)) {
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DeprecatedFieldTest.java
79
return annotated.
isAnnotationPresent
(Deprecated.class);
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/
FacadeManager.java
63
if (method.
isAnnotationPresent
(RpcDeprecated.class)) {
67
} else if (method.
isAnnotationPresent
(RpcMinSdk.class)) {
/external/testng/src/main/java/org/testng/internal/annotations/
AnnotationHelper.java
219
boolean hasClassAnnotation =
isAnnotationPresent
(annotationFinder, cls, annotationClass);
222
boolean hasMethodAnnotation =
isAnnotationPresent
(annotationFinder, m, annotationClass);
224
isAnnotationPresent
(annotationFinder, m, IFactoryAnnotation.class) ||
225
isAnnotationPresent
(annotationFinder, m, ITestAnnotation.class) ||
226
isAnnotationPresent
(annotationFinder, m, CONFIGURATION_CLASSES);
234
if (
isAnnotationPresent
(annotationFinder, m, IConfigurationAnnotation.class) &&
235
isAnnotationPresent
(annotationFinder, cls, ITestAnnotation.class))
286
private static boolean
isAnnotationPresent
(IAnnotationFinder annotationFinder,
298
private static boolean
isAnnotationPresent
(IAnnotationFinder annotationFinder, Method m,
303
private static boolean
isAnnotationPresent
(IAnnotationFinder annotationFinder, Class<?> cls
[
all
...]
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
ModuleDescriptor.java
21
import static com.google.auto.common.MoreElements.
isAnnotationPresent
;
73
if (
isAnnotationPresent
(moduleMethod, Provides.class)) {
77
if (
isAnnotationPresent
(moduleMethod, Produces.class)) {
InjectConstructorValidator.java
31
import static com.google.auto.common.MoreElements.
isAnnotationPresent
;
95
return
isAnnotationPresent
(input, Inject.class);
/external/mockito/src/main/java/org/mockito/internal/configuration/
SpyAnnotationEngine.java
52
if (field.
isAnnotationPresent
(Spy.class) && !field.
isAnnotationPresent
(InjectMocks.class)) {
141
if (field.
isAnnotationPresent
(u)) {
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
AccessibleObjectTest.java
188
ao.
isAnnotationPresent
(AnnotationRuntime0.class));
190
ao.
isAnnotationPresent
(AnnotationSource0.class));
193
ao.
isAnnotationPresent
(null);
/external/guava/guava/src/com/google/common/reflect/
Element.java
52
@Override public final boolean
isAnnotationPresent
(Class<? extends Annotation> annotationClass) {
53
return accessibleObject.
isAnnotationPresent
(annotationClass);
/tools/tradefederation/core/src/com/android/tradefed/util/
TestLoader.java
106
if (classObj.
isAnnotationPresent
(SuiteClasses.class)) {
110
if (m.
isAnnotationPresent
(org.junit.Test.class)) {
/external/dagger2/compiler/src/it/functional-tests/src/test/java/test/staticprovides/
StaticProvidesTest.java
66
.that(method.
isAnnotationPresent
(Deprecated.class))
/external/mockito/src/main/java/org/mockito/internal/configuration/injection/
SpyOnInjectedFieldsHandler.java
35
if(!fieldReader.isNull() && field.
isAnnotationPresent
(Spy.class)) {
/external/mockito/src/test/java/org/mockitousage/configuration/
CustomizedAnnotationForSmartMockTest.java
46
if (field.
isAnnotationPresent
(SmartMock.class)) {
/frameworks/base/test-runner/src/android/test/
ActivityInstrumentationTestCase2.java
186
if (method.
isAnnotationPresent
(UiThreadTest.class)) {
/libcore/luni/src/test/java/libcore/java/lang/reflect/annotations/
AnnotatedElementTestSupport.java
99
* method also asserts that {@link AnnotatedElement#
isAnnotationPresent
(Class)} and
102
* <p>This method also confirms that {@link AnnotatedElement#
isAnnotationPresent
(Class)} and
111
// getAnnotations() should be consistent with
isAnnotationPresent
() and getAnnotation()
118
element.
isAnnotationPresent
(null);
140
* <p>This method also confirms that {@link AnnotatedElement#
isAnnotationPresent
(Class)} and
177
assertTrue(element.
isAnnotationPresent
(annotation));
180
assertFalse(element.
isAnnotationPresent
(annotation));
199
* Asserts that {@link AnnotatedElement#
isAnnotationPresent
(Class)} returns the expected result.
204
assertEquals("element.
isAnnotationPresent
() for " + element + " and " + annotationType,
205
expected, element.
isAnnotationPresent
(annotationType))
[
all
...]
/external/guice/extensions/mini/src/com/google/inject/mini/
MiniGuice.java
135
if (method.
isAnnotationPresent
(com.google.inject.Provides.class)) {
164
boolean singleton = method.
isAnnotationPresent
(javax.inject.Singleton.class);
192
if (!field.
isAnnotationPresent
(javax.inject.Inject.class)) {
210
if (!constructor.
isAnnotationPresent
(javax.inject.Inject.class)) {
258
boolean singleton = type.
isAnnotationPresent
(javax.inject.Singleton.class);
303
if (!a.annotationType().
isAnnotationPresent
(javax.inject.Qualifier.class)) {
/cts/tests/core/runner/src/com/android/cts/core/internal/runner/
TestLoader.java
179
if (loadedClass.
isAnnotationPresent
(org.junit.runner.RunWith.class)) {
183
if (testMethod.
isAnnotationPresent
(org.junit.Test.class)) {
Completed in 2872 milliseconds
1
2
3
4
5
6
7