源码之家

  • 首页
  • 文章
  • 问答
  • 下载
您的位置: 首页  >  文章  >  idea中@Data标签getset不能使用

idea中@Data标签getset不能使用

分类: 文章 • 2024-08-16 12:12:46

讲个小工具 Idea 创建对象时 不用写getset方法

  1. 导入maven坐标
        <dependency>
            <groupId>org.projectlombok</groupId>
            <artifactId>lombok</artifactId>
        </dependency>
  1. 添加注解到类上
    idea中@Data标签getset不能使用
  2. 添加插件 不添加使用不了 第一次 搜索 下载就能用了
    idea中@Data标签getset不能使用
  3. 使用
    idea中@Data标签getset不能使用祝你幸福
    送你一首歌 《永不失联的爱》虎二
    附图 宿迁 三台山衲田花海
    idea中@Data标签getset不能使用

相关推荐

  • 使用v-html解决Vue.js渲染过程中html标签不能被解析(html标签显示为字符串)
  • IDEA中,Alt + Enter 不能使用。并且搜索不到show Intention Actions
  • Idea 2018中安装lombok插件,配置配置文件,使用@Data注解自动生成实体类的getter和setter
  • Pycharm中html模板不能用jinja2标签/js不能使用jinja2语法{{}}
  • idea中@Data标签getset不能使用
  • idea中@Data标签getset不能使用
  • idea中 Data标签getset不起作用
  • 解决IDEA中 ,快捷键Alt+Enter不能使用(自动补全,个人认为比较特殊,所以记载一下)
  • idea中@Data标签getset不起作用 使用 lombok
  • IDEA中SpringBoot项目使用@Data要安装Lombok插件
  • CUBA Platform 中文语言包 1.0.0 发布,企业级应用开发平台
  • idea中@Data标签getset不能使用
    网站免责声明 网站地图 最新文章 用户隐私 版权申明
本站所有数据收集于网络,如果侵犯到您的权益,请联系网站进行下架处理。   

Copyright © 2018-2021   Powered By 源码之家    备案号:   粤ICP备20058927号