@Override
	public void actionPerformed(NavigatableActionContext context) {

		AddressSetView addressSet =
			context.hasSelection() ? context.getSelection() : new AddressSet(context.getAddress());

		ProgramSelection selection = getSelection(context.getProgram(), addressSet);
		NavigationUtils.setSelection(tool, context.getNavigatable(), selection);
	}
Method called when the action is invoked.
@param ActionEvent details regarding the invocation of this action
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/select/reference/SelectForwardRefsAction.java