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 271dee6..dd36c91 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