private static void appendParameterAnnotations(TextBuffer buffer, StructMethod mt, int param) { Set<String> filter = new HashSet<>(); for (StructGeneralAttribute.Key<?> key : PARAMETER_ANNOTATION_ATTRIBUTES) { StructAnnotationParameterAttribute attribute = (StructAnnotationParameterAttribute)mt.getAttribute(key); if (attribute != null) { List<List<AnnotationExprent>> annotations = attribute.getParamAnnotations(); if (param < annotations.size()) { for (AnnotationExprent annotation : annotations.get(param)) { String text = annotation.toJava(-1, BytecodeMappingTracer.DUMMY).toString(); filter.add(text); buffer.append(text).append(' '); } } } } appendTypeAnnotations(buffer, -1, mt, TypeAnnotation.METHOD_PARAMETER, param, filter); }
if (param_annotations != null) { List<List<AnnotationExprent>> param_annotations_lists = param_annotations.getParamAnnotations(); int method_param_number = md.params.length;
private static void appendParameterAnnotations(TextBuffer buffer, StructMethod mt, int param) { Set<String> filter = new HashSet<>(); for (String name : PARAMETER_ANNOTATION_ATTRIBUTES) { StructAnnotationParameterAttribute attribute = (StructAnnotationParameterAttribute)mt.getAttribute(name); if (attribute != null) { List<List<AnnotationExprent>> annotations = attribute.getParamAnnotations(); if (param < annotations.size()) { for (AnnotationExprent annotation : annotations.get(param)) { String text = annotation.toJava(-1, BytecodeMappingTracer.DUMMY).toString(); filter.add(text); buffer.append(text).append(' '); } } } } appendTypeAnnotations(buffer, -1, mt, TypeAnnotation.METHOD_PARAMETER, param, filter); }
if (param_annotations != null) { List<List<AnnotationExprent>> param_annotations_lists = param_annotations.getParamAnnotations(); int method_param_number = md.params.length;