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

你可能感兴趣的:(java常用知识点)