Home
last modified time | relevance | path

Searched refs:methodAnnotations (Results 1 – 5 of 5) sorted by relevance

/external/smali/dexlib/src/main/java/org/jf/dexlib/
DAnnotationDirectoryItem.java47 private MethodAnnotation[] methodAnnotations; field in AnnotationDirectoryItem
72 @Nullable List<MethodAnnotation> methodAnnotations, in AnnotationDirectoryItem() argument
85 if (methodAnnotations == null || methodAnnotations.size() == 0) { in AnnotationDirectoryItem()
86 this.methodAnnotations = null; in AnnotationDirectoryItem()
88 this.methodAnnotations = new MethodAnnotation[methodAnnotations.size()]; in AnnotationDirectoryItem()
89 this.methodAnnotations = methodAnnotations.toArray(this.methodAnnotations); in AnnotationDirectoryItem()
90 Arrays.sort(this.methodAnnotations); in AnnotationDirectoryItem()
117 List<MethodAnnotation> methodAnnotations, in internAnnotationDirectoryItem() argument
120 fieldAnnotations, methodAnnotations, parameterAnnotations); in internAnnotationDirectoryItem()
138 methodAnnotations = new MethodAnnotation[methodAnnotationCount]; in readItem()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
DAnnotationsDirectoryItem.java50 private ArrayList<MethodAnnotationStruct> methodAnnotations; field in AnnotationsDirectoryItem
63 methodAnnotations = null; in AnnotationsDirectoryItem()
82 (methodAnnotations == null) && in isEmpty()
97 (methodAnnotations == null) && in isInternable()
174 if (methodAnnotations == null) { in addMethodAnnotations()
175 methodAnnotations = new ArrayList<MethodAnnotationStruct>(); in addMethodAnnotations()
178 methodAnnotations.add(new MethodAnnotationStruct(method, in addMethodAnnotations()
205 if (methodAnnotations == null) { in getMethodAnnotations()
209 for (MethodAnnotationStruct item : methodAnnotations) { in getMethodAnnotations()
253 if (methodAnnotations != null) { in addContents()
[all …]
/external/smali/baksmali/src/main/java/org/jf/baksmali/Adaptors/
DClassDefinition.java320 AnnotationSetItem methodAnnotations = null; in writeMethods() local
324 methodAnnotations = annotations.getMethodAnnotations(method.method); in writeMethods()
338 methodDefinition.writeTo(methodWriter, methodAnnotations, parameterAnnotations); in writeMethods()
/external/smali/smali/src/main/antlr3/
DsmaliParser.g529 List<CommonTree> methodAnnotations;
536 $statements_and_directives::methodAnnotations = new ArrayList<CommonTree>();
545 | annotation {$statements_and_directives::methodAnnotations.add($annotation.tree);}
555 {buildTree(I_ANNOTATIONS, "I_ANNOTATIONS", $statements_and_directives::methodAnnotations)};
763 add them to the $statements_and_directives::methodAnnotations list*/
772 | /*epsilon*/ {$statements_and_directives::methodAnnotations.addAll(annotations);}
DsmaliTreeWalker.g127 if ($methods.methodAnnotations != null ||
135 $methods.methodAnnotations,
252 List<AnnotationDirectoryItem.MethodAnnotation> methodAnnotations,
268 if ($methodAnnotations == null) {
269 $methodAnnotations = new LinkedList<AnnotationDirectoryItem.MethodAnnotation>();
273 $methodAnnotations.add(methodAnnotation);