类 VersionExtractor
java.lang.Object
org.springframework.boot.gradle.util.VersionExtractor
Extracts version information for a Class.
- 从以下版本开始:
- 2.3.0
- 作者:
- Andy Wilkinson, Scott Frederick
-
方法概要
-
方法详细资料
-
forClass
Return the version information for the providedClass
.- 参数:
cls
- the Class to retrieve the version for- 返回:
- the version, or
null
if a version can not be extracted
-