definition.setTypeReference(typeRef);
}
public DefinitionBase buildBindableGetter(String definitionName)
{
GetterDefinition getter = new SyntheticBindableGetterDefinition(definitionName);
fillinDefinition(getter);
// set up the return type for the getter
IReference typeRef = getter.getTypeReference();
getter.setReturnTypeReference(typeRef);
return getter;
}