Searched refs:annotationType (Results 1 - 25 of 138) sorted by relevance

123456

/external/annotation-tools/scene-lib/src/annotations/el/
H A DDefException.java18 public final String annotationType; field in class:DefException
20 DefException(String annotationType) { argument
21 super("Conflicting definition of annotation type " + annotationType);
22 this.annotationType = annotationType;
/external/guice/core/src/com/google/inject/internal/
H A DScopeBindingProcessor.java40 Class<? extends Annotation> annotationType = checkNotNull(command.getAnnotationType(), "annotation type");
42 if (!Annotations.isScopeAnnotation(annotationType)) {
43 errors.missingScopeAnnotation(annotationType);
47 if (!Annotations.isRetainedAtRuntime(annotationType)) {
48 errors.missingRuntimeRetention(annotationType);
52 ScopeBinding existing = injector.state.getScopeBinding(annotationType);
55 errors.duplicateScopes(existing, annotationType, scope);
58 injector.state.putScopeBinding(annotationType, command);
H A DAnnotations.java59 public static boolean isMarker(Class<? extends Annotation> annotationType) { argument
60 return annotationType.getDeclaredMethods().length == 0;
63 public static boolean isAllDefaultMethods(Class<? extends Annotation> annotationType) { argument
65 for (Method m : annotationType.getDeclaredMethods()) {
87 public static <T extends Annotation> T generateAnnotation(Class<T> annotationType) { argument
89 isAllDefaultMethods(annotationType), "%s is not all default methods", annotationType);
90 return (T)cache.getUnchecked(annotationType);
93 private static <T extends Annotation> T generateAnnotationImpl(final Class<T> annotationType) { argument
94 final Map<String, Object> members = resolveMembers(annotationType);
117 resolveMembers( Class<? extends Annotation> annotationType) argument
175 isRetainedAtRuntime(Class<? extends Annotation> annotationType) argument
255 isScopeAnnotation(Class<? extends Annotation> annotationType) argument
313 isBindingAnnotation(Class<? extends Annotation> annotationType) argument
333 canonicalizeIfNamed( Class<? extends Annotation> annotationType) argument
[all...]
H A DNullability.java41 Class<? extends Annotation> type = a.annotationType();
H A DExposureBuilder.java46 public void annotatedWith(Class<? extends Annotation> annotationType) { argument
47 Preconditions.checkNotNull(annotationType, "annotationType");
49 key = Key.get(key.getTypeLiteral(), annotationType);
/external/proguard/src/proguard/
H A DMemberSpecification.java34 public final String annotationType; field in class:MemberSpecification
59 * @param annotationType the name of the class that must be an
73 String annotationType,
79 this.annotationType = annotationType;
100 (this.annotationType == null ? other.annotationType == null : this.annotationType.equals(other.annotationType)) &&
110 (annotationType
71 MemberSpecification(int requiredSetAccessFlags, int requiredUnsetAccessFlags, String annotationType, String name, String descriptor) argument
[all...]
H A DClassSpecification.java38 public final String annotationType; field in class:ClassSpecification
71 classSpecification.annotationType,
90 * @param annotationType the name of the class that must be an
110 String annotationType,
118 annotationType,
137 * @param annotationType the name of the class that must be an
159 String annotationType,
169 this.annotationType = annotationType;
226 (this.annotationType
107 ClassSpecification(String comments, int requiredSetAccessFlags, int requiredUnsetAccessFlags, String annotationType, String className, String extendsAnnotationType, String extendsClassName) argument
156 ClassSpecification(String comments, int requiredSetAccessFlags, int requiredUnsetAccessFlags, String annotationType, String className, String extendsAnnotationType, String extendsClassName, List fieldSpecifications, List methodSpecifications) argument
[all...]
/external/guice/core/src/com/google/inject/spi/
H A DScopeBinding.java39 private final Class<? extends Annotation> annotationType; field in class:ScopeBinding
42 ScopeBinding(Object source, Class<? extends Annotation> annotationType, Scope scope) { argument
44 this.annotationType = checkNotNull(annotationType, "annotationType");
53 return annotationType;
65 binder.withSource(getSource()).bindScope(annotationType, scope);
/external/guava/guava/src/com/google/common/reflect/
H A DParameter.java65 @Override public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { argument
66 return getAnnotation(annotationType) != null;
71 public <A extends Annotation> A getAnnotation(Class<A> annotationType) { argument
72 checkNotNull(annotationType);
74 if (annotationType.isInstance(annotation)) {
75 return annotationType.cast(annotation);
89 public <A extends Annotation> A[] getAnnotationsByType(Class<A> annotationType) { argument
90 return getDeclaredAnnotationsByType(annotationType);
106 public <A extends Annotation> A getDeclaredAnnotation(Class<A> annotationType) { argument
107 checkNotNull(annotationType);
119 getDeclaredAnnotationsByType(Class<A> annotationType) argument
[all...]
/external/guice/core/src/com/google/inject/
H A DKey.java76 protected Key(Class<? extends Annotation> annotationType) { argument
77 this.annotationStrategy = strategyFor(annotationType);
250 Class<? extends Annotation> annotationType) {
251 return new Key<T>(type, strategyFor(annotationType));
272 Class<? extends Annotation> annotationType) {
273 return new Key<Object>(type, strategyFor(annotationType));
294 Class<? extends Annotation> annotationType) {
295 return new Key<T>(typeLiteral, strategyFor(annotationType));
367 Class<? extends Annotation> annotationType = annotation.annotationType();
249 get(Class<T> type, Class<? extends Annotation> annotationType) argument
271 get(Type type, Class<? extends Annotation> annotationType) argument
293 get(TypeLiteral<T> typeLiteral, Class<? extends Annotation> annotationType) argument
381 strategyFor(Class<? extends Annotation> annotationType) argument
394 ensureRetainedAtRuntime( Class<? extends Annotation> annotationType) argument
401 ensureIsBindingAnnotation(Class<? extends Annotation> annotationType) argument
476 final Class<? extends Annotation> annotationType; field in class:Key.AnnotationTypeStrategy
481 AnnotationTypeStrategy(Class<? extends Annotation> annotationType, Annotation annotation) argument
[all...]
/external/guice/core/src/com/google/inject/binder/
H A DAnnotatedConstantBindingBuilder.java32 Class<? extends Annotation> annotationType);
31 annotatedWith( Class<? extends Annotation> annotationType) argument
H A DAnnotatedElementBuilder.java32 void annotatedWith(Class<? extends Annotation> annotationType); argument
H A DAnnotatedBindingBuilder.java32 Class<? extends Annotation> annotationType);
31 annotatedWith( Class<? extends Annotation> annotationType) argument
/external/junit/src/main/java/org/junit/runners/model/
H A DAnnotatable.java19 <T extends Annotation> T getAnnotation(Class<T> annotationType); argument
/external/testng/src/main/java/org/testng/xml/
H A DSuiteGenerator.java24 Map<String, String> parameters, String annotationType, int logLevel) {
34 parameters, annotationType, logLevel);
40 parameters, annotationType, logLevel);
46 annotationType, logLevel);
60 Map<String, String> parameters, String annotationType, int logLevel) {
63 parameters, annotationType, logLevel);
67 parameters, annotationType, logLevel);
70 parameters, annotationType, logLevel);
22 createSuite(String projectName, Collection<String> packageNames, Map<String, Collection<String>> classAndMethodNames, Collection<String> groupNames, Map<String, String> parameters, String annotationType, int logLevel) argument
57 createCustomizedSuite(String projectName, Collection<String> packageNames, Collection<String> classNames, Collection<String> methodNames, Collection<String> groupNames, Map<String, String> parameters, String annotationType, int logLevel) argument
/external/junit-params/src/main/java/junitparams/internal/annotation/
H A DFrameworkMethodAnnotations.java27 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { argument
28 return frameworkMethod.getAnnotation(annotationType);
46 customParameters = annotation.annotationType().getAnnotation(CustomParameters.class);
/external/testng/src/main/java/org/testng/junit/
H A DJUnit4TestRecognizer.java18 if (RunWith.class.isAssignableFrom(an.annotationType())) {
25 if (org.junit.Test.class.isAssignableFrom(a.annotationType())) {
/external/junit/src/main/java/org/junit/experimental/theories/
H A DParameterSignature.java102 public <T extends Annotation> T findDeepAnnotation(Class<T> annotationType) { argument
104 return findDeepAnnotation(annotations2, annotationType, 3);
108 Annotation[] annotations, Class<T> annotationType, int depth) {
113 if (annotationType.isInstance(each)) {
114 return annotationType.cast(each);
116 Annotation candidate = findDeepAnnotation(each.annotationType()
117 .getAnnotations(), annotationType, depth - 1);
119 return annotationType.cast(candidate);
126 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { argument
128 if (annotationType
107 findDeepAnnotation( Annotation[] annotations, Class<T> annotationType, int depth) argument
[all...]
/external/guice/extensions/grapher/src/com/google/inject/grapher/
H A DShortNameFactory.java53 Class<? extends Annotation> annotationType = key.getAnnotationType();
55 annotationType = annotation.annotationType();
58 String canonicalName = annotationType.getName();
59 String simpleName = annotationType.getSimpleName();
62 } else if (annotationType != null) {
63 return "@" + annotationType.getSimpleName();
/external/guice/core/src/com/google/inject/matcher/
H A DMatchers.java97 Class<? extends Annotation> annotationType) {
98 Retention retention = annotationType.getAnnotation(Retention.class);
100 "Annotation %s is missing RUNTIME retention", annotationType.getSimpleName());
108 final Class<? extends Annotation> annotationType) {
109 return new AnnotatedWithType(annotationType);
114 private final Class<? extends Annotation> annotationType; field in class:Matchers.AnnotatedWithType
116 public AnnotatedWithType(Class<? extends Annotation> annotationType) { argument
117 this.annotationType = checkNotNull(annotationType, "annotation type");
118 checkForRuntimeRetention(annotationType);
96 checkForRuntimeRetention( Class<? extends Annotation> annotationType) argument
107 annotatedWith( final Class<? extends Annotation> annotationType) argument
[all...]
/external/guice/extensions/assistedinject/src/com/google/inject/assistedinject/
H A DFactoryModuleBuilder.java273 Class<? extends Annotation> annotationType, Class<? extends T> target) {
274 return implement(source, annotationType, TypeLiteral.get(target));
281 Class<? extends Annotation> annotationType, TypeLiteral<? extends T> target) {
282 return implement(TypeLiteral.get(source), annotationType, target);
289 Class<? extends Annotation> annotationType, Class<? extends T> target) {
290 return implement(source, annotationType, TypeLiteral.get(target));
297 Class<? extends Annotation> annotationType, TypeLiteral<? extends T> target) {
298 return implement(Key.get(source, annotationType), target);
272 implement(Class<T> source, Class<? extends Annotation> annotationType, Class<? extends T> target) argument
280 implement(Class<T> source, Class<? extends Annotation> annotationType, TypeLiteral<? extends T> target) argument
288 implement(TypeLiteral<T> source, Class<? extends Annotation> annotationType, Class<? extends T> target) argument
296 implement(TypeLiteral<T> source, Class<? extends Annotation> annotationType, TypeLiteral<? extends T> target) argument
/external/guice/extensions/multibindings/src/com/google/inject/multibindings/
H A DMultibindingsScanner.java135 MapKey mapKey = annotation.annotationType().getAnnotation(MapKey.class);
144 Method valueMethod = annotation.annotationType().getDeclaredMethod("value");
147 annotation.annotationType());
152 annotation.annotationType());
164 if (!mapKeyAnnotation.annotationType().getAnnotation(MapKey.class).unwrapValue()) {
165 return new TypeAndValue(TypeLiteral.get(mapKeyAnnotation.annotationType()), mapKeyAnnotation);
168 Method valueMethod = mapKeyAnnotation.annotationType().getDeclaredMethod("value");
171 TypeLiteral.get(mapKeyAnnotation.annotationType()).getReturnType(valueMethod);
/external/jacoco/org.jacoco.core/src/org/jacoco/core/internal/analysis/filter/
H A DAbstractAnnotatedMethodFilter.java28 * @param annotationType
31 protected AbstractAnnotatedMethodFilter(final String annotationType) { argument
32 this.descType = "L" + annotationType + ";";
/external/junit-params/src/main/java/junitparams/converters/
H A DParamAnnotation.java16 if (annotation.annotationType().isAssignableFrom(Param.class)) {
19 return annotation.annotationType().getAnnotation(Param.class);
/external/robolectric-shadows/processor/src/main/java/org/robolectric/annotation/processing/validator/
H A DFoundOnImplementsValidator.java20 String annotationType) {
21 super(model, env, annotationType);
29 error('@' + annotationType.getSimpleName().toString() + " without @Implements");
18 FoundOnImplementsValidator(RobolectricModel model, ProcessingEnvironment env, String annotationType) argument

Completed in 1098 milliseconds

123456