*/
public String name;
- public ClassDescriptor type;
+ private ClassDescriptor type;
private ClassDescriptor parent;
List<ClassDescriptor> typeArguments = new ArrayList<ClassDescriptor>();
if (!isVisible())
return 0;
- if (type.isVisible())
- return 1;
+ if (type != null)
+ if (type.isVisible())
+ return 1;
return 0;
}