if (javaVariable.isPublic()) return fIconManager.getIcon(JavaPluginImages.IMG_MISC_PUBLIC, element); if (javaVariable.isProtected()) return fIconManager.getIcon(JavaPluginImages.IMG_MISC_PROTECTED, element); if (javaVariable.isPrivate()) return fIconManager.getIcon(JavaPluginImages.IMG_MISC_PRIVATE, element);
try { if (javaVariable.isPublic()) return fIconManager.getIcon(JavaPluginImages.IMG_MISC_PUBLIC, element); if (javaVariable.isProtected()) return fIconManager.getIcon(JavaPluginImages.IMG_MISC_PROTECTED, element); if (javaVariable.isPrivate()) return fIconManager.getIcon(JavaPluginImages.IMG_MISC_PRIVATE, element); } catch (DebugException e) { }
	protected Image getVariableImage(IAdaptable element) {		IJavaVariable javaVariable= (IJavaVariable) element.getAdapter(IJavaVariable.class);		if (javaVariable != null) {			if (javaVariable.isPublic())				return fIconManager.getIcon(JavaPluginImages.IMG_MISC_PUBLIC, element);			if (javaVariable.isProtected())				return fIconManager.getIcon(JavaPluginImages.IMG_MISC_PROTECTED, element);			if (javaVariable.isPrivate())				return fIconManager.getIcon(JavaPluginImages.IMG_MISC_PRIVATE, element);			return fIconManager.getIcon(JavaPluginImages.IMG_MISC_DEFAULT, element);		}		return null;	}