name.pehl.piriti.rebind.type
Class PojoTypeProcessor
java.lang.Object
name.pehl.piriti.rebind.type.AbstractTypeProcessor
name.pehl.piriti.rebind.type.PojoTypeProcessor
- All Implemented Interfaces:
- TypeProcessor
public class PojoTypeProcessor
- extends AbstractTypeProcessor
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PojoTypeProcessor
public PojoTypeProcessor()
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.