Example #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();*/
 }
Example #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();
 }
Example #3
0
 public Flags flags() {
   return baseType.flags();
 }
Example #4
0
 public polyglot.types.Package package_() {
   return baseType.package_();
 }
Example #5
0
 public Type superType() {
   return baseType.superType();
 }
Example #6
0
 public String name() {
   return baseType.name();
 }
Example #7
0
 public ClassType outer() {
   return baseType.outer();
 }
Example #8
0
 public boolean inStaticContext() {
   return baseType.inStaticContext();
 }
Example #9
0
 public List methods(String name, List args) {
   return baseType.methods(name, args);
 }
Example #10
0
 public Source fromSource() {
   return baseType.fromSource();
 }
Example #11
0
 public List typeVariables() {
   return baseType.typeVariables();
 }
Example #12
0
 public boolean isGeneric() {
   return baseType.isGeneric();
 }
Example #13
0
 public List interfaces() {
   return baseType.interfaces();
 }
Example #14
0
 public List fields() {
   return baseType.fields();
 }
Example #15
0
 public List constructors() {
   return baseType.constructors();
 }
Example #16
0
 public Kind kind() {
   return baseType.kind();
 }
Example #17
0
 public List memberClasses() {
   return baseType.memberClasses();
 }
Example #18
0
 public List methods() {
   return baseType.methods();
 }