return this.type;
}-*/;
public final ImageResource getIcon()
{
CodeIcons icons = CodeIcons.INSTANCE;
switch(getType())
{
case UNKNOWN:
return icons.keyword();
case VARIABLE:
return icons.variable();
case FUNCTION:
case CONSTRUCTOR:
case DESTRUCTOR:
return icons.function();
case CLASS:
case STRUCT:
return icons.clazz();
case NAMESPACE:
return icons.namespace();
case ENUM:
return icons.enumType();
case ENUM_VALUE:
return icons.enumValue();
case KEYWORD:
return icons.keyword();
case MACRO:
return icons.macro();
default:
return icons.keyword();
}
}