本文整理了Java中com.thoughtworks.qdox.model.Type.isResolved()
方法的一些代码示例,展示了Type.isResolved()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Type.isResolved()
方法的具体详情如下:
包路径:com.thoughtworks.qdox.model.Type
类名称:Type
方法名:isResolved
[英]Checks if the FQN of this Type is resolved
[中]检查此类型的FQN是否已解析
代码示例来源:origin: qdox/qdox
public String getValue() {
return isResolved() ? fullName : name;
}
代码示例来源:origin: com.thoughtworks.qdox/qdox
/**
* Returns the FQN of an Object or the handler of a Type
* If the name of the can't be resolved based on the imports and the classes on the classpath the name will be returned
* InnerClasses will use the $ sign
*
* Some examples how names will be translated
* <pre>
* Object > java.lang.Object
* java.util.List > java.util.List
* ? > ?
* T > T
* anypackage.Outer.Inner > anypackage.Outer$Inner
* </pre>
*
* @return
*/
public String getFullyQualifiedName() {
return isResolved() ? fullName : name;
}
内容来源于网络,如有侵权,请联系作者删除!