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();*/ }
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(); }
public Flags flags() { return baseType.flags(); }
public polyglot.types.Package package_() { return baseType.package_(); }
public Type superType() { return baseType.superType(); }
public String name() { return baseType.name(); }
public ClassType outer() { return baseType.outer(); }
public boolean inStaticContext() { return baseType.inStaticContext(); }
public List methods(String name, List args) { return baseType.methods(name, args); }
public Source fromSource() { return baseType.fromSource(); }
public List typeVariables() { return baseType.typeVariables(); }
public boolean isGeneric() { return baseType.isGeneric(); }
public List interfaces() { return baseType.interfaces(); }
public List fields() { return baseType.fields(); }
public List constructors() { return baseType.constructors(); }
public Kind kind() { return baseType.kind(); }
public List memberClasses() { return baseType.memberClasses(); }
public List methods() { return baseType.methods(); }