varDecls
Generates Java-style public field declarations for all registered variables.
Each declaration includes the Java type name and any type parameters.
Throws
if a variable has a type argument Java source cannot name, such as a local class