if (element.getElementType() == IJavaElement.TYPE) { IJavaElement parent= element.getParent(); int type= parent.getElementType(); return (type != IJavaElement.COMPILATION_UNIT && type != IJavaElement.CLASS_FILE);
if (element != null && element.getElementType() == IJavaElement.TYPE) { IType type= (IType)element; try { return type.isMember(); } catch (JavaModelException e) { IJavaElement parent= type.getParent(); if (parent != null) { int parentElementType= parent.getElementType(); return (parentElementType != IJavaElement.COMPILATION_UNIT && parentElementType != IJavaElement.CLASS_FILE); } }
	private boolean isInnerType(IJavaElement element) {				if (element.getElementType() == IJavaElement.TYPE) {			IJavaElement parent= element.getParent();			int type= parent.getElementType();			return (type != IJavaElement.COMPILATION_UNIT && type != IJavaElement.CLASS_FILE);		}				return false;			}