/libcore/luni/src/main/java/java/lang/annotation/ |
IncompleteAnnotationException.java | 31 private Class<? extends Annotation> annotationType; 39 * @param annotationType 44 public IncompleteAnnotationException(Class<? extends Annotation> annotationType, 47 annotationType.getName()); 48 this.annotationType = annotationType; 57 public Class<? extends Annotation> annotationType() { 58 return annotationType;
|
Annotation.java | 35 Class<? extends Annotation> annotationType();
|
/external/proguard/src/proguard/ |
MemberSpecification.java | 34 public final String annotationType; 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 == null ? 0 : annotationType.hashCode()) [all...] |
ClassSpecification.java | 38 public final String annotationType; 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 == null ? other.annotationType == null : this.annotationType.equals(other.annotat (…) [all...] |
ClassSpecificationVisitorFactory.java | 206 String annotationType = classSpecification.annotationType; 208 if (annotationType != null) 213 new AnnotationTypeFilter(annotationType, 460 if (memberSpecification.annotationType != null) 465 new AnnotationTypeFilter(memberSpecification.annotationType,
|
FullyQualifiedClassNameChecker.java | 70 checkType(classSpecification.annotationType); 95 checkType(memberSpecification.annotationType);
|
ConfigurationWriter.java | 402 if (classSpecification.annotationType != null) 405 writer.print(ClassUtil.externalType(classSpecification.annotationType)); 514 if (memberSpecification.annotationType != null) 517 writer.println(ClassUtil.externalType(memberSpecification.annotationType)); 556 if (memberSpecification.annotationType != null) 559 writer.println(ClassUtil.externalType(memberSpecification.annotationType));
|
ConfigurationParser.java | 506 String annotationType = null; 518 // annotationType = 554 annotationType = 642 annotationType, [all...] |
/libcore/luni/src/main/java/java/lang/reflect/ |
AnnotatedElement.java | 34 * @param annotationType 38 * if {@code annotationType} is {@code null} 40 <T extends Annotation> T getAnnotation(Class<T> annotationType); 64 * @param annotationType 68 * if {@code annotationType} is {@code null} 70 boolean isAnnotationPresent(Class<? extends Annotation> annotationType);
|
AccessibleObject.java | 178 public boolean isAnnotationPresent(Class<? extends Annotation> annotationType) { 179 return getAnnotation(annotationType) != null; 192 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { 193 if (annotationType == null) { 198 if (annos[i].annotationType() == annotationType) {
|
/libcore/luni/src/main/java/org/apache/harmony/lang/annotation/ |
AnnotationFactory.java | 63 public static AnnotationMember[] getElementsDescription(Class<? extends Annotation> annotationType ) { 64 AnnotationMember[] desc = cache.get(annotationType); 66 if (!annotationType.isAnnotation()) { 68 + annotationType.getName()); 70 Method[] m = annotationType.getDeclaredMethods(); 84 cache.put(annotationType, desc); 91 * @param annotationType the annotation type definition 96 Class<? extends Annotation> annotationType, 99 AnnotationFactory antn = new AnnotationFactory(annotationType, elements); 100 return (Annotation)Proxy.newProxyInstance( annotationType.getClassLoader() [all...] |
/cts/tools/dex-tools/test/dex/reader/ |
DexTestsCommon.java | 117 protected DexAnnotation getAnnotation(DexAnnotatedElement element, String annotationType) { 119 assertNotNull(annotationType); 121 if(annotationType.equals(anno.getTypeName())){ 125 fail("Annotation: " + annotationType +" not present in Element."); 126 throw new IllegalArgumentException("Annotation: " + annotationType +" not present in Element.");
|
/libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/ |
IncompleteAnnotationExceptionTest.java | 55 assertSame("wrong annotation type", clazz, e.annotationType());
|
/external/proguard/src/proguard/gui/ |
MemberSpecificationDialog.java | 322 String annotationType = memberSpecification.annotationType; 327 annotationTypeTextField.setText(annotationType == null ? "" : ClassUtil.externalType(annotationType)); 362 String annotationType = annotationTypeTextField.getText(); 368 annotationType = 369 annotationType.equals("") || 370 annotationType.equals("***") ? null : ClassUtil.internalType(annotationType); 398 new MemberSpecification(0, 0, annotationType, name, type) [all...] |
ClassSpecificationDialog.java | 382 String annotationType = classSpecification.annotationType; 401 annotationTypeTextField .setText(annotationType == null ? "" : ClassUtil.externalType(annotationType)); 437 String annotationType = annotationTypeTextField.getText(); 446 annotationType.equals("") ? null : ClassUtil.internalType(annotationType),
|
/libcore/luni/src/main/java/java/lang/ |
Package.java | 73 * @param annotationType 79 public <A extends Annotation> A getAnnotation(Class<A> annotationType) { 82 if (annotationType.isInstance(list[i])) { 126 * @param annotationType 133 Class<? extends Annotation> annotationType) { 134 return getAnnotation(annotationType) != null;
|
/libcore/luni/src/test/java/tests/api/java/lang/reflect/ |
AccessibleObjectTest.java | 203 ignoreOrder.add(annotations[0].annotationType()); 204 ignoreOrder.add(annotations[1].annotationType()); 224 ignoreOrder.add(annotations[0].annotationType()); 225 ignoreOrder.add(annotations[1].annotationType());
|
ConstructorTest.java | 140 ignoreOrder.add(paramAnnotations[0][0].annotationType()); 141 ignoreOrder.add(paramAnnotations[0][1].annotationType()); 166 ignoreOrder.add(annotations[0].annotationType()); 167 ignoreOrder.add(annotations[1].annotationType());
|
MethodTest.java | 485 annotationSet.add(annotations[0][0].annotationType()); 486 annotationSet.add(annotations[0][1].annotationType()); 496 annotationSet.add(annotations[1][0].annotationType()); 519 annotationSet.add(declaredAnnotations[0].annotationType()); 520 annotationSet.add(declaredAnnotations[1].annotationType()); [all...] |
/cts/tools/signature-tools/src/signature/converter/doclet/ |
DocletToSigConverter.java | 216 // AnnotationTypeDoc annotationType =
219 AnnotationTypeDoc annotationType = (AnnotationTypeDoc) classDoc;
223 for (AnnotationTypeElementDoc annotationElement : annotationType
550 AnnotationTypeDoc type = annotationDesc.annotationType();
553 if ("java.lang.annotation.Retention".equals(d.annotationType()
570 IClassReference annotationType = (IClassReference) convertTypeReference(
571 annotationDesc.annotationType());
572 a.setType(annotationType);
582 for (IAnnotationField field : annotationType.getClassDefinition()
|
/dalvik/tests/004-annotations/src/android/test/anno/ |
TestAnnotations.java | 19 sorted.put(a.annotationType().getName(), a); 24 System.out.println(prefix + " " + a.annotationType());
|
/cts/tools/signature-tools/src/signature/converter/dex/ |
DexUtil.java | 364 * @param annotationType 369 String annotationType) { 371 assert annotationType != null; 374 if (annotationType.equals(anno.getTypeName())) {
|
/external/proguard/docs/manual/ |
refcard.html | 429 [<b>@</b><i>annotationtype</i>] [[<b>!</b>]<b>public</b>|<b>final</b>|<b>abstract</b> ...] [<b>!</b>]<b>interface</b>|<b>class</b> <i>classname</i> 430 [<b>extends</b>|<b>implements</b> [<b>@</b><i>annotationtype</i>] <i>classname</i>] 432 [<b>@</b><i>annotationtype</i>] [[<b>!</b>]<b>public</b>|<b>private</b>|<b>protected</b>|<b>static</b>|<b>volatile</b>|<b>transient</b> ...] <b><fields></b> | 434 [<b>@</b><i>annotationtype</i>] [[<b>!</b>]<b>public</b>|<b>private</b>|<b>protected</b>|<b>static</b>|<b>synchronized</b>|<b>native</b>|<b>abstract</b>|<b>strictfp</b> ...] <b><methods></b> | 438 [<b>@</b><i>annotationtype</i>] [[<b>!</b>]<b>public</b>|<b>private</b>|<b>protected</b>|<b>static</b> ... ] <b>*;</b> 447 <li>Types in <i>classname</i>, <i>annotationtype</i>, <i>returntype</i>, and
|
usage.html | [all...] |
/build/tools/droiddoc/src/ |
Converter.java | 650 ClassInfo annotationType = Converter.obtainClass(a.annotationType()); 657 return new AnnotationInstanceInfo(annotationType, elementValues);
|