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
74
) sorted by null
1
2
3
/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/guava/guava-testlib/test/com/google/common/collect/testing/features/
FeatureEnumTest.java
36
Class<? extends Annotation>
annotationClass
) {
39
annotationClass
),
40
annotationClass
.getAnnotation(TesterAnnotation.class));
42
annotationClass
.getAnnotation(Retention.class);
44
String.format("%s must have a @Retention annotation.",
annotationClass
),
47
String.format("%s must have RUNTIME RetentionPolicy.",
annotationClass
),
50
String.format("%s must be inherited.",
annotationClass
),
51
annotationClass
.getAnnotation(Inherited.class));
56
method =
annotationClass
.getMethod(propertyName);
59
annotationClass
, propertyName))
[
all
...]
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
AnnotationUtil.java
32
Class<? extends Annotation>
annotationClass
) {
34
for (Element element : roundEnv.getElementsAnnotatedWith(
annotationClass
)) {
35
if (element.getAnnotation(
annotationClass
) != null) {
BuildInfoUtil.java
43
Class<T>
annotationClass
) {
45
for (Element element : roundEnv.getElementsAnnotatedWith(
annotationClass
)) {
46
final T info = element.getAnnotation(
annotationClass
);
51
annotationClass
.getCanonicalName());
/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/guava/guava/src/com/google/common/reflect/
Element.java
52
@Override public final boolean isAnnotationPresent(Class<? extends Annotation>
annotationClass
) {
53
return accessibleObject.isAnnotationPresent(
annotationClass
);
56
@Override public final <A extends Annotation> A getAnnotation(Class<A>
annotationClass
) {
57
return accessibleObject.getAnnotation(
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
))
/libcore/luni/src/main/java/libcore/reflect/
AnnotationAccess.java
168
AnnotatedElement element, Class<A>
annotationClass
) {
169
com.android.dex.Annotation a = getAnnotation(element,
annotationClass
);
171
? toAnnotationInstance(getDexClass(element),
annotationClass
, a)
179
AnnotatedElement element, Class<? extends Annotation>
annotationClass
) {
180
return getAnnotation(element,
annotationClass
) != null;
184
AnnotatedElement element, Class<? extends Annotation>
annotationClass
) {
193
String annotationInternalName = InternalNames.getInternalName(
annotationClass
);
198
// the value of
annotationClass
.getTypeIndex(). The
annotationClass
may have been
341
Class<?>
annotationClass
= method.getDeclaringClass()
[
all
...]
/external/guava/guava-testlib/src/com/google/common/collect/testing/features/
FeatureUtil.java
198
Class<? extends Annotation>
annotationClass
= a.annotationType();
199
if (
annotationClass
.isAnnotationPresent(TesterAnnotation.class)) {
217
Class<? extends Annotation>
annotationClass
= testerAnnotation.getClass();
221
presentFeatures = (Feature[])
annotationClass
.getMethod("value")
223
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
479
Class<? extends Annotation>
annotationClass
= getAnnotationClass(annotationClassName);
480
if (
annotationClass
!= null) {
481
return new HasAnnotation(
annotationClass
);
493
Class<? extends Annotation>
annotationClass
= getAnnotationClass(annotationClassName);
494
if (
annotationClass
!= null) {
495
return Predicates.not(new HasAnnotation(
annotationClass
));
511
Class<?>
annotationClass
= Class.forName(annotationClassName);
512
if (
annotationClass
.isAnnotation()) {
513
return (Class<? extends Annotation>)
annotationClass
;
[
all
...]
/external/vogar/src/vogar/target/junit/
Junit4.java
134
Class<?>
annotationClass
= a.annotationType();
136
if (Parameterized.class.isAssignableFrom(
annotationClass
)) {
138
} else if (RunWith.class.isAssignableFrom(
annotationClass
)
141
} else if (Suite.SuiteClasses.class.isAssignableFrom(
annotationClass
)) {
/libcore/libart/src/main/java/java/lang/reflect/
AbstractMethod.java
77
public <T extends Annotation> T getAnnotation(Class<T>
annotationClass
) {
78
return super.getAnnotation(
annotationClass
);
/cts/tools/signature-tools/src/signature/converter/dex/
DexToSigConverter.java
[
all
...]
/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/devtools/tools/lib/
junit-4.12.jar
/prebuilts/tools/common/m2/repository/junit/junit/4.12/
junit-4.12.jar
/external/owasp/sanitizer/lib/junit/
junit-dep.jar
/external/owasp/sanitizer/tools/findbugs/lib/
findbugs.jar
/prebuilts/tools/common/m2/repository/com/google/code/findbugs/findbugs/2.0.3/
findbugs-2.0.3.jar
/prebuilts/tools/common/m2/repository/com/google/code/findbugs/findbugs/3.0.0/
findbugs-3.0.0.jar
Completed in 1413 milliseconds
1
2
3