public void visitAnyParameterAnnotationsAttribute(Clazz clazz, Method method, ParameterAnnotationsAttribute parameterAnnotationsAttribute) { // Write the parameter annotations. dataOutput.writeByte(parameterAnnotationsAttribute.u1parametersCount); for (int parameterIndex = 0; parameterIndex < parameterAnnotationsAttribute.u1parametersCount; parameterIndex++) { // Write the parameter annotations of the given parameter. int u2annotationsCount = parameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex]; Annotation[] annotations = parameterAnnotationsAttribute.parameterAnnotations[parameterIndex]; dataOutput.writeUnsignedShort(u2annotationsCount); for (int index = 0; index < u2annotationsCount; index++) { visitAnnotation(clazz, annotations[index]); } } }
public void visitAnyParameterAnnotationsAttribute(Clazz clazz, Method method, ParameterAnnotationsAttribute parameterAnnotationsAttribute) { // Write the parameter annotations. dataOutput.writeByte(parameterAnnotationsAttribute.u1parametersCount); for (int parameterIndex = 0; parameterIndex < parameterAnnotationsAttribute.u1parametersCount; parameterIndex++) { // Write the parameter annotations of the given parameter. int u2annotationsCount = parameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex]; Annotation[] annotations = parameterAnnotationsAttribute.parameterAnnotations[parameterIndex]; dataOutput.writeUnsignedShort(u2annotationsCount); for (int index = 0; index < u2annotationsCount; index++) { visitAnnotation(clazz, annotations[index]); } } }
public void visitAnyParameterAnnotationsAttribute(Clazz clazz, Method method, ParameterAnnotationsAttribute parameterAnnotationsAttribute) { // Write the parameter annotations. dataOutput.writeByte(parameterAnnotationsAttribute.u2parametersCount); for (int parameterIndex = 0; parameterIndex < parameterAnnotationsAttribute.u2parametersCount; parameterIndex++) { // Write the parameter annotations of the given parameter. int u2annotationsCount = parameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex]; Annotation[] annotations = parameterAnnotationsAttribute.parameterAnnotations[parameterIndex]; dataOutput.writeShort(u2annotationsCount); for (int index = 0; index < u2annotationsCount; index++) { Annotation annotation = annotations[index]; this.visitAnnotation(clazz, annotation); } } }
public void visitAnyParameterAnnotationsAttribute(Clazz clazz, Method method, ParameterAnnotationsAttribute parameterAnnotationsAttribute) { // Write the parameter annotations. dataOutput.writeByte(parameterAnnotationsAttribute.u1parametersCount); for (int parameterIndex = 0; parameterIndex < parameterAnnotationsAttribute.u1parametersCount; parameterIndex++) { // Write the parameter annotations of the given parameter. int u2annotationsCount = parameterAnnotationsAttribute.u2parameterAnnotationsCount[parameterIndex]; Annotation[] annotations = parameterAnnotationsAttribute.parameterAnnotations[parameterIndex]; dataOutput.writeUnsignedShort(u2annotationsCount); for (int index = 0; index < u2annotationsCount; index++) { visitAnnotation(clazz, annotations[index]); } } }
public void visitAnnotationElementValue(Clazz clazz, Annotation annotation, AnnotationElementValue annotationElementValue) { // Write the annotation. attributeBodyWriter.visitAnnotation(clazz, annotationElementValue.annotationValue); }
public void visitTypeAnnotation(Clazz clazz, TypeAnnotation typeAnnotation) { // Write the target info. dataOutput.writeByte(typeAnnotation.targetInfo.u1targetType); typeAnnotation.targetInfoAccept(clazz, this); // Write the type path. dataOutput.writeByte(typeAnnotation.typePath.length); typeAnnotation.typePathInfosAccept(clazz, this); // Write the actual annotation. visitAnnotation(clazz, typeAnnotation); }
public void visitTypeAnnotation(Clazz clazz, TypeAnnotation typeAnnotation) { // Write the target info. dataOutput.writeByte(typeAnnotation.targetInfo.u1targetType); typeAnnotation.targetInfoAccept(clazz, this); // Write the type path. dataOutput.writeByte(typeAnnotation.typePath.length); typeAnnotation.typePathInfosAccept(clazz, this); // Write the actual annotation. visitAnnotation(clazz, typeAnnotation); }
public void visitAnnotationElementValue(Clazz clazz, Annotation annotation, AnnotationElementValue annotationElementValue) { // Write the annotation. attributeBodyWriter.visitAnnotation(clazz, annotationElementValue.annotationValue); }
public void visitAnnotationElementValue(Clazz clazz, Annotation annotation, AnnotationElementValue annotationElementValue) { // Write the annotation. attributeBodyWriter.visitAnnotation(clazz, annotationElementValue.annotationValue); }
public void visitAnnotationElementValue(Clazz clazz, Annotation annotation, AnnotationElementValue annotationElementValue) { // Write the annotation. attributeBodyWriter.visitAnnotation(clazz, annotationElementValue.annotationValue); }
public void visitTypeAnnotation(Clazz clazz, TypeAnnotation typeAnnotation) { // Write the target info. dataOutput.writeByte(typeAnnotation.targetInfo.u1targetType); typeAnnotation.targetInfoAccept(clazz, this); // Write the type path. dataOutput.writeByte(typeAnnotation.typePath.length); typeAnnotation.typePathInfosAccept(clazz, this); // Write the actual annotation. visitAnnotation(clazz, typeAnnotation); }