public static boolean isMoveStaticAvailable(final IMember[] members) throws JavaModelException { for (int index= 0; index < members.length; index++) { if (!isMoveStaticAvailable(members[index])) return false; }
public static boolean isMoveStaticAvailable(final IMember member) throws JavaModelException { if (!member.exists()) return false; final int type= member.getElementType(); if (type != IJavaElement.METHOD && type != IJavaElement.FIELD && type != IJavaElement.TYPE) return false; if (JdtFlags.isEnum(member) && type != IJavaElement.TYPE) return false; final IType declaring= member.getDeclaringType(); if (declaring == null) return false; if (!Checks.isAvailable(member)) return false; if (type == IJavaElement.METHOD && declaring.isInterface()) return false; if (type == IJavaElement.METHOD && !JdtFlags.isStatic(member)) return false; if (type == IJavaElement.METHOD && ((IMethod) member).isConstructor()) return false; if (type == IJavaElement.TYPE && !JdtFlags.isStatic(member)) return false; if (!declaring.isInterface() && !JdtFlags.isStatic(member)) return false;
	public static boolean isMoveStaticAvailable(final IMember[] members) throws JavaModelException {		for (int index= 0; index < members.length; index++) {			if (!isMoveStaticAvailable(members[index]))				return false;		}		return true;	}