OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:annotationClass
(Results
1 - 25
of
35
) sorted by null
1
2
/frameworks/base/test-runner/src/android/test/suitebuilder/annotation/
HasClassAnnotation.java
32
private Class<? extends Annotation>
annotationClass
;
34
public HasClassAnnotation(Class<? extends Annotation>
annotationClass
) {
35
this.
annotationClass
=
annotationClass
;
39
return testMethod.getEnclosingClass().getAnnotation(
annotationClass
) != null;
HasMethodAnnotation.java
32
private final Class<? extends Annotation>
annotationClass
;
34
public HasMethodAnnotation(Class<? extends Annotation>
annotationClass
) {
35
this.
annotationClass
=
annotationClass
;
39
return testMethod.getAnnotation(
annotationClass
) != null;
HasAnnotation.java
35
public HasAnnotation(Class<? extends Annotation>
annotationClass
) {
37
new HasMethodAnnotation(
annotationClass
),
38
new HasClassAnnotation(
annotationClass
));
/external/mockito/src/org/mockito/internal/util/reflection/
InstanceField.java
66
* @param
annotationClass
The annotation type to check.
69
public boolean isAnnotatedBy(Class<? extends Annotation>
annotationClass
) {
70
return field.isAnnotationPresent(
annotationClass
);
76
* @param
annotationClass
Tha annotation type to retrieve.
80
public <A extends Annotation> A annotation(Class<A>
annotationClass
) {
81
return field.getAnnotation(
annotationClass
);
/external/junit/src/org/junit/runners/model/
TestClass.java
66
* its superclasses that are annotated with {@code
annotationClass
}.
69
Class<? extends Annotation>
annotationClass
) {
70
return getAnnotatedMembers(fMethodsForAnnotations,
annotationClass
);
75
* superclasses that are annotated with {@code
annotationClass
}.
78
Class<? extends Annotation>
annotationClass
) {
79
return getAnnotatedMembers(fFieldsForAnnotations,
annotationClass
);
141
Class<? extends Annotation>
annotationClass
, Class<T> valueClass) {
143
for (FrameworkField each : getAnnotatedFields(
annotationClass
)) {
/external/junit/src/org/junit/internal/runners/
TestClass.java
41
public List<Method> getAnnotatedMethods(Class<? extends Annotation>
annotationClass
) {
46
Annotation annotation= eachMethod.getAnnotation(
annotationClass
);
51
if (runsTopToBottom(
annotationClass
))
/frameworks/testing/androidtestlib/src/com/android/test/runner/
TestRequestBuilder.java
231
Class<? extends Annotation>
annotationClass
= loadAnnotationClass(annotation);
232
if (
annotationClass
!= null) {
233
mFilter = mFilter.intersect(new AnnotationInclusionFilter(
annotationClass
));
243
Class<? extends Annotation>
annotationClass
= loadAnnotationClass(notAnnotation);
244
if (
annotationClass
!= null) {
245
mFilter = mFilter.intersect(new AnnotationExclusionFilter(
annotationClass
));
/external/guava/guava-testlib/src/com/google/common/collect/testing/features/
FeatureUtil.java
200
Class<? extends Annotation>
annotationClass
= a.annotationType();
201
if (
annotationClass
.isAnnotationPresent(TesterAnnotation.class)) {
219
Class<? extends Annotation>
annotationClass
= testerAnnotation.getClass();
223
presentFeatures = (Feature[])
annotationClass
.getMethod("value")
225
absentFeatures = (Feature[])
annotationClass
.getMethod("absent")
/external/mockito/src/org/mockito/internal/configuration/
DefaultAnnotationEngine.java
57
private <A extends Annotation> void registerAnnotationProcessor(Class<A>
annotationClass
, FieldAnnotationProcessor<A> fieldAnnotationProcessor) {
58
annotationProcessorMap.put(
annotationClass
, fieldAnnotationProcessor);
/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
);
/frameworks/base/test-runner/src/android/test/
InstrumentationTestRunner.java
478
Class<? extends Annotation>
annotationClass
= getAnnotationClass(annotationClassName);
479
if (
annotationClass
!= null) {
480
return new HasAnnotation(
annotationClass
);
492
Class<? extends Annotation>
annotationClass
= getAnnotationClass(annotationClassName);
493
if (
annotationClass
!= null) {
494
return Predicates.not(new HasAnnotation(
annotationClass
));
510
Class<?>
annotationClass
= Class.forName(annotationClassName);
511
if (
annotationClass
.isAnnotation()) {
512
return (Class<? extends Annotation>)
annotationClass
;
[
all
...]
/libcore/luni/src/main/java/java/lang/
Class.java
475
native private <A extends Annotation> A getDeclaredAnnotation(Class<A>
annotationClass
);
480
native private boolean isDeclaredAnnotationPresent(Class<? extends Annotation>
annotationClass
);
[
all
...]
/cts/tools/signature-tools/src/signature/converter/dex/
DexToSigConverter.java
[
all
...]
/external/robolectric/lib/main/
junit-dep-4.8.2.jar
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.jdt.apt.core_3.3.401.R36_v20100727-0110.jar
/prebuilts/tools/common/m2/internal/com/google/code/findbugs/findbugs/2.0.1/
findbugs-2.0.1.jar
/libcore/support/src/test/java/tests/resources/
junit4-4.3.1.jar
/external/dexmaker/lib/
mockito-core-1.9.1-SNAPSHOT.jar
/prebuilts/sdk/10/
android.jar
/prebuilts/sdk/11/
android.jar
/prebuilts/sdk/6/
android.jar
/prebuilts/sdk/9/
android.jar
/prebuilts/sdk/13/
android.jar
/prebuilts/sdk/5/
android.jar
/prebuilts/sdk/7/
android.jar
Completed in 496 milliseconds
1
2