使用javap对java编译代码进行阅读

Classfile /D:/programecode/githubDownLoadDemo/imooc-coupon/imooc-coupon/imooc-coupon-service/coupon-template/target/classes/com/imooc/coupon/schedule/ScheduledTask.class                              Last modified 2021-9-20; size 3681 bytes                                                                                                                                                             MD5 checksum 9b7abe2571b7bf79dcf5f289ca9b0fcf                                                                                                                                                        Compiled from "ScheduledTask.java"                                                                                                                                                                 public class com.imooc.coupon.schedule.ScheduledTask                                                                                                                                                   minor version: 0                                                                                                                                                                                     major version: 52                                                                                                                                                                                    flags: ACC_PUBLIC, ACC_SUPER                                                                                                                                                                       Constant pool:                                                                                                                                                                                           #1 = Methodref          #30.#72       // java/lang/Object."<init>":()V                                                                                                                               #2 = Fieldref           #28.#73       // com/imooc/coupon/schedule/ScheduledTask.templateDao:Lcom/imooc/coupon/dao/CouponTemplateDao;                                                                #3 = Fieldref           #28.#74       // com/imooc/coupon/schedule/ScheduledTask.log:Lorg/slf4j/Logger;                                                                                              #4 = String             #75           // Start To Expire CouponTemplate                                                                                                                              #5 = InterfaceMethodref #76.#77       // org/slf4j/Logger.info:(Ljava/lang/String;)V                                                                                                                 #6 = Methodref          #78.#79       // java/lang/Boolean.valueOf:(Z)Ljava/lang/Boolean;                                                                                                            #7 = InterfaceMethodref #80.#81       // com/imooc/coupon/dao/CouponTemplateDao.findAllByExpired:(Ljava/lang/Boolean;)Ljava/util/List;                                                               #8 = Methodref          #82.#83       // org/apache/commons/collections4/CollectionUtils.isEmpty:(Ljava/util/Collection;)Z                                                                           #9 = String             #84           // Done To Expire CouponTemplate.                                                                                                                             #10 = Class              #85           // java/util/Date                                                                                                                                             #11 = Methodref          #10.#72       // java/util/Date."<init>":()V                                                                                                                                #12 = Class              #86           // java/util/ArrayList                                                                                                                                        #13 = InterfaceMethodref #87.#88       // java/util/List.size:()I                                                                                                                                    #14 = Methodref          #12.#89       // java/util/ArrayList."<init>":(I)V                                                                                                                          #15 = InvokeDynamic      #0:#95        // #0:accept:(Ljava/util/Date;Ljava/util/List;)Ljava/util/function/Consumer;                                                                                  #16 = InterfaceMethodref #87.#96       // java/util/List.forEach:(Ljava/util/function/Consumer;)V                                                                                                    #17 = Methodref          #82.#97       // org/apache/commons/collections4/CollectionUtils.isNotEmpty:(Ljava/util/Collection;)Z                                                                       #18 = String             #98           // Expired CouponTemplate Num: {}                                                                                                                             #19 = InterfaceMethodref #80.#99       // com/imooc/coupon/dao/CouponTemplateDao.saveAll:(Ljava/lang/Iterable;)Ljava/util/List;                                                                      #20 = InterfaceMethodref #76.#100      // org/slf4j/Logger.info:(Ljava/lang/String;Ljava/lang/Object;)V                                                                                              #21 = Methodref          #101.#102     // com/imooc/coupon/entity/CouponTemplate.getRule:()Lcom/imooc/coupon/vo/TemplateRule;                                                                        #22 = Methodref          #103.#104     // com/imooc/coupon/vo/TemplateRule.getExpiration:()Lcom/imooc/coupon/vo/TemplateRule$Expiration;                                                             #23 = Methodref          #105.#106     // com/imooc/coupon/vo/TemplateRule$Expiration.getDeadline:()Ljava/lang/Long;                                                                                 #24 = Methodref          #107.#108     // java/lang/Long.longValue:()J                                                                                                                               #25 = Methodref          #10.#109      // java/util/Date.getTime:()J                                                                                                                                 #26 = Methodref          #101.#110     // com/imooc/coupon/entity/CouponTemplate.setExpired:(Ljava/lang/Boolean;)V                                                                                   #27 = InterfaceMethodref #87.#111      // java/util/List.add:(Ljava/lang/Object;)Z                                                                                                                   #28 = Class              #112          // com/imooc/coupon/schedule/ScheduledTask                                                                                                                    #29 = Methodref          #113.#114     // org/slf4j/LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;                                                                                    #30 = Class              #115          // java/lang/Object                                                                                                                                           #31 = Utf8               log                                                                                                                                                                         #32 = Utf8               Lorg/slf4j/Logger;                                                                                                                                                          #33 = Utf8               templateDao                                                                                                                                                                 #34 = Utf8               Lcom/imooc/coupon/dao/CouponTemplateDao;                                                                                                                                    #35 = Utf8               <init>                                                                                                                                                                      #36 = Utf8               (Lcom/imooc/coupon/dao/CouponTemplateDao;)V                                                                                                                                 #37 = Utf8               Code                                                                                                                                                                        #38 = Utf8               LineNumberTable                                                                                                                                                             #39 = Utf8               LocalVariableTable                                                                                                                                                          #40 = Utf8               this                                                                                                                                                                        #41 = Utf8               Lcom/imooc/coupon/schedule/ScheduledTask;                                                                                                                                   #42 = Utf8               MethodParameters                                                                                                                                                            #43 = Utf8               RuntimeVisibleAnnotations                                                                                                                                                   #44 = Utf8               Lorg/springframework/beans/factory/annotation/Autowired;                                                                                                                    #45 = Utf8               offlineCouponTemplate                                                                                                                                                       #46 = Utf8               ()V                                                                                                                                                                         #47 = Utf8               templates                                                                                                                                                                   #48 = Utf8               Ljava/util/List;                                                                                                                                                            #49 = Utf8               cur                                                                                                    
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值