ASMSerializerFactory.java 文件源码

java
阅读 36 收藏 0 点赞 0 评论 0

项目:GitHub 作者:
private void _float(Class<?> clazz, MethodVisitor mw, FieldInfo property, Context context) {
    Label end_ = new Label();

    _nameApply(mw, property, context, end_);
    _get(mw, context, property);
    mw.visitVarInsn(FSTORE, context.var("float"));

    _filters(mw, property, context, end_);

    mw.visitVarInsn(ALOAD, context.var("out"));
    mw.visitVarInsn(ILOAD, context.var("seperator"));
    mw.visitVarInsn(ALOAD, Context.fieldName);
    mw.visitVarInsn(FLOAD, context.var("float"));
    mw.visitMethodInsn(INVOKEVIRTUAL, SerializeWriter, "writeFieldValue", "(CLjava/lang/String;F)V");

    _seperator(mw, context);

    mw.visitLabel(end_);
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号