JavaPlugin.log(e);
if (!e.isDoesNotExist()) { JavaPlugin.log(e); }
	public int category(Object element) {		if (element instanceof IJavaElement) {			try {				IJavaElement je= (IJavaElement) element;								switch (je.getElementType()) {					case IJavaElement.METHOD: {						IMethod method= (IMethod) je;						if (method.isConstructor())							return CONSTRUCTORS;													int flags= method.getFlags();						return Flags.isStatic(flags) ? STATIC_METHODS : METHODS;					}										case IJavaElement.FIELD: {						int flags= ((IField) je).getFlags();						return Flags.isStatic(flags) ? STATIC_FIELDS : FIELDS;					}										case IJavaElement.INITIALIZER: {						int flags= ((IInitializer) je).getFlags();						return Flags.isStatic(flags) ? STATIC_INIT : INIT;					}										case IJavaElement.TYPE:						return TYPES;					case IJavaElement.PACKAGE_DECLARATION:						return PACKAGE_DECL;					case IJavaElement.IMPORT_CONTAINER:						return IMPORT_CONTAINER;					case IJavaElement.IMPORT_DECLARATION:						return IMPORT_DECLARATION;											case IJavaElement.PACKAGE_FRAGMENT:						IPackageFragment pack= (IPackageFragment) je;						if (pack.getParent().getUnderlyingResource() instanceof IProject) {							return PACKAGEFRAGMENTROOTS;						}						if (!pack.hasChildren() && pack.getNonJavaResources().length > 0) {							return RESOURCEPACKAGES;						}						return PACKAGEFRAGMENT;					case IJavaElement.PACKAGE_FRAGMENT_ROOT:						return PACKAGEFRAGMENTROOTS;					case IJavaElement.JAVA_PROJECT:						return JAVAPROJECTS;					case IJavaElement.CLASS_FILE:						return CLASSFILES;					case IJavaElement.COMPILATION_UNIT:						return COMPILATIONUNITS;								}						} catch (JavaModelException e) {				JavaPlugin.log(e);			}			return JAVAELEMENTS;		} else if (element instanceof IFile) {			return RESOURCES;		} else if (element instanceof IContainer) {			return RESOURCEFOLDERS;			} else if (element instanceof IStorage) {			return STORAGE;		}					return OTHERS;	}