示例#1
0
 public static TypeParameter superOf(String fullyQualifiedClassName) {
   TypeParameter p = new TypeParameter(fullyQualifiedClassName);
   p.wildcardExpression = "? super ";
   return p;
 }
示例#2
0
 public static TypeParameter wildcard() {
   TypeParameter p = new TypeParameter("");
   p.wildcardExpression = "?";
   return p;
 }
示例#3
0
 public static TypeParameter extending(String fullyQualifiedClassName) {
   TypeParameter p = new TypeParameter(fullyQualifiedClassName);
   p.wildcardExpression = "? extends ";
   return p;
 }