/** * Sets the included visibility modifiers and removes existing visibility modifiers. Does not * touch other flags and leaves annotations in place. * * @param visibilityFlags the new visibility modifiers * @param editGroup the edit group in which to collect the corresponding text edits, or * <code>null</code> if ungrouped * @return a tracked position that contains the changed modifiers, or <code>null</code> iff <code>editGroup == null</code> */ public PositionInformation setVisibility(int visibilityFlags, TextEditGroup editGroup) { return internalSetModifiers(visibilityFlags, VISIBILITY_MODIFIERS, editGroup); }
/** * Sets the given modifiers. Removes all other flags, but leaves annotations in place. * * @param modifiers the modifiers to set * @param editGroup the edit group in which to collect the corresponding text edits, or * <code>null</code> if ungrouped * @return a tracked position that contains the changed modifiers */ public PositionInformation setModifiers(int modifiers, TextEditGroup editGroup) { return internalSetModifiers(modifiers, -1, editGroup); }
/** * Sets the included visibility modifiers and removes existing visibility modifiers. Does not * touch other flags and leaves annotations in place. * * @param visibilityFlags the new visibility modifiers * @param editGroup the edit group in which to collect the corresponding text edits, or * <code>null</code> if ungrouped * @return a tracked position that contains the changed modifiers, or <code>null</code> iff <code>editGroup == null</code> */ public PositionInformation setVisibility(int visibilityFlags, TextEditGroup editGroup) { return internalSetModifiers(visibilityFlags, VISIBILITY_MODIFIERS, editGroup); }
/** * Sets the included modifiers and removes the excluded modifiers. Does not touch other flags * and leaves annotations in place. * * @param included the modifiers to set * @param excluded the modifiers to remove * @param editGroup the edit group in which to collect the corresponding text edits, or * <code>null</code> if ungrouped * @return a tracked position that contains the changed modifiers */ public PositionInformation setModifiers(int included, int excluded, TextEditGroup editGroup) { return internalSetModifiers(included, included | excluded, editGroup); }
public void setModifiers(int modfiers, TextEditGroup editGroup) { internalSetModifiers(modfiers, -1, editGroup); }
/** * Sets the given modifiers. Removes all other flags, but leaves annotations in place. * * @param modifiers the modifiers to set * @param editGroup the edit group in which to collect the corresponding text edits, or * <code>null</code> if ungrouped * @return a tracked position that contains the changed modifiers */ public PositionInformation setModifiers(int modifiers, TextEditGroup editGroup) { return internalSetModifiers(modifiers, -1, editGroup); }
/** * Sets the included modifiers and removes the excluded modifiers. Does not touch other flags * and leaves annotations in place. * * @param included the modifiers to set * @param excluded the modifiers to remove * @param editGroup the edit group in which to collect the corresponding text edits, or * <code>null</code> if ungrouped * @return a tracked position that contains the changed modifiers */ public PositionInformation setModifiers(int included, int excluded, TextEditGroup editGroup) { return internalSetModifiers(included, included | excluded, editGroup); }
public void setModifiers(int included, int excluded, TextEditGroup editGroup) { internalSetModifiers(included, included | excluded, editGroup); }
public void setVisibility(int visibilityFlags, TextEditGroup editGroup) { internalSetModifiers(visibilityFlags, VISIBILITY_MODIFIERS, editGroup); }