public static String getLabel(final ModifierKeyword keyword) { Assert.isTrue(isVisibilityKeyword(keyword)); if (keyword == null) return RefactoringCoreMessages.MemberVisibilityAdjustor_change_visibility_default; else if (ModifierKeyword.PUBLIC_KEYWORD.equals(keyword)) return RefactoringCoreMessages.MemberVisibilityAdjustor_change_visibility_public; else if (ModifierKeyword.PROTECTED_KEYWORD.equals(keyword)) return RefactoringCoreMessages.MemberVisibilityAdjustor_change_visibility_protected; else return RefactoringCoreMessages.MemberVisibilityAdjustor_change_visibility_private;
public static String getLabel(final IJavaElement element) { Assert.isNotNull(element); return JavaElementLabels.getElementLabel(element, JavaElementLabels.ALL_FULLY_QUALIFIED | JavaElementLabels.ALL_DEFAULT);
	public static String getLabel(final ModifierKeyword keyword) {		Assert.isTrue(isVisibilityKeyword(keyword));		if (keyword == null)			return RefactoringCoreMessages.MemberVisibilityAdjustor_change_visibility_default;		else if (ModifierKeyword.PUBLIC_KEYWORD.equals(keyword))			return RefactoringCoreMessages.MemberVisibilityAdjustor_change_visibility_public;		else if (ModifierKeyword.PROTECTED_KEYWORD.equals(keyword))			return RefactoringCoreMessages.MemberVisibilityAdjustor_change_visibility_protected;		else			return RefactoringCoreMessages.MemberVisibilityAdjustor_change_visibility_private;	}