Document java_system_modules

Bug: 142940300
Test: m nothing
Change-Id: Ic658226088615dbeeef15f17dbb095a968e0742d
diff --git a/java/system_modules.go b/java/system_modules.go
index ed2fc18..81e5cb4 100644
--- a/java/system_modules.go
+++ b/java/system_modules.go
@@ -92,6 +92,9 @@
 	return outDir, outputs.Paths()
 }
 
+// java_system_modules creates a system module from a set of java libraries that can
+// be referenced from the system_modules property. It must contain at a minimum the
+// java.base module which must include classes from java.lang amongst other java packages.
 func SystemModulesFactory() android.Module {
 	module := &SystemModules{}
 	module.AddProperties(&module.properties)