public class OwnerFieldClass extends Object
Modifier and Type | Method and Description |
---|---|
static OwnerFieldClass |
getFieldClass(com.google.gwt.core.ext.typeinfo.JClassType forType,
MortalLogger logger,
UiBinderContext context)
Gets or creates the descriptor for the given field class.
|
com.google.gwt.core.ext.typeinfo.JClassType |
getRawType()
Returns the field's raw type.
|
com.google.gwt.core.ext.typeinfo.JMethod |
getSetter(String propertyName)
Finds the setter method for a given property.
|
Map<String,com.google.gwt.dev.util.Pair<com.google.gwt.core.ext.typeinfo.JMethod,Integer>> |
getUiChildMethods()
Returns a list of methods annotated with @UiChild.
|
com.google.gwt.core.ext.typeinfo.JConstructor |
getUiConstructor()
Returns the constructor annotated with @UiConstructor, or null if none
exists.
|
public static OwnerFieldClass getFieldClass(com.google.gwt.core.ext.typeinfo.JClassType forType, MortalLogger logger, UiBinderContext context) throws com.google.gwt.core.ext.UnableToCompleteException
forType
- the field type to get a descriptor forlogger
- TODOcontext
- com.google.gwt.core.ext.UnableToCompleteException
public com.google.gwt.core.ext.typeinfo.JClassType getRawType()
public com.google.gwt.core.ext.typeinfo.JMethod getSetter(String propertyName) throws com.google.gwt.core.ext.UnableToCompleteException
propertyName
- the name of the propertycom.google.gwt.core.ext.UnableToCompleteException
public Map<String,com.google.gwt.dev.util.Pair<com.google.gwt.core.ext.typeinfo.JMethod,Integer>> getUiChildMethods()
public com.google.gwt.core.ext.typeinfo.JConstructor getUiConstructor()
Copyright © 2016. All rights reserved.