GWT 2.3.0

com.google.gwt.autobean.shared
Class AutoBeanVisitor.ParameterizationVisitor

java.lang.Object
  extended by com.google.gwt.autobean.shared.AutoBeanVisitor.ParameterizationVisitor
Enclosing class:
AutoBeanVisitor

Deprecated.

@Deprecated
public static class AutoBeanVisitor.ParameterizationVisitor
extends java.lang.Object

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);
 

AutoBeans has moved to com.google.web.bindery.autobeans. This package will be removed in a future version of GWT.


Constructor Summary
AutoBeanVisitor.ParameterizationVisitor()
          Deprecated.  
 
Method Summary
 void endVisitParameter()
          Deprecated. Called when finished with a type parameter.
 void endVisitType(java.lang.Class<?> type)
          Deprecated. Called when finished with a type.
 boolean visitParameter()
          Deprecated. Called when visiting a type parameter.
 boolean visitType(java.lang.Class<?> type)
          Deprecated. 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

AutoBeanVisitor.ParameterizationVisitor

public AutoBeanVisitor.ParameterizationVisitor()
Deprecated. 
Method Detail

endVisitParameter

public void endVisitParameter()
Deprecated. 
Called when finished with a type parameter.


endVisitType

public void endVisitType(java.lang.Class<?> type)
Deprecated. 
Called when finished with a type.


visitParameter

public boolean visitParameter()
Deprecated. 
Called when visiting a type parameter.

Returns:
true if the type parameter should be visited

visitType

public boolean visitType(java.lang.Class<?> type)
Deprecated. 
Called when visiting a possibly parameterized type.

Returns:
true if the type should be visited

GWT 2.3.0