}
throw assertFail();
}
public static Image getTypeImage(Type type) {
TypeClass typeClass = type.getTypeClass();
if(typeClass == TypeClass.STRUCT) {
return GoPluginImages.NODE_STRUCT.getImage();
} else if(typeClass == TypeClass.INTERFACE) {
return GoPluginImages.NODE_INTERFACE.getImage();