public class OwnerField extends Object
Please notice that some fields defined in the XML and in the generated binder
class may not be present in the owner class - for instance, they may not be
relevant to the code of the owner class.
The fields in the binder class are instead represented by an instance of
FieldWriter
.
Constructor and Description |
---|
OwnerField(com.google.gwt.core.ext.typeinfo.JField field,
MortalLogger logger,
UiBinderContext context)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
Returns the name of the field in the owner class.
|
com.google.gwt.core.ext.typeinfo.JClassType |
getRawType()
Gets the type associated with this field.
|
OwnerFieldClass |
getType()
Returns a descriptor for the type of the field.
|
boolean |
isProvided()
Returns whether this field's value is provided by owner class.
|
String |
toString() |
public OwnerField(com.google.gwt.core.ext.typeinfo.JField field, MortalLogger logger, UiBinderContext context) throws com.google.gwt.core.ext.UnableToCompleteException
field
- the field of the owner classlogger
- context
- com.google.gwt.core.ext.UnableToCompleteException
public String getName()
public com.google.gwt.core.ext.typeinfo.JClassType getRawType()
public OwnerFieldClass getType()
public boolean isProvided()
Copyright © 2016. All rights reserved.