return getter;
}
public DefinitionBase buildBindableSetter(String definitionName, ASScope containingScope, IReference typeRef)
{
SetterDefinition setter = new SyntheticBindableSetterDefinition(definitionName);
fillinDefinition(setter);
// Set up the params for the setter
ParameterDefinition param = new ParameterDefinition("");
param.setTypeReference(typeRef);
setter.setParameters(new ParameterDefinition[] {param});
setter.setTypeReference(typeRef);
ASScope setterContainedScope = new FunctionScope(containingScope);
setter.setContainedScope(setterContainedScope);
setterContainedScope.addDefinition(param);
setter.setReturnTypeReference(ReferenceFactory.builtinReference(IASLanguageConstants.BuiltinType.VOID));
return setter;
}