JAL-4131 Replace usages of requireNonNullElse
[jalview.git] / src / jalview / ws / params / ArgumentI.java
index 8d57d0a..a5cb473 100644 (file)
@@ -1,6 +1,6 @@
 /*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9)
- * Copyright (C) 2015 The Jalview Authors
+ * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
+ * Copyright (C) $$Year-Rel$$ The Jalview Authors
  * 
  * This file is part of Jalview.
  * 
@@ -30,6 +30,15 @@ public interface ArgumentI
 
   /**
    * 
+   * @return display name of this argument
+   */
+  default String getLabel()
+  {
+    return getName();
+  };
+
+  /**
+   * 
    * @return current value for the argument (may equal the name)
    */
   String getValue();