Generates Java-style public field declarations for all registered variables.
Each declaration includes the Java type name and any type parameters.