예제 #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;
 }