Home
last modified time | relevance | path

Searched refs:annotations (Results 1 – 25 of 872) sorted by relevance

12345678910>>...35

/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DAnnotationSetItem.java35 private final Annotations annotations; field in AnnotationSetItem
49 public AnnotationSetItem(Annotations annotations) { in AnnotationSetItem() argument
50 super(ALIGNMENT, writeSize(annotations)); in AnnotationSetItem()
52 this.annotations = annotations; in AnnotationSetItem()
53 this.items = new AnnotationItem[annotations.size()]; in AnnotationSetItem()
56 for (Annotation a : annotations.getAnnotations()) { in AnnotationSetItem()
68 private static int writeSize(Annotations annotations) { in writeSize() argument
72 return (annotations.size() * ENTRY_WRITE_SIZE) + 4; in writeSize()
85 return annotations; in getAnnotations()
91 return annotations.hashCode(); in hashCode()
[all …]
DAnnotationSetRefItem.java33 private AnnotationSetItem annotations; field in AnnotationSetRefItem
40 public AnnotationSetRefItem(AnnotationSetItem annotations) { in AnnotationSetRefItem() argument
43 if (annotations == null) { in AnnotationSetRefItem()
47 this.annotations = annotations; in AnnotationSetRefItem()
60 annotations = wordData.intern(annotations); in addContents()
66 return annotations.toHuman(); in toHuman()
72 int annotationsOff = annotations.getAbsoluteOffset(); in writeTo0()
DMethodAnnotationStruct.java34 private AnnotationSetItem annotations; field in MethodAnnotationStruct
43 AnnotationSetItem annotations) { in MethodAnnotationStruct() argument
48 if (annotations == null) { in MethodAnnotationStruct()
53 this.annotations = annotations; in MethodAnnotationStruct()
81 annotations = wordData.intern(annotations); in addContents()
87 int annotationsOff = annotations.getAbsoluteOffset(); in writeTo()
102 return method.toHuman() + ": " + annotations; in toHuman()
120 return annotations.getAnnotations(); in getAnnotations()
DFieldAnnotationStruct.java34 private AnnotationSetItem annotations; field in FieldAnnotationStruct
43 AnnotationSetItem annotations) { in FieldAnnotationStruct() argument
48 if (annotations == null) { in FieldAnnotationStruct()
53 this.annotations = annotations; in FieldAnnotationStruct()
81 annotations = wordData.intern(annotations); in addContents()
87 int annotationsOff = annotations.getAbsoluteOffset(); in writeTo()
102 return field.toHuman() + ": " + annotations; in toHuman()
120 return annotations.getAnnotations(); in getAnnotations()
/external/dexmaker/src/dx/java/com/android/dx/rop/annotation/
DAnnotations.java40 private final TreeMap<CstType, Annotation> annotations; field in Annotations
72 public static Annotations combine(Annotations annotations, in combine() argument
76 result.addAll(annotations); in combine()
87 annotations = new TreeMap<CstType, Annotation>(); in Annotations()
93 return annotations.hashCode(); in hashCode()
105 return annotations.equals(otherAnnotations.annotations); in equals()
110 Iterator<Annotation> thisIter = annotations.values().iterator(); in compareTo()
111 Iterator<Annotation> otherIter = other.annotations.values().iterator(); in compareTo()
139 for (Annotation a : annotations.values()) { in toString()
158 return annotations.size(); in size()
[all …]
/external/proguard/src/proguard/classfile/editor/
DAnnotationsAttributeEditor.java52 Annotation[] annotations = targetAnnotationsAttribute.annotations; in addAnnotation() local
55 if (annotations.length <= annotationsCount) in addAnnotation()
57 targetAnnotationsAttribute.annotations = new Annotation[annotationsCount+1]; in addAnnotation()
58 System.arraycopy(annotations, 0, in addAnnotation()
59 targetAnnotationsAttribute.annotations, 0, in addAnnotation()
61 annotations = targetAnnotationsAttribute.annotations; in addAnnotation()
65 annotations[targetAnnotationsAttribute.u2annotationsCount++] = annotation; in addAnnotation()
DParameterAnnotationsAttributeEditor.java52 …Annotation[] annotations = targetParameterAnnotationsAttribute.parameterAnnotations[parameter… in addAnnotation() local
55 if (annotations == null || in addAnnotation()
56 annotations.length <= annotationsCount) in addAnnotation()
59 if (annotations != null) in addAnnotation()
61 System.arraycopy(annotations, 0, in addAnnotation()
65 annotations = targetParameterAnnotationsAttribute.parameterAnnotations[parameterIndex]; in addAnnotation()
69annotations[targetParameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex]++] = a… in addAnnotation()
/external/dexmaker/src/dx/java/com/android/dx/util/
DByteArrayAnnotatedOutput.java54 private ArrayList<Annotation> annotations; field in ByteArrayAnnotatedOutput
111 this.annotations = null; in ByteArrayAnnotatedOutput()
351 return (annotations != null); in annotates()
361 if (annotations == null) { in annotate()
366 annotations.add(new Annotation(cursor, msg)); in annotate()
371 if (annotations == null) { in annotate()
377 int asz = annotations.size(); in annotate()
378 int lastEnd = (asz == 0) ? 0 : annotations.get(asz - 1).getEnd(); in annotate()
387 annotations.add(new Annotation(startAt, startAt + amt, msg)); in annotate()
392 if (annotations == null) { in endAnnotation()
[all …]
/external/proguard/src/proguard/classfile/attribute/annotation/
DAnnotationsAttribute.java35 public Annotation[] annotations; field in AnnotationsAttribute
51 Annotation[] annotations) in AnnotationsAttribute() argument
56 this.annotations = annotations; in AnnotationsAttribute()
69 annotationVisitor.visitAnnotation(clazz, annotations[index]); in annotationsAccept()
83 annotationVisitor.visitAnnotation(clazz, field, annotations[index]); in annotationsAccept()
97 annotationVisitor.visitAnnotation(clazz, method, annotations[index]); in annotationsAccept()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DBuilderAnnotationSet.java46 @Nonnull final Set<BuilderAnnotation> annotations; field in BuilderAnnotationSet
49 public BuilderAnnotationSet(@Nonnull Set<BuilderAnnotation> annotations) { in BuilderAnnotationSet() argument
50 this.annotations = annotations; in BuilderAnnotationSet()
54 return annotations.iterator(); in iterator()
58 return annotations.size(); in size()
DBuilderMethodParameter.java42 @Nonnull final BuilderAnnotationSet annotations; field in BuilderMethodParameter
46 @Nonnull BuilderAnnotationSet annotations) { in BuilderMethodParameter() argument
49 this.annotations = annotations; in BuilderMethodParameter()
61 return annotations; in getAnnotations()
DBuilderField.java45 @Nonnull final BuilderAnnotationSet annotations; field in BuilderField
50 @Nonnull BuilderAnnotationSet annotations) { in BuilderField() argument
54 this.annotations = annotations; in BuilderField()
66 return annotations; in getAnnotations()
DBuilderMethod.java47 @Nonnull final BuilderAnnotationSet annotations; field in BuilderMethod
56 @Nonnull BuilderAnnotationSet annotations, in BuilderMethod() argument
61 this.annotations = annotations; in BuilderMethod()
71 @Override @Nonnull public BuilderAnnotationSet getAnnotations() { return annotations; } in getAnnotations()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableMethodParameter.java48 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations; field in ImmutableMethodParameter
52 @Nullable Set<? extends Annotation> annotations, in ImmutableMethodParameter() argument
55 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); in ImmutableMethodParameter()
60 … @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations, in ImmutableMethodParameter() argument
63 this.annotations = ImmutableUtils.nullToEmptySet(annotations); in ImmutableMethodParameter()
78 @Nonnull @Override public Set<? extends Annotation> getAnnotations() { return annotations; } in getAnnotations()
DImmutableField.java56 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations; field in ImmutableField
63 @Nullable Collection<? extends Annotation> annotations) { in ImmutableField() argument
69 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); in ImmutableField()
77 @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations) { in ImmutableField() argument
83 this.annotations = ImmutableUtils.nullToEmptySet(annotations); in ImmutableField()
104 …verride public ImmutableSet<? extends ImmutableAnnotation> getAnnotations() { return annotations; } in getAnnotations()
DImmutableMethod.java56 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations; field in ImmutableMethod
64 @Nullable Set<? extends Annotation> annotations, in ImmutableMethod() argument
71 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); in ImmutableMethod()
80 @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations, in ImmutableMethod() argument
87 this.annotations = ImmutableUtils.nullToEmptySet(annotations); in ImmutableMethod()
111 …Nonnull public ImmutableSet<? extends ImmutableAnnotation> getAnnotations() { return annotations; } in getAnnotations()
DImmutableClassDef.java57 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations; field in ImmutableClassDef
68 @Nullable Collection<? extends Annotation> annotations, in ImmutableClassDef() argument
83 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); in ImmutableClassDef()
95 @Nullable Collection<? extends Annotation> annotations, in ImmutableClassDef() argument
105 this.annotations = ImmutableAnnotation.immutableSetOf(annotations); in ImmutableClassDef()
117 @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations, in ImmutableClassDef() argument
127 this.annotations = ImmutableUtils.nullToEmptySet(annotations); in ImmutableClassDef()
156 …verride public ImmutableSet<? extends ImmutableAnnotation> getAnnotations() { return annotations; } in getAnnotations()
/external/chromium_org/third_party/WebKit/Source/core/rendering/
DGraphicsContextAnnotator.cpp96 AnnotationList annotations; in annotate() local
101 annotations.append(std::make_pair(AnnotationKeyRendererName, object->renderName())); in annotate()
104annotations.append(std::make_pair(AnnotationKeyPaintPhase, paintPhaseName(paintInfo.phase))); in annotate()
107annotations.append(std::make_pair(AnnotationKeyElementId, element->getIdAttribute().string())); in annotate()
119 annotations.append(std::make_pair(AnnotationKeyElementClass, classBuilder.toString())); in annotate()
124 annotations.append(std::make_pair(AnnotationKeyElementTag, element->tagName())); in annotate()
128 annotations.append(std::make_pair(AnnotationKeyInspectorNodeId, in annotate()
134 m_context->beginAnnotation(annotations); in annotate()
/external/junit/src/org/junit/experimental/theories/
DParameterSignature.java36 private final Annotation[] annotations; field in ParameterSignature
38 private ParameterSignature(Class<?> type, Annotation[] annotations) { in ParameterSignature() argument
40 this.annotations= annotations; in ParameterSignature()
52 return Arrays.asList(annotations); in getAnnotations()
64 Annotation[] annotations2= annotations; in findDeepAnnotation()
69 Annotation[] annotations, Class<T> annotationType, int depth) { in findDeepAnnotation() argument
72 for (Annotation each : annotations) { in findDeepAnnotation()
/external/doclava/src/com/google/doclava/
DAnnotationInstanceInfo.java123 public static void makeLinkListHDF(Data data, String base, AnnotationInstanceInfo[] annotations) { in makeLinkListHDF() argument
124 if (annotations == null) return; in makeLinkListHDF()
126 final int N = annotations.length; in makeLinkListHDF()
128 AnnotationInstanceInfo aii = annotations[i]; in makeLinkListHDF()
139 ArrayList<AnnotationInstanceInfo> annotations) { in getShowAnnotationsIntersection() argument
141 if (annotations != null) { in getShowAnnotationsIntersection()
142 for (AnnotationInstanceInfo info : annotations) { in getShowAnnotationsIntersection()
/external/proguard/examples/annotations/lib/
Dannotations.pro2 # This ProGuard configuration file specifies how annotations can be used
5 # java -jar proguard.jar @annotations.pro -libraryjars annotations.jar ...
9 # -include annotations.pro
15 # The annotations are defined in the accompanying jar. For now, we'll start
16 # with these. You can always define your own annotations, if necessary.
17 -libraryjars annotations.jar
20 # The following annotations can be specified with classes and with class
43 # The following annotations can only be specified with classes.
47 # entry points. Note the extension of the java-like syntax, adding annotations
/external/javassist/src/main/javassist/bytecode/
DAnnotationsAttribute.java183 Annotation[] annotations = getAnnotations(); in getAnnotation() local
184 for (int i = 0; i < annotations.length; i++) { in getAnnotation()
185 if (annotations[i].getTypeName().equals(type)) in getAnnotation()
186 return annotations[i]; in getAnnotation()
200 Annotation[] annotations = getAnnotations(); in addAnnotation() local
201 for (int i = 0; i < annotations.length; i++) { in addAnnotation()
202 if (annotations[i].getTypeName().equals(type)) { in addAnnotation()
203 annotations[i] = annotation; in addAnnotation()
204 setAnnotations(annotations); in addAnnotation()
209 Annotation[] newlist = new Annotation[annotations.length + 1]; in addAnnotation()
[all …]
/external/junit/src/org/junit/runner/
DDescription.java38 public static Description createSuiteDescription(String name, Annotation... annotations) { in createSuiteDescription() argument
41 return new Description(name, annotations); in createSuiteDescription()
52 … static Description createTestDescription(Class<?> clazz, String name, Annotation... annotations) { in createTestDescription() argument
53 return new Description(String.format("%s(%s)", name, clazz.getName()), annotations); in createTestDescription()
94 private Description(final String displayName, Annotation... annotations) { in Description() argument
96 fAnnotations= annotations; in Description()
/external/chromium_org/build/android/pylib/host_driven/
Dtest_info_collection.py76 def GetAvailableTests(self, annotations, exclude_annotations, name_filter): argument
94 self._AnnotationIncludesTest(t, annotations)]
95 if annotations and len(annotations) == 1 and annotations[0] == 'SmallTest':
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/
DPaintProfiler.js169 WebInspector.PaintProfilerLogItem = function(rawEntry, commandIndex, annotations) argument
173 this.annotations = annotations;
183 if (!this.annotations)
185 var inspectorId = this.annotations["INSPECTOR_ID"];

12345678910>>...35