示例#1
0
 public ParameterizedType_c(JL5ParsedClassType t) {
   super(t.typeSystem(), t.init(), t.fromSource());
   this.baseType = t;
   /*fromSource = t.fromSource();
   superType = t.superType();
   interfaces = t.interfaces();
   methods = t.methods();
   fields = t.fields();
   constructors = t.constructors();
   memberClasses = t.memberClasses();
   package_ = t.package_();
   flags = t.flags();
   kind = t.kind();
   name = t.name();
   outer = t.outer();
   inStaticContext = t.inStaticContext();
   enumConstants = t.enumConstants();
   annotationElems = t.annotationElems();
   annotations = t.annotations();
   typeVariables = t.typeVariables();*/
 }
示例#2
0
 public String toString() {
   StringBuffer sb = new StringBuffer(baseType.toString());
   sb.append("<");
   for (Iterator it = typeArguments().iterator(); it.hasNext(); ) {
     sb.append(((Type) it.next()));
     if (it.hasNext()) {
       sb.append(", ");
     }
   }
   sb.append(">");
   return sb.toString();
 }
示例#3
0
 public Flags flags() {
   return baseType.flags();
 }
示例#4
0
 public polyglot.types.Package package_() {
   return baseType.package_();
 }
示例#5
0
 public Type superType() {
   return baseType.superType();
 }
示例#6
0
 public String name() {
   return baseType.name();
 }
示例#7
0
 public ClassType outer() {
   return baseType.outer();
 }
示例#8
0
 public boolean inStaticContext() {
   return baseType.inStaticContext();
 }
示例#9
0
 public List methods(String name, List args) {
   return baseType.methods(name, args);
 }
示例#10
0
 public Source fromSource() {
   return baseType.fromSource();
 }
示例#11
0
 public List typeVariables() {
   return baseType.typeVariables();
 }
示例#12
0
 public boolean isGeneric() {
   return baseType.isGeneric();
 }
示例#13
0
 public List interfaces() {
   return baseType.interfaces();
 }
示例#14
0
 public List fields() {
   return baseType.fields();
 }
示例#15
0
 public List constructors() {
   return baseType.constructors();
 }
示例#16
0
 public Kind kind() {
   return baseType.kind();
 }
示例#17
0
 public List memberClasses() {
   return baseType.memberClasses();
 }
示例#18
0
 public List methods() {
   return baseType.methods();
 }