/** * Visits the end of the field. This method, which is the last one to be called, is used to inform * the visitor that all the annotations and attributes of the field have been visited. */ public void visitEnd() { if (fv != null) { fv.visitEnd(); } } }
/** * Visits the end of the field. This method, which is the last one to be called, is used to inform * the visitor that all the annotations and attributes of the field have been visited. */ public void visitEnd() { if (fv != null) { fv.visitEnd(); } } }
fieldVisitor.visitEnd(); return currentOffset;
fieldVisitor.visitEnd(); return currentOffset;
/** * Visits the end of the field. This method, which is the last one to be called, is used to inform * the visitor that all the annotations and attributes of the field have been visited. */ public void visitEnd() { if (fv != null) { fv.visitEnd(); } } }
/** * Visits the end of the field. This method, which is the last one to be called, is used to inform * the visitor that all the annotations and attributes of the field have been visited. */ public void visitEnd() { if (fv != null) { fv.visitEnd(); } } }
/** * 创建属性 * @param cw * @param classGenerator */ public static void visitAddFiled(ClassWriter cw,ClassGeneratorEntity classGenerator) { classGenerator.getFieldGenerators().forEach( fieldGenerator -> cw.visitField( ACC_PRIVATE, fieldGenerator.getName(), Type.getType(fieldGenerator.getClazz()).getDescriptor(), null, null).visitEnd()); }
ACC_PRIVATE + ACC_FINAL + ACC_STATIC); cw.visitField(ACC_PRIVATE, BEAN_FIELD, getAccessibleTypeReferenceName(entity), null, null).visitEnd(); if (generateMethodHandle(entity, property.getWither())) { cw.visitField(ACC_PRIVATE + ACC_FINAL + ACC_STATIC, witherName(property), referenceName(JAVA_LANG_INVOKE_METHOD_HANDLE), null, null).visitEnd(); referenceName(JAVA_LANG_INVOKE_METHOD_HANDLE), null, null).visitEnd(); referenceName(JAVA_LANG_INVOKE_METHOD_HANDLE), null, null).visitEnd(); referenceName(JAVA_LANG_INVOKE_METHOD_HANDLE), null, null).visitEnd(); referenceName(JAVA_LANG_INVOKE_METHOD_HANDLE), null, null).visitEnd();
fieldVisitor.visitEnd(); return currentOffset;