java常用知识点

  1. 获取当前的方法执行栈:new RuntimeException().getStackTrace()
  2. 解析命令行:PropertySource<?> ps = new SimpleCommandLinePropertySource(args);或者使用https://github.com/airlift/airline
  3. 读取资源文件:org.springframework.core.io.support.PathMatchingResourcePatternResolver
  4. spring中获取泛型的操作类:org.springframework.core.ResolvableType或者org.springframework.core.GenericTypeResolver
  5. 如何生成hashcode:参考spring:org.springframework.util.ObjectUtils#nullSafeHashCode
    6.文档编写工具:asciidoc
    7:接口测试工具Gatling:Jmter

猜你喜欢

转载自blog.csdn.net/weixin_34121282/article/details/87078197