(cls, thrCls *Class)
| 1032 | } |
| 1033 | |
| 1034 | func (j *Importer) fillThrowableFor(cls, thrCls *Class) { |
| 1035 | if cls.Interface || cls.Throwable { |
| 1036 | return |
| 1037 | } |
| 1038 | cls.Throwable = cls == thrCls |
| 1039 | for _, name := range cls.Supers { |
| 1040 | sup := j.clsMap[name] |
| 1041 | j.fillThrowableFor(sup, thrCls) |
| 1042 | cls.Throwable = cls.Throwable || sup.Throwable |
| 1043 | } |
| 1044 | } |
| 1045 | |
| 1046 | func commonSig(f *Func) CommonSig { |
| 1047 | return CommonSig{ |