public static boolean isMoveInnerAvailable(final IType type) throws JavaModelException { return Checks.isAvailable(type) && !Checks.isAnonymous(type) && !Checks.isTopLevel(type) && !Checks.isInsideLocalType(type);
public static boolean isMoveInnerAvailable(final IStructuredSelection selection) throws JavaModelException { if (selection.size() == 1) { Object first= selection.getFirstElement(); if (first instanceof IType) { return isMoveInnerAvailable((IType) first); } } return false;
	public static boolean isMoveInnerAvailable(final IType type) throws JavaModelException {		return Checks.isAvailable(type) && !Checks.isAnonymous(type) && !Checks.isTopLevel(type) && !Checks.isInsideLocalType(type);	}