]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Java/Source/FrameworkTasks/org/tianocore/framework/tasks/NestElement.java
Removed the need of external MakeDeps.exe. Now parsing include files is built in...
[mirror_edk2.git] / Tools / Java / Source / FrameworkTasks / org / tianocore / framework / tasks / NestElement.java
index 271dee6c882b027f80b238f8de4e812321d528f5..dd36c9127b8428138858290490db5317168009d2 100644 (file)
@@ -333,6 +333,24 @@ public class NestElement extends DataType {
         return toFileList(" ");\r
     }\r
 \r
+    /**\r
+       Get the array of names\r
+\r
+       @return String[]     The array contains the names\r
+     **/\r
+    public String[] toArray() {\r
+        return nameList.toArray(new String[nameList.size()]);\r
+    }\r
+\r
+    /**\r
+       Check if we have any name or not\r
+\r
+       @return boolean\r
+     **/\r
+    public boolean isEmpty() {\r
+        return nameList.isEmpty();\r
+    }\r
+\r
     //\r
     // Remove any duplicated path separator or inconsistent path separator\r
     //\r