name.pehl.piriti.rebind.type
Class PojoTypeProcessor

java.lang.Object
  extended by name.pehl.piriti.rebind.type.AbstractTypeProcessor
      extended by name.pehl.piriti.rebind.type.PojoTypeProcessor
All Implemented Interfaces:
TypeProcessor

public class PojoTypeProcessor
extends AbstractTypeProcessor


Constructor Summary
PojoTypeProcessor()
           
 
Method Summary
protected  void collectFields(com.google.gwt.core.ext.typeinfo.JClassType type, List<com.google.gwt.core.ext.typeinfo.JField> fields, Set<Class<? extends Annotation>> mustHaveAnnotations, Set<Class<? extends Annotation>> annotationsToSkip)
          Collects all non-static, non-transient fields from the specified type and all of its supertypes.
protected  void doProcess(TypeContext typeContext, Set<? extends com.google.gwt.core.ext.typeinfo.JClassType> skipTypes)
           
protected  boolean skipField(com.google.gwt.core.ext.typeinfo.JField field, Set<Class<? extends Annotation>> annotationsToSkip)
           
 
Methods inherited from class name.pehl.piriti.rebind.type.AbstractTypeProcessor
addProperty, addReference, getNext, hasNext, process, setId, setNext, skipType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PojoTypeProcessor

public PojoTypeProcessor()
Method Detail

doProcess

protected void doProcess(TypeContext typeContext,
                         Set<? extends com.google.gwt.core.ext.typeinfo.JClassType> skipTypes)
                  throws com.google.gwt.core.ext.UnableToCompleteException
Specified by:
doProcess in class AbstractTypeProcessor
Throws:
com.google.gwt.core.ext.UnableToCompleteException

collectFields

protected void collectFields(com.google.gwt.core.ext.typeinfo.JClassType type,
                             List<com.google.gwt.core.ext.typeinfo.JField> fields,
                             Set<Class<? extends Annotation>> mustHaveAnnotations,
                             Set<Class<? extends Annotation>> annotationsToSkip)
Collects all non-static, non-transient fields from the specified type and all of its supertypes.

Parameters:
type -
fields -

skipField

protected boolean skipField(com.google.gwt.core.ext.typeinfo.JField field,
                            Set<Class<? extends Annotation>> annotationsToSkip)


Copyright © 2012 Harald Pehl. All Rights Reserved.