Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » How do I check what is the argument in a boolean?
How do I check what is the argument in a boolean? [message #1829781] Fri, 10 July 2020 09:18 Go to next message
Eclipse UserFriend
So I'm trying to code a plugin, and I have this
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args)
How can I check what the player typed as the args after I have the
if (label.equalsignorcase) ....... all of that.
If there is a way to do that please help
Re: How do I check what is the argument in a boolean? [message #1829816 is a reply to message #1829781] Sat, 11 July 2020 02:35 Go to previous message
Eclipse UserFriend
It's not even clear which framework you are using. I expect that using the debugger to set a breakpoint in your onCommand method to inspect what's passed in sender, cmd, label, and args will help you answer this question yourself.
Previous Topic:Eclipse run of spring boot project often terminates without error
Next Topic:"No editor descriptor for id org.eclipse.wb.core.guiEditor" taggytaggytaggy
Goto Forum:
  


Current Time: Tue Jul 15 12:47:34 EDT 2025

Powered by FUDForum. Page generated in 0.05576 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top