|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.google.web.bindery.autobean.shared.AutoBeanVisitor.ParameterizationVisitor
public static class AutoBeanVisitor.ParameterizationVisitor
The ParameterizationVisitor provides access to more complete type information than a simple class literal can provide.
The order of traversal reflects the declared parameterization of the
property. For example, a Map<String, List<Foo>> would be traversed
via the following sequence:
visitType(Map.class);
visitParameter();
visitType(String.class);
endVisitType(String.class);
endVisitParameter();
visitParameter();
visitType(List.class);
visitParameter();
visitType(Foo.class);
endVisitType(Foo.class);
endParameter();
endVisitType(List.class);
endVisitParameter();
endVisitType(Map.class);
| Constructor Summary | |
|---|---|
AutoBeanVisitor.ParameterizationVisitor()
|
|
| Method Summary | |
|---|---|
void |
endVisitParameter()
Called when finished with a type parameter. |
void |
endVisitType(java.lang.Class<?> type)
Called when finished with a type. |
boolean |
visitParameter()
Called when visiting a type parameter. |
boolean |
visitType(java.lang.Class<?> type)
Called when visiting a possibly parameterized type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AutoBeanVisitor.ParameterizationVisitor()
| Method Detail |
|---|
public void endVisitParameter()
public void endVisitType(java.lang.Class<?> type)
type - a Class objectpublic boolean visitParameter()
true if the type parameter should be visitedpublic boolean visitType(java.lang.Class<?> type)
type - a Class object
true if the type should be visited
|
GWT 2.7.0 | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||