Inner classes for unnamed objects in generated Java library #319
Labels
imported
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
From rmis...@google.com on September 27, 2011 08:46:04
Currently we generate top-level classes like this: http://javadoc.google-api-java-client.googlecode.com/hg/apis/discovery/com/google/api/services/discovery/model/RestDescriptionAuthOauth2Scopes.html I am not happy with two aspects of this:
public class RestDescription {
public static class Auth {
public static class Oauth2 {
public static class Scopes {
...
Note that this way I can declare the import like this:
import com.google.api.services.discovery.model.RestDescription.Auth.Oauth2.Scopes;
and then refer to it simply as Scopes in my code.
Original issue: http://code.google.com/p/google-api-java-client/issues/detail?id=304
The text was updated successfully, but these errors were encountered: