HomeSort by relevance Sort by last modified time
    Searched defs:annotations (Results 76 - 100 of 242) sorted by null

1 2 34 5 6 7 8 910

  /external/guava/guava-testlib/src/com/google/common/collect/testing/features/
FeatureUtil.java 32 * Utilities for collecting and validating tester requirements from annotations.
41 * set of annotations.
156 * Construct the set of requirements specified by annotations
160 * annotations on the class or method.
182 * Find all the tester annotations declared on a tester class or method.
183 * @param classOrMethod a class or method whose tester annotations to find
184 * @return an iterable sequence of tester annotations on the class
190 Annotation[] annotations; local
192 annotations = annotationCache.get(classOrMethod);
193 if (annotations == null)
    [all...]
  /external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
AnnotatedBytes.java 51 * Collects/presents a set of textual annotations, each associated with a range of bytes or a specific point
54 * Point annotations cannot occur within the middle of a range annotation, only at the endpoints, or some other area
57 * Multiple point annotations can be defined for a given point. They will be printed in insertion order.
59 * Only a single range annotation may exist for any given range of bytes. Range annotations may not overlap.
63 * This defines the bytes ranges and their associated range and point annotations.
67 * The point annotations for a point are associated with the key at that point.
79 * in annotations
169 // there is an endpoint that would intersect with this annotation. Find one of the annotations
186 // There are no annotations on this endpoint. This "shouldn't" happen. We can still throw an exception.
201 // If startPoint is null, we need to create a new one and add it to annotations. Otherwise, we just need to ad
303 AnnotationEndpoint annotations = values[i]; local
    [all...]
  /libcore/dex/src/main/java/com/android/dex/
TableOfContents.java 47 public final Section annotations = new Section(0x2004); field in class:TableOfContents
53 debugInfos, annotations, encodedArrays, annotationsDirectories
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/
AccessibleObjectTest.java 148 assertNull("Inherited Annotations should have no effect", ir);
157 Annotation[] annotations = ao.getAnnotations(); local
158 assertEquals(2, annotations.length);
161 ignoreOrder.add(annotations[0].annotationType());
162 ignoreOrder.add(annotations[1].annotationType());
172 Annotation[] annotations = ao.getDeclaredAnnotations(); local
173 assertEquals(2, annotations.length);
176 ignoreOrder.add(annotations[0].annotationType());
177 ignoreOrder.add(annotations[1].annotationType());
ConstructorTest.java 109 assertEquals("Annotations for wrong number of parameters returned", 1,
111 assertEquals("Wrong number of annotations returned", 2,
128 Annotation[] annotations = ctor1.getDeclaredAnnotations(); local
129 assertEquals("Wrong number of annotations returned", 2,
130 annotations.length);
132 ignoreOrder.add(annotations[0].annotationType());
133 ignoreOrder.add(annotations[1].annotationType());
MethodTest.java 406 Annotation[][] annotations = method.getParameterAnnotations(); local
407 assertEquals(3, annotations.length);
409 "Wrong number of annotations returned for first parameter", 2,
410 annotations[0].length);
412 annotationSet.add(annotations[0][0].annotationType());
413 annotationSet.add(annotations[0][1].annotationType());
420 "Wrong number of annotations returned for second parameter",
421 1, annotations[1].length);
423 annotationSet.add(annotations[1][0].annotationType());
427 "Wrong number of annotations returned for third parameter", 0
    [all...]
FieldTest.java 1532 Annotation[] annotations = field.getDeclaredAnnotations(); local
    [all...]
  /cts/tools/signature-tools/test/signature/converter/
ConvertAnnotationTest.java 70 Set<IAnnotation> annotations = field.getAnnotations(); local
71 assertEquals(1, annotations.size());
72 IAnnotation annotation = annotations.iterator().next();
94 Set<IAnnotation> annotations = sigClass.getAnnotations(); local
95 assertEquals(1, annotations.size());
96 IAnnotation annotation = annotations.iterator().next();
    [all...]
  /dalvik/dx/src/com/android/dx/cf/direct/
StdAttributeFactory.java 46 import com.android.dx.rop.annotation.Annotations;
615 Annotations annotations = local
618 return new AttRuntimeInvisibleAnnotations(annotations, length);
632 Annotations annotations = local
635 return new AttRuntimeVisibleAnnotations(annotations, length);
  /dalvik/dx/src/com/android/dx/dex/cf/
CfTranslator.java 37 import com.android.dx.rop.annotation.Annotations;
128 Annotations classAnnotations =
190 Annotations annotations = local
192 if (annotations.size() != 0) {
193 out.addFieldAnnotations(field, annotations, dexFile);
354 Annotations annotations = local
356 if (annotations.size() != 0) {
357 out.addMethodAnnotations(meth, annotations, dexFile)
    [all...]
  /external/doclava/src/com/google/doclava/
PackageInfo.java 90 ClassInfo[][] types = new ClassInfo[][] { annotations(), interfaces(), ordinaryClasses(),
115 ClassInfo[][] types = new ClassInfo[][] { annotations(), interfaces(), ordinaryClasses(),
211 ClassInfo.makeLinkListHDF(data, base + ".annotations", annotations());
220 public ClassInfo[] annotations() { method in class:PackageInfo
InfoBuilder.java 121 if (!cl.annotations().isEmpty()) {
123 printAnnotations(cl.annotations());
159 printAnnotations(f.annotations());
183 printAnnotations(f.annotations());
205 printAnnotations(m.annotations());
225 printAnnotations(m.annotations());
261 printAnnotations(m.annotations());
315 private static void printAnnotations(ArrayList<AnnotationInstanceInfo> annotations) {
316 for (AnnotationInstanceInfo i : annotations) {
374 // annotations
    [all...]
  /prebuilts/sdk/tools/lib/
common.jar 
  /cts/tools/signature-tools/src/signature/converter/doclet/
DocletToSigConverter.java 120 p.setAnnotations(convertAnnotations(packageDoc.annotations()));
235 // the annotations on fields are set later because these
236 // annotations may be of
245 // set annotation field annotations
249 convertAnnotations(entry.getValue().annotations()));
255 // set class annotations
256 c.setAnnotations(convertAnnotations(classDoc.annotations()));
457 m.setAnnotations(convertAnnotations(member.annotations()));
487 p.setAnnotations(convertAnnotations(parameter.annotations()));
523 f.setAnnotations(convertAnnotations(field.annotations()));
541 Set<IAnnotation> annotations = new HashSet<IAnnotation>(); local
551 AnnotationDesc[] annotations = type.annotations(); local
    [all...]
  /cts/tools/utils/
CollectAllTests.java 338 Annotation[] annotations = testMethod.getAnnotations(); local
339 for (Annotation annot : annotations) {
DescriptionGenerator.java 550 AnnotationDesc[] annotations = method.annotations(); local
555 for (AnnotationDesc cAnnot : annotations) {
  /external/javassist/src/main/javassist/bytecode/
AnnotationsAttribute.java 34 * runtime visible annotations attribute.
174 * Parses the annotations and returns a data structure representing
183 Annotation[] annotations = getAnnotations(); local
184 for (int i = 0; i < annotations.length; i++) {
185 if (annotations[i].getTypeName().equals(type))
186 return annotations[i];
200 Annotation[] annotations = getAnnotations(); local
201 for (int i = 0; i < annotations.length; i++) {
202 if (annotations[i].getTypeName().equals(type)) {
203 annotations[i] = annotation
    [all...]
  /external/proguard/src/proguard/classfile/io/
ProgramClassReader.java 505 // Read the annotations.
508 annotationsAttribute.annotations = new Annotation[annotationsAttribute.u2annotationsCount];
513 annotationsAttribute.annotations[index] = annotation;
520 // Read the parameter annotations.
539 // Read the parameter annotations of the given parameter.
542 Annotation[] annotations = new Annotation[u2annotationsCount]; local
548 annotations[index] = annotation;
552 parameterAnnotationsAttribute.parameterAnnotations[parameterIndex] = annotations;
    [all...]
ProgramClassWriter.java 449 // Write the annotations.
458 // Write the parameter annotations.
463 // Write the parameter annotations of the given parameter.
465 Annotation[] annotations = parameterAnnotationsAttribute.parameterAnnotations[parameterIndex]; local
471 visitAnnotation(clazz, annotations[index]);
  /external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
MethodDefinition.java 253 Collection<? extends Annotation> annotations = parameter.getAnnotations(); local
254 if (parameterName != null || annotations.size() != 0) {
265 if (annotations.size() > 0) {
267 AnnotationFormatter.writeTo(writer, annotations);
  /libcore/luni/src/main/java/libcore/reflect/
AnnotationAccess.java 43 * Look up annotations from a dex file.
51 * Such classes never have annotations.
62 * Class annotations. This includes declared class annotations plus
63 * annotations on the superclass that have @Inherited.
90 * Returns true if {@code annotationType} annotations on the superclass
100 * We need to get the annotations declared on this class, plus the
101 * annotations from superclasses that have the "@Inherited" annotation
103 * annotations and convert it to an array at the end.
105 * It's possible to have duplicates when annotations are inherited
315 List<Annotation> annotations local
    [all...]
  /prebuilts/misc/common/tools-common/
tools-common-prebuilt.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.osgi.services_3.3.100.v20130513-1956.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.osgi.services_3.3.100.v20130513-1956.jar 
  /libcore/luni/src/test/java/org/apache/harmony/annotation/tests/java/lang/annotation/
AnnotationTest.java 36 Annotation [] annotations = AnnotatedClass.class.getDeclaredAnnotations(); local
37 assertEquals(1, annotations.length);
38 Annotation anno = annotations[0];
133 Annotation[][] annotations = c.getDeclaredMethod("test35304_method", parameterTypes).getParameterAnnotations(); local
134 assertEquals(2, annotations.length); // Two parameters.
135 assertEquals(0, annotations[0].length); // No annotations on the first.
136 assertEquals(1, annotations[1].length); // One annotation on the second.

Completed in 1440 milliseconds

1 2 34 5 6 7 8 910