@Override public TypeData getArrayType(int dim) throws NotFoundException { if (dim == 0) return this; BasicType bt = isBasicType(); if (bt == null) if (isNullType()) return new NullType(); else return new ClassName(getName()).getArrayType(dim); return bt.getArrayType(dim); }
public TypeData getArrayType(int dim) throws NotFoundException { if (dim == 0) return this; else { BasicType bt = isBasicType(); if (bt == null) if (isNullType()) return new NullType(); else return new ClassName(getName()).getArrayType(dim); else return bt.getArrayType(dim); } }