static TypeName get(
javax.lang.model.type.WildcardType mirror,
Map<TypeParameterElement, TypeVariableName> typeVariables)
{
TypeMirror extendsBound = mirror.getExtendsBound();
if (extendsBound == null) {
TypeMirror superBound = mirror.getSuperBound();
if (superBound == null) {
return subtypeOf(Object.class);
}
else {
return supertypeOf(TypeName.get(superBound, typeVariables));
}
}
else {
return subtypeOf(TypeName.get(extendsBound, typeVariables));
}
}
WildcardTypeName.java 文件源码
java
阅读 16
收藏 0
点赞 0
评论 0
项目:wava
作者:
评论列表
文章目录