com.google.inject.util.Types.supertypeOf()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(109)

本文整理了Java中com.google.inject.util.Types.supertypeOf()方法的一些代码示例,展示了Types.supertypeOf()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Types.supertypeOf()方法的具体详情如下:
包路径:com.google.inject.util.Types
类名称:Types
方法名:supertypeOf

Types.supertypeOf介绍

[英]Returns a type that represents an unknown supertype of bound. For example, if bound is String.class, this returns ?.
[中]返回表示绑定的未知超类型的类型。例如,如果绑定是字符串。同学们,这是回报吗?。

代码示例

代码示例来源:origin: com.google.inject/guice

Type lowerBound = resolveType(originalLowerBound[0]);
if (lowerBound != originalLowerBound[0]) {
 return Types.supertypeOf(lowerBound);

代码示例来源:origin: Nextdoor/bender

Type lowerBound = resolveType(originalLowerBound[0]);
if (lowerBound != originalLowerBound[0]) {
 return Types.supertypeOf(lowerBound);

代码示例来源:origin: org.sonatype.sisu/sisu-guice

Type lowerBound = resolveType(originalLowerBound[0]);
if (lowerBound != originalLowerBound[0]) {
 return Types.supertypeOf(lowerBound);

代码示例来源:origin: com.jwebmp.inject/guice

Type lowerBound = resolveType(originalLowerBound[0]);
if (lowerBound != originalLowerBound[0]) {
 return Types.supertypeOf(lowerBound);

代码示例来源:origin: com.google/inject

Type lowerBound = resolveType(originalLowerBound[0]);
if (lowerBound != originalLowerBound[0]) {
 return Types.supertypeOf(lowerBound);

代码示例来源:origin: at.bestsolution.efxclipse.eclipse/com.google.inject

Type lowerBound = resolveType(originalLowerBound[0]);
if (lowerBound != originalLowerBound[0]) {
 return Types.supertypeOf(lowerBound);

代码示例来源:origin: org.xbib/guice

Type lowerBound = resolveType(originalLowerBound[0]);
if (lowerBound != originalLowerBound[0]) {
  return Types.supertypeOf(lowerBound);

相关文章