List of usage examples for com.google.gwt.core.ext.typeinfo JWildcardType getUpperBound
JClassType getUpperBound();
From source file:com.kk_electronic.gwt.rebind.RemoteServiceGenerator.java
License:Open Source License
private void writeTypeInfo(SourceWriter sw, JType type) { JWildcardType w = type.isWildcard(); if (w != null) { type = w.getUpperBound(); }//w w w.j a v a 2 s.c o m sw.print(type.getQualifiedSourceName() + ".class"); sw.print(","); JParameterizedType x = type.isParameterized(); if (x != null) { for (JClassType nestedType : x.getTypeArgs()) { writeTypeInfo(sw, nestedType); } } }