FORGE-732: All JavaSource types should allow inner classes

pulling #getNestedClasses() up from JavaClass