public DescribeExpressionsResult describeExpressions(DescribeExpressionsRequest request) {request = beforeClientExecution(request);return executeDescribeExpressions(request);}

public virtual DescribeExpressionsResponse DescribeExpressions(DescribeExpressionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeExpressionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeExpressionsResponseUnmarshaller.Instance;return Invoke<DescribeExpressionsResponse>(request, options);}

[User] public DescribeExpressionsResult describeExpressions(DescribeExpressionsRequest request) {request = beforeClientExecution(request);return executeDescribeExpressions(request);}

[Assistant] public virtual DescribeExpressionsResponse DescribeExpressions(DescribeExpressionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeExpressionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeExpressionsResponseUnmarshaller.Instance;return Invoke<DescribeExpressionsResponse>(request, options);}


public Ptg[] getResult() {return _ptgs;}

[User] public Ptg[] getResult() {return _ptgs;}

[Assistant] public Ptg[] GetResult(){return _ptgs;}


public GetDistributionConfigResult getDistributionConfig(GetDistributionConfigRequest request) {request = beforeClientExecution(request);return executeGetDistributionConfig(request);}

public virtual GetDistributionConfigResponse GetDistributionConfig(GetDistributionConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDistributionConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDistributionConfigResponseUnmarshaller.Instance;return Invoke<GetDistributionConfigResponse>(request, options);}

[User] public GetDistributionConfigResult getDistributionConfig(GetDistributionConfigRequest request) {request = beforeClientExecution(request);return executeGetDistributionConfig(request);}

[Assistant] public virtual GetDistributionConfigResponse GetDistributionConfig(GetDistributionConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDistributionConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDistributionConfigResponseUnmarshaller.Instance;return Invoke<GetDistributionConfigResponse>(request, options);}


public ShortBuffer get(short[] dst) {return get(dst, 0, dst.length);}

public virtual java.nio.ShortBuffer get(short[] dst){return get(dst, 0, dst.Length);}

[User] public ShortBuffer get(short[] dst) {return get(dst, 0, dst.length);}

[Assistant] public virtual java.nio.ShortBuffer get(short[] dst){return get(dst, 0, dst.Length);}


public GetMetricWidgetImageResult getMetricWidgetImage(GetMetricWidgetImageRequest request) {request = beforeClientExecution(request);return executeGetMetricWidgetImage(request);}

public virtual GetMetricWidgetImageResponse GetMetricWidgetImage(GetMetricWidgetImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetMetricWidgetImageRequestMarshaller.Instance;options.ResponseUnmarshaller = GetMetricWidgetImageResponseUnmarshaller.Instance;return Invoke<GetMetricWidgetImageResponse>(request, options);}

[User] public GetMetricWidgetImageResult getMetricWidgetImage(GetMetricWidgetImageRequest request) {request = beforeClientExecution(request);return executeGetMetricWidgetImage(request);}

[Assistant] public virtual GetMetricWidgetImageResponse GetMetricWidgetImage(GetMetricWidgetImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetMetricWidgetImageRequestMarshaller.Instance;options.ResponseUnmarshaller = GetMetricWidgetImageResponseUnmarshaller.Instance;return Invoke<GetMetricWidgetImageResponse>(request, options);}


public UpdateVoiceConnectorGroupResult updateVoiceConnectorGroup(UpdateVoiceConnectorGroupRequest request) {request = beforeClientExecution(request);return executeUpdateVoiceConnectorGroup(request);}

public virtual UpdateVoiceConnectorGroupResponse UpdateVoiceConnectorGroup(UpdateVoiceConnectorGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateVoiceConnectorGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateVoiceConnectorGroupResponseUnmarshaller.Instance;return Invoke<UpdateVoiceConnectorGroupResponse>(request, options);}

[User] public UpdateVoiceConnectorGroupResult updateVoiceConnectorGroup(UpdateVoiceConnectorGroupRequest request) {request = beforeClientExecution(request);return executeUpdateVoiceConnectorGroup(request);}

[Assistant] public virtual UpdateVoiceConnectorGroupResponse UpdateVoiceConnectorGroup(UpdateVoiceConnectorGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateVoiceConnectorGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateVoiceConnectorGroupResponseUnmarshaller.Instance;return Invoke<UpdateVoiceConnectorGroupResponse>(request, options);}


public void add(SortField sortField) {map.put(sortField.getField(), sortField);}

public void Add(SortField sortField){map[sortField.Field] = sortField;}

[User] public void add(SortField sortField) {map.put(sortField.getField(), sortField);}

[Assistant] public void Add(SortField sortField){map[sortField.Field] = sortField;}


public Daemon getDaemon() {return daemon;}

public virtual Daemon GetDaemon(){return daemon;}

[User] public Daemon getDaemon() {return daemon;}

[Assistant] public virtual Daemon GetDaemon(){return daemon;}


public CreateVpcPeeringConnectionResult createVpcPeeringConnection(CreateVpcPeeringConnectionRequest request) {request = beforeClientExecution(request);return executeCreateVpcPeeringConnection(request);}

public virtual CreateVpcPeeringConnectionResponse CreateVpcPeeringConnection(CreateVpcPeeringConnectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVpcPeeringConnectionRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVpcPeeringConnectionResponseUnmarshaller.Instance;return Invoke<CreateVpcPeeringConnectionResponse>(request, options);}

[User] public CreateVpcPeeringConnectionResult createVpcPeeringConnection(CreateVpcPeeringConnectionRequest request) {request = beforeClientExecution(request);return executeCreateVpcPeeringConnection(request);}

[Assistant] public virtual CreateVpcPeeringConnectionResponse CreateVpcPeeringConnection(CreateVpcPeeringConnectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVpcPeeringConnectionRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVpcPeeringConnectionResponseUnmarshaller.Instance;return Invoke<CreateVpcPeeringConnectionResponse>(request, options);}


public String toFormulaString(String[] operands) {StringBuilder buffer = new StringBuilder();buffer.append(operands[ 0 ]);buffer.append("*");buffer.append(operands[ 1 ]);return buffer.toString();}

public override String ToFormulaString(String[] operands){StringBuilder buffer = new StringBuilder();buffer.Append(operands[0]);buffer.Append("*");buffer.Append(operands[1]);return buffer.ToString();}

[User] public String toFormulaString(String[] operands) {StringBuilder buffer = new StringBuilder();buffer.append(operands[ 0 ]);buffer.append("*");buffer.append(operands[ 1 ]);return buffer.toString();}

[Assistant] public override String ToFormulaString(String[] operands){StringBuilder buffer = new StringBuilder();buffer.Append(operands[0]);buffer.Append("*");buffer.Append(operands[1]);return buffer.ToString();}


public DescribeExclusionsResult describeExclusions(DescribeExclusionsRequest request) {request = beforeClientExecution(request);return executeDescribeExclusions(request);}

public virtual DescribeExclusionsResponse DescribeExclusions(DescribeExclusionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeExclusionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeExclusionsResponseUnmarshaller.Instance;return Invoke<DescribeExclusionsResponse>(request, options);}

[User] public DescribeExclusionsResult describeExclusions(DescribeExclusionsRequest request) {request = beforeClientExecution(request);return executeDescribeExclusions(request);}

[Assistant] public virtual DescribeExclusionsResponse DescribeExclusions(DescribeExclusionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeExclusionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeExclusionsResponseUnmarshaller.Instance;return Invoke<DescribeExclusionsResponse>(request, options);}


public SearchNetworkProfilesResult searchNetworkProfiles(SearchNetworkProfilesRequest request) {request = beforeClientExecution(request);return executeSearchNetworkProfiles(request);}

public virtual SearchNetworkProfilesResponse SearchNetworkProfiles(SearchNetworkProfilesRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchNetworkProfilesRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchNetworkProfilesResponseUnmarshaller.Instance;return Invoke<SearchNetworkProfilesResponse>(request, options);}

[User] public SearchNetworkProfilesResult searchNetworkProfiles(SearchNetworkProfilesRequest request) {request = beforeClientExecution(request);return executeSearchNetworkProfiles(request);}

[Assistant] public virtual SearchNetworkProfilesResponse SearchNetworkProfiles(SearchNetworkProfilesRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchNetworkProfilesRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchNetworkProfilesResponseUnmarshaller.Instance;return Invoke<SearchNetworkProfilesResponse>(request, options);}


public LooseRef peel(ObjectIdRef newLeaf) {throw new UnsupportedOperationException();}

public RefDirectory.LooseRef Peel(ObjectIdRef newLeaf){throw new NGit.Errors.NotSupportedException();}

[User] public LooseRef peel(ObjectIdRef newLeaf) {throw new UnsupportedOperationException();}

[Assistant] public RefDirectory.LooseRef Peel(ObjectIdRef newLeaf){throw new NGit.Errors.NotSupportedException();}


public void println(float f) {println(String.valueOf(f));}

public virtual void println(float f){println(f.ToString());}

[User] public void println(float f) {println(String.valueOf(f));}

[Assistant] public virtual void println(float f){println(f.ToString());}


public PurchaseReservedInstancesOfferingRequest(string reservedInstancesOfferingId, int instanceCount){_reservedInstancesOfferingId = reservedInstancesOfferingId;_instanceCount = instanceCount;}

[User] public PurchaseReservedInstancesOfferingRequest(String reservedInstancesOfferingId, Integer instanceCount) {setReservedInstancesOfferingId(reservedInstancesOfferingId);setInstanceCount(instanceCount);}

[Assistant] public PurchaseReservedInstancesOfferingRequest(string reservedInstancesOfferingId, int instanceCount){_reservedInstancesOfferingId = reservedInstancesOfferingId;_instanceCount = instanceCount;}


public Set<String> getUntracked() {return Collections.unmodifiableSet(diff.getUntracked());}

public virtual ICollection<string> GetUntracked(){return Sharpen.Collections.UnmodifiableSet(diff.GetUntracked());}

[User] public Set<String> getUntracked() {return Collections.unmodifiableSet(diff.getUntracked());}

[Assistant] public virtual ICollection<string> GetUntracked(){return Sharpen.Collections.UnmodifiableSet(diff.GetUntracked());}


public virtual string GetTag(){return tag;}

[User] public String getTag() {return tag;}

[Assistant] public virtual string GetTag(){return tag;}


public void buildFieldConfig(FieldConfig fieldConfig) {DateTools.Resolution dateRes = null;Map<CharSequence, DateTools.Resolution> dateResMap = this.config.get(ConfigurationKeys.FIELD_DATE_RESOLUTION_MAP);if (dateResMap != null) {dateRes = dateResMap.get(fieldConfig.getField());}if (dateRes == null) {dateRes = this.config.get(ConfigurationKeys.DATE_RESOLUTION);}if (dateRes != null) {fieldConfig.set(ConfigurationKeys.DATE_RESOLUTION, dateRes);}}

public virtual void BuildFieldConfig(FieldConfig fieldConfig){DateTools.Resolution? dateRes = null;IDictionary<string, DateTools.Resolution?> dateResMap = this.config.Get(ConfigurationKeys.FIELD_DATE_RESOLUTION_MAP);if (dateResMap != null){dateResMap.TryGetValue(fieldConfig.Field, out dateRes);}if (dateRes == null){dateRes = this.config.Get(ConfigurationKeys.DATE_RESOLUTION);}if (dateRes != null){fieldConfig.Set(ConfigurationKeys.DATE_RESOLUTION, dateRes.Value);}}

[User] public void buildFieldConfig(FieldConfig fieldConfig) {DateTools.Resolution dateRes = null;Map<CharSequence, DateTools.Resolution> dateResMap = this.config.get(ConfigurationKeys.FIELD_DATE_RESOLUTION_MAP);if (dateResMap != null) {dateRes = dateResMap.get(fieldConfig.getField());}if (dateRes == null) {dateRes = this.config.get(ConfigurationKeys.DATE_RESOLUTION);}if (dateRes != null) {fieldConfig.set(ConfigurationKeys.DATE_RESOLUTION, dateRes);}}

[Assistant] public virtual void BuildFieldConfig(FieldConfig fieldConfig){DateTools.Resolution? dateRes = null;IDictionary<string, DateTools.Resolution?> dateResMap = this.config.Get(ConfigurationKeys.FIELD_DATE_RESOLUTION_MAP);if (dateResMap != null){dateResMap.TryGetValue(fieldConfig.Field, out dateRes);}if (dateRes == null){dateRes = this.config.Get(ConfigurationKeys.DATE_RESOLUTION);}if (dateRes != null){fieldConfig.Set(ConfigurationKeys.DATE_RESOLUTION, dateRes.Value);}}


public String toFormulaString() {return String.valueOf(getValue());}

public override String ToFormulaString(){return Value.ToString(CultureInfo.InvariantCulture);}

[User] public String toFormulaString() {return String.valueOf(getValue());}

[Assistant] public override String ToFormulaString(){return Value.ToString(CultureInfo.InvariantCulture);}


public Bits getAllGroupHeads() {return matchingGroupHeads;}

public virtual IBits GetAllGroupHeads(){return matchingGroupHeads;}

[User] public Bits getAllGroupHeads() {return matchingGroupHeads;}

[Assistant] public virtual IBits GetAllGroupHeads(){return matchingGroupHeads;}


public int serialize( int offset, byte[] data, EscherSerializationListener listener ) {listener.beforeRecordSerialize( offset, getRecordId(), this );int pos = offset;LittleEndian.putShort( data, pos, getOptions() );     pos += 2;LittleEndian.putShort( data, pos, getRecordId() );    pos += 2;int remainingBytes =  getRecordSize() - 8;LittleEndian.putInt( data, pos, remainingBytes );          pos += 4;LittleEndian.putInt( data, pos, field_1_color1 );          pos += 4;LittleEndian.putInt( data, pos, field_2_color2 );          pos += 4;LittleEndian.putInt( data, pos, field_3_color3 );          pos += 4;LittleEndian.putInt( data, pos, field_4_color4 );          pos += 4;listener.afterRecordSerialize( pos, getRecordId(), pos - offset, this );return getRecordSize();}

public override int Serialize(int offset, byte[] data, EscherSerializationListener listener){listener.BeforeRecordSerialize(offset, RecordId, this);int pos = offset;LittleEndian.PutShort(data, pos, Options); pos += 2;LittleEndian.PutShort(data, pos, RecordId); pos += 2;int remainingBytes = RecordSize - 8;LittleEndian.PutInt(data, pos, remainingBytes); pos += 4;LittleEndian.PutInt(data, pos, field_1_color1); pos += 4;LittleEndian.PutInt(data, pos, field_2_color2); pos += 4;LittleEndian.PutInt(data, pos, field_3_color3); pos += 4;LittleEndian.PutInt(data, pos, field_4_color4); pos += 4;listener.AfterRecordSerialize(pos, RecordId, pos - offset, this);return RecordSize;}

[User] public int serialize( int offset, byte[] data, EscherSerializationListener listener ) {listener.beforeRecordSerialize( offset, getRecordId(), this );int pos = offset;LittleEndian.putShort( data, pos, getOptions() );     pos += 2;LittleEndian.putShort( data, pos, getRecordId() );    pos += 2;int remainingBytes =  getRecordSize() - 8;LittleEndian.putInt( data, pos, remainingBytes );          pos += 4;LittleEndian.putInt( data, pos, field_1_color1 );          pos += 4;LittleEndian.putInt( data, pos, field_2_color2 );          pos += 4;LittleEndian.putInt( data, pos, field_3_color3 );          pos += 4;LittleEndian.putInt( data, pos, field_4_color4 );          pos += 4;listener.afterRecordSerialize( pos, getRecordId(), pos - offset, this );return getRecordSize();}

[Assistant] public override int Serialize(int offset, byte[] data, EscherSerializationListener listener){listener.BeforeRecordSerialize(offset, RecordId, this);int pos = offset;LittleEndian.PutShort(data, pos, Options); pos += 2;LittleEndian.PutShort(data, pos, RecordId); pos += 2;int remainingBytes = RecordSize - 8;LittleEndian.PutInt(data, pos, remainingBytes); pos += 4;LittleEndian.PutInt(data, pos, field_1_color1); pos += 4;LittleEndian.PutInt(data, pos, field_2_color2); pos += 4;LittleEndian.PutInt(data, pos, field_3_color3); pos += 4;LittleEndian.PutInt(data, pos, field_4_color4); pos += 4;listener.AfterRecordSerialize(pos, RecordId, pos - offset, this);return RecordSize;}


public boolean add(E object) {return backingMap.put(object, Boolean.TRUE) == null;}

public override bool add(E @object){return backingMap.put(@object, true) == null;}

[User] public boolean add(E object) {return backingMap.put(object, Boolean.TRUE) == null;}

[Assistant] public override bool add(E @object){return backingMap.put(@object, true) == null;}


public void setBinaryFileThreshold(int threshold) {this.binaryFileThreshold = threshold;}

public virtual void SetBinaryFileThreshold(int threshold){this.binaryFileThreshold = threshold;}

[User] public void setBinaryFileThreshold(int threshold) {this.binaryFileThreshold = threshold;}

[Assistant] public virtual void SetBinaryFileThreshold(int threshold){this.binaryFileThreshold = threshold;}


public void setParams(String params) {super.setParams(params);pauseMSec = (long) (1000.0*Float.parseFloat(params));}

public override void SetParams(string @params){base.SetParams(@params);pauseMSec = (long)(1000.0 * float.Parse(@params, CultureInfo.InvariantCulture));}

[User] public void setParams(String params) {super.setParams(params);pauseMSec = (long) (1000.0*Float.parseFloat(params));}

[Assistant] public override void SetParams(string @params){base.SetParams(@params);pauseMSec = (long)(1000.0 * float.Parse(@params, CultureInfo.InvariantCulture));}


public PerfTask(PerfRunData runData) {this();this.runData = runData;Config config = runData.getConfig();this.maxDepthLogStart = config.get("task.max.depth.log",0);String logStepAtt = "log.step";String taskLogStepAtt = "log.step." + name;if (config.get(taskLogStepAtt, null) != null) {logStepAtt = taskLogStepAtt;}logStep = config.get(logStepAtt, DEFAULT_LOG_STEP);if (logStep <= 0) {logStep = Integer.MAX_VALUE;}}

public PerfTask(PerfRunData runData): this(){this.runData = runData;Config config = runData.Config;this.maxDepthLogStart = config.Get("task.max.depth.log", 0);string logStepAtt = "log.step";string taskLogStepAtt = "log.step." + name;if (config.Get(taskLogStepAtt, null) != null){logStepAtt = taskLogStepAtt;}m_logStep = config.Get(logStepAtt, DEFAULT_LOG_STEP);if (m_logStep <= 0){m_logStep = int.MaxValue;}}

[User] public PerfTask(PerfRunData runData) {this();this.runData = runData;Config config = runData.getConfig();this.maxDepthLogStart = config.get("task.max.depth.log",0);String logStepAtt = "log.step";String taskLogStepAtt = "log.step." + name;if (config.get(taskLogStepAtt, null) != null) {logStepAtt = taskLogStepAtt;}logStep = config.get(logStepAtt, DEFAULT_LOG_STEP);if (logStep <= 0) {logStep = Integer.MAX_VALUE;}}

[Assistant] public PerfTask(PerfRunData runData): this(){this.runData = runData;Config config = runData.Config;this.maxDepthLogStart = config.Get("task.max.depth.log", 0);string logStepAtt = "log.step";string taskLogStepAtt = "log.step." + name;if (config.Get(taskLogStepAtt, null) != null){logStepAtt = taskLogStepAtt;}m_logStep = config.Get(logStepAtt, DEFAULT_LOG_STEP);if (m_logStep <= 0){m_logStep = int.MaxValue;}}


public void setMBPerSec(double mbPerSec) {this.mbPerSec = mbPerSec;minPauseCheckBytes = (long) ((MIN_PAUSE_CHECK_MSEC / 1000.0) * mbPerSec * 1024 * 1024);}

public override void SetMbPerSec(double mbPerSec){this.mbPerSec = mbPerSec;if (mbPerSec == 0)nsPerByte = 0;elsensPerByte = 1000000000.0 / (1024 * 1024 * mbPerSec);}

[User] public void setMBPerSec(double mbPerSec) {this.mbPerSec = mbPerSec;minPauseCheckBytes = (long) ((MIN_PAUSE_CHECK_MSEC / 1000.0) * mbPerSec * 1024 * 1024);}

[Assistant] public override void SetMbPerSec(double mbPerSec){this.mbPerSec = mbPerSec;if (mbPerSec == 0)nsPerByte = 0;elsensPerByte = 1000000000.0 / (1024 * 1024 * mbPerSec);}


public ConfirmSubscriptionRequest(String topicArn, String token, String authenticateOnUnsubscribe) {setTopicArn(topicArn);setToken(token);setAuthenticateOnUnsubscribe(authenticateOnUnsubscribe);}

public ConfirmSubscriptionRequest(string topicArn, string token, string authenticateOnUnsubscribe){_topicArn = topicArn;_token = token;_authenticateOnUnsubscribe = authenticateOnUnsubscribe;}

[User] public ConfirmSubscriptionRequest(String topicArn, String token, String authenticateOnUnsubscribe) {setTopicArn(topicArn);setToken(token);setAuthenticateOnUnsubscribe(authenticateOnUnsubscribe);}

[Assistant] public ConfirmSubscriptionRequest(string topicArn, string token, string authenticateOnUnsubscribe){_topicArn = topicArn;_token = token;_authenticateOnUnsubscribe = authenticateOnUnsubscribe;}


public String getHostName() {return hostName;}

public virtual string GetHostName(){return hostName;}

[User] public String getHostName() {return hostName;}

[Assistant] public virtual string GetHostName(){return hostName;}


public StartMonitoringMemberResult startMonitoringMember(StartMonitoringMemberRequest request) {request = beforeClientExecution(request);return executeStartMonitoringMember(request);}

public virtual StartMonitoringMemberResponse StartMonitoringMember(StartMonitoringMemberRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartMonitoringMemberRequestMarshaller.Instance;options.ResponseUnmarshaller = StartMonitoringMemberResponseUnmarshaller.Instance;return Invoke<StartMonitoringMemberResponse>(request, options);}

[User] public StartMonitoringMemberResult startMonitoringMember(StartMonitoringMemberRequest request) {request = beforeClientExecution(request);return executeStartMonitoringMember(request);}

[Assistant] public virtual StartMonitoringMemberResponse StartMonitoringMember(StartMonitoringMemberRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartMonitoringMemberRequestMarshaller.Instance;options.ResponseUnmarshaller = StartMonitoringMemberResponseUnmarshaller.Instance;return Invoke<StartMonitoringMemberResponse>(request, options);}


public <T extends EscherProperty> T lookup( int propId ) {return (T)properties.stream().filter(p -> p.getPropertyNumber() == propId).findFirst().orElse(null);}

public EscherProperty Lookup(int propId){foreach (EscherProperty prop in properties){if (prop.PropertyNumber == propId){return prop;}}return null;}

[User] public <T extends EscherProperty> T lookup( int propId ) {return (T)properties.stream().filter(p -> p.getPropertyNumber() == propId).findFirst().orElse(null);}

[Assistant] public EscherProperty Lookup(int propId){foreach (EscherProperty prop in properties){if (prop.PropertyNumber == propId){return prop;}}return null;}


public boolean isExpectingOldObjectId() {return expectedOldObjectId != null;}

public virtual bool IsExpectingOldObjectId(){return expectedOldObjectId != null;}

[User] public boolean isExpectingOldObjectId() {return expectedOldObjectId != null;}

[Assistant] public virtual bool IsExpectingOldObjectId(){return expectedOldObjectId != null;}


public int compareTo(ScoreTerm other) {if (term.bytesEquals(other.term))return 0; if (this.boost == other.boost)return other.term.compareTo(this.term);elsereturn Float.compare(this.boost, other.boost);}

public int CompareTo(ScoreTerm other){if (this.Boost == other.Boost){return TermComp.Compare(other.Bytes, this.Bytes);}else{return this.Boost.CompareTo(other.Boost);}}

[User] public int compareTo(ScoreTerm other) {if (term.bytesEquals(other.term))return 0; if (this.boost == other.boost)return other.term.compareTo(this.term);elsereturn Float.compare(this.boost, other.boost);}

[Assistant] public int CompareTo(ScoreTerm other){if (this.Boost == other.Boost){return TermComp.Compare(other.Bytes, this.Bytes);}else{return this.Boost.CompareTo(other.Boost);}}


public LazyAreaEval getColumn(int columnIndex) {if (columnIndex >= getWidth()) {throw new IllegalArgumentException("Invalid columnIndex " + columnIndex+ ".  Allowable range is (0.." + getWidth() + ").");}int absColIx = getFirstColumn() + columnIndex;return new LazyAreaEval(getFirstRow(), absColIx, getLastRow(), absColIx, _evaluator);}

public override TwoDEval GetColumn(int columnIndex){if (columnIndex >= Width){throw new ArgumentException("Invalid columnIndex " + columnIndex+ ".  Allowable range is (0.." + Width + ").");}int absColIx = FirstColumn + columnIndex;return new LazyAreaEval(FirstRow, absColIx, LastRow, absColIx, _evaluator);}

[User] public LazyAreaEval getColumn(int columnIndex) {if (columnIndex >= getWidth()) {throw new IllegalArgumentException("Invalid columnIndex " + columnIndex+ ".  Allowable range is (0.." + getWidth() + ").");}int absColIx = getFirstColumn() + columnIndex;return new LazyAreaEval(getFirstRow(), absColIx, getLastRow(), absColIx, _evaluator);}

[Assistant] public override TwoDEval GetColumn(int columnIndex){if (columnIndex >= Width){throw new ArgumentException("Invalid columnIndex " + columnIndex+ ".  Allowable range is (0.." + Width + ").");}int absColIx = FirstColumn + columnIndex;return new LazyAreaEval(FirstRow, absColIx, LastRow, absColIx, _evaluator);}


public BytesRef next() throws IOException {if (done) {return null;}boolean success = false;BytesRef result;try {String line;if ((line = in.readLine()) != null) {spare.copyChars(line);result = spare.get();} else {done = true;IOUtils.close(in);result = null;}success = true;} finally {if (!success) {IOUtils.closeWhileHandlingException(in);}}return result;}

public BytesRef Next(){if (done){return null;}bool success = false;BytesRef result;try{string line;if ((line = outerInstance.@in.ReadLine()) != null){spare.CopyChars(line);result = spare;}else{done = true;IOUtils.Dispose(outerInstance.@in);result = null;}success = true;}finally{if (!success){IOUtils.DisposeWhileHandlingException(outerInstance.@in);}}return result;}

[User] public BytesRef next() throws IOException {if (done) {return null;}boolean success = false;BytesRef result;try {String line;if ((line = in.readLine()) != null) {spare.copyChars(line);result = spare.get();} else {done = true;IOUtils.close(in);result = null;}success = true;} finally {if (!success) {IOUtils.closeWhileHandlingException(in);}}return result;}

[Assistant] public BytesRef Next(){if (done){return null;}bool success = false;BytesRef result;try{string line;if ((line = outerInstance.@in.ReadLine()) != null){spare.CopyChars(line);result = spare;}else{done = true;IOUtils.Dispose(outerInstance.@in);result = null;}success = true;}finally{if (!success){IOUtils.DisposeWhileHandlingException(outerInstance.@in);}}return result;}


public boolean shouldBeRecursive() {return path.shouldBeRecursive();}

public override bool ShouldBeRecursive(){return path.ShouldBeRecursive();}

[User] public boolean shouldBeRecursive() {return path.shouldBeRecursive();}

[Assistant] public override bool ShouldBeRecursive(){return path.ShouldBeRecursive();}


public String toString() {return getClass().getSimpleName() + "(compressionMode=" + compressionMode+ ", chunkSize=" + chunkSize + ", blockSize=" + blockSize + ")";}

public override string ToString(){return this.GetType().Name + "(compressionMode=" + compressionMode + ", chunkSize=" + chunkSize + ")";}

[User] public String toString() {return getClass().getSimpleName() + "(compressionMode=" + compressionMode+ ", chunkSize=" + chunkSize + ", blockSize=" + blockSize + ")";}

[Assistant] public override string ToString(){return this.GetType().Name + "(compressionMode=" + compressionMode + ", chunkSize=" + chunkSize + ")";}


public ResourcePendingMaintenanceActions applyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest request) {request = beforeClientExecution(request);return executeApplyPendingMaintenanceAction(request);}

public virtual ApplyPendingMaintenanceActionResponse ApplyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest request){var options = new InvokeOptions();options.RequestMarshaller = ApplyPendingMaintenanceActionRequestMarshaller.Instance;options.ResponseUnmarshaller = ApplyPendingMaintenanceActionResponseUnmarshaller.Instance;return Invoke<ApplyPendingMaintenanceActionResponse>(request, options);}

[User] public ResourcePendingMaintenanceActions applyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest request) {request = beforeClientExecution(request);return executeApplyPendingMaintenanceAction(request);}

[Assistant] public virtual ApplyPendingMaintenanceActionResponse ApplyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest request){var options = new InvokeOptions();options.RequestMarshaller = ApplyPendingMaintenanceActionRequestMarshaller.Instance;options.ResponseUnmarshaller = ApplyPendingMaintenanceActionResponseUnmarshaller.Instance;return Invoke<ApplyPendingMaintenanceActionResponse>(request, options);}


public boolean startsWith(AbbreviatedObjectId abbr) {return abbr.prefixCompare(this) == 0;}

public virtual bool StartsWith(AbbreviatedObjectId abbr){return abbr.PrefixCompare(this) == 0;}

[User] public boolean startsWith(AbbreviatedObjectId abbr) {return abbr.prefixCompare(this) == 0;}

[Assistant] public virtual bool StartsWith(AbbreviatedObjectId abbr){return abbr.PrefixCompare(this) == 0;}


public SerializingRecordVisitor(byte[] data, int startOffset) {_data = data;_startOffset = startOffset;_countBytesWritten = 0;}

public SerializingRecordVisitor(byte[] data, int startOffset){_data = data;_startOffset = startOffset;_countBytesWritten = 0;}

[User] public SerializingRecordVisitor(byte[] data, int startOffset) {_data = data;_startOffset = startOffset;_countBytesWritten = 0;}

[Assistant] public SerializingRecordVisitor(byte[] data, int startOffset){_data = data;_startOffset = startOffset;_countBytesWritten = 0;}


public static TreeFilter createFromStrings(Collection<String> paths) {if (paths.isEmpty())throw new IllegalArgumentException(JGitText.get().atLeastOnePathIsRequired);final PathFilter[] p = new PathFilter[paths.size()];int i = 0;for (String s : paths)p[i++] = PathFilter.create(s);return create(p);}

public static TreeFilter CreateFromStrings(ICollection<string> paths){if (paths.IsEmpty()){throw new ArgumentException(JGitText.Get().atLeastOnePathIsRequired);}PathFilter[] p = new PathFilter[paths.Count];int i = 0;foreach (string s in paths){p[i++] = PathFilter.Create(s);}return Create(p);}

[User] public static TreeFilter createFromStrings(Collection<String> paths) {if (paths.isEmpty())throw new IllegalArgumentException(JGitText.get().atLeastOnePathIsRequired);final PathFilter[] p = new PathFilter[paths.size()];int i = 0;for (String s : paths)p[i++] = PathFilter.create(s);return create(p);}

[Assistant] public static TreeFilter CreateFromStrings(ICollection<string> paths){if (paths.IsEmpty()){throw new ArgumentException(JGitText.Get().atLeastOnePathIsRequired);}PathFilter[] p = new PathFilter[paths.Count];int i = 0;foreach (string s in paths){p[i++] = PathFilter.Create(s);}return Create(p);}


public void serialize(LittleEndianOutput out) {out.writeShort(getDefaultCountry());out.writeShort(getCurrentCountry());}

public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(DefaultCountry);out1.WriteShort(CurrentCountry);}

[User] public void serialize(LittleEndianOutput out) {out.writeShort(getDefaultCountry());out.writeShort(getCurrentCountry());}

[Assistant] public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(DefaultCountry);out1.WriteShort(CurrentCountry);}


@Override public boolean equals(Object object) {synchronized (mutex) {return list.equals(object);}}

public override bool Equals(object @object){lock (mutex){return list.Equals(@object);}}

[User] @Override public boolean equals(Object object) {synchronized (mutex) {return list.equals(object);}}

[Assistant] public override bool Equals(object @object){lock (mutex){return list.Equals(@object);}}


public CellFormatter(String format) {this(LocaleUtil.getUserLocale(), format);}

public CellFormatter(String format){this.format = format;}

[User] public CellFormatter(String format) {this(LocaleUtil.getUserLocale(), format);}

[Assistant] public CellFormatter(String format){this.format = format;}


public ObjectId getResultTreeId() {return resultTree;}

public override ObjectId GetResultTreeId(){return resultTree;}

[User] public ObjectId getResultTreeId() {return resultTree;}

[Assistant] public override ObjectId GetResultTreeId(){return resultTree;}


public DrillDownQuery clone() {return new DrillDownQuery(config, baseQuery, dimQueries, drillDownDims);}

public override object Clone(){return new DrillDownQuery(config, query, drillDownDims);}

[User] public DrillDownQuery clone() {return new DrillDownQuery(config, baseQuery, dimQueries, drillDownDims);}

[Assistant] public override object Clone(){return new DrillDownQuery(config, query, drillDownDims);}


public final ShortBuffer put(short[] src, int srcOffset, int shortCount) {throw new ReadOnlyBufferException();}

public sealed override java.nio.ShortBuffer put(short[] src, int srcOffset, int shortCount){throw new java.nio.ReadOnlyBufferException();}

[User] public final ShortBuffer put(short[] src, int srcOffset, int shortCount) {throw new ReadOnlyBufferException();}

[Assistant] public sealed override java.nio.ShortBuffer put(short[] src, int srcOffset, int shortCount){throw new java.nio.ReadOnlyBufferException();}


public final void writeLong(long val) throws IOException {Memory.pokeLong(scratch, 0, val, ByteOrder.BIG_ENDIAN);write(scratch, 0, SizeOf.LONG);}

public virtual void writeLong(long val){throw new System.NotImplementedException();}

[User] public final void writeLong(long val) throws IOException {Memory.pokeLong(scratch, 0, val, ByteOrder.BIG_ENDIAN);write(scratch, 0, SizeOf.LONG);}

[Assistant] public virtual void writeLong(long val){throw new System.NotImplementedException();}


public AuthorizeSecurityGroupEgressResult authorizeSecurityGroupEgress(AuthorizeSecurityGroupEgressRequest request) {request = beforeClientExecution(request);return executeAuthorizeSecurityGroupEgress(request);}

public virtual AuthorizeSecurityGroupEgressResponse AuthorizeSecurityGroupEgress(AuthorizeSecurityGroupEgressRequest request){var options = new InvokeOptions();options.RequestMarshaller = AuthorizeSecurityGroupEgressRequestMarshaller.Instance;options.ResponseUnmarshaller = AuthorizeSecurityGroupEgressResponseUnmarshaller.Instance;return Invoke<AuthorizeSecurityGroupEgressResponse>(request, options);}

[User] public AuthorizeSecurityGroupEgressResult authorizeSecurityGroupEgress(AuthorizeSecurityGroupEgressRequest request) {request = beforeClientExecution(request);return executeAuthorizeSecurityGroupEgress(request);}

[Assistant] public virtual AuthorizeSecurityGroupEgressResponse AuthorizeSecurityGroupEgress(AuthorizeSecurityGroupEgressRequest request){var options = new InvokeOptions();options.RequestMarshaller = AuthorizeSecurityGroupEgressRequestMarshaller.Instance;options.ResponseUnmarshaller = AuthorizeSecurityGroupEgressResponseUnmarshaller.Instance;return Invoke<AuthorizeSecurityGroupEgressResponse>(request, options);}


public void add(E object) {throw new UnsupportedOperationException();}

public virtual void add(E @object){throw new System.NotSupportedException();}

[User] public void add(E object) {throw new UnsupportedOperationException();}

[Assistant] public virtual void add(E @object){throw new System.NotSupportedException();}


public static String getPOSTranslation(String s) {return posTranslations.get(s);}

public static string GetPOSTranslation(string s){string result;posTranslations.TryGetValue(s, out result);return result;}

[User] public static String getPOSTranslation(String s) {return posTranslations.get(s);}

[Assistant] public static string GetPOSTranslation(string s){string result;posTranslations.TryGetValue(s, out result);return result;}


public AnalyticsTagPredicate(Tag tag) {this.tag = tag;}

public AnalyticsTagPredicate(Tag tag){this.tag = tag;}

[User] public AnalyticsTagPredicate(Tag tag) {this.tag = tag;}

[Assistant] public AnalyticsTagPredicate(Tag tag){this.tag = tag;}


public String toInfoString(Parser recognizer) {List<String> rules = recognizer.getRuleInvocationStack(this);Collections.reverse(rules);return "ParserRuleContext"+rules+"{" +"start=" + start +", stop=" + stop +'}';}

public virtual string ToInfoString(Parser recognizer){List<string> rules = new List<string>(recognizer.GetRuleInvocationStack(this));rules.Reverse();return "ParserRuleContext" + rules + "{" + "start=" + _start + ", stop=" + _stop + '}';}

[User] public String toInfoString(Parser recognizer) {List<String> rules = recognizer.getRuleInvocationStack(this);Collections.reverse(rules);return "ParserRuleContext"+rules+"{" +"start=" + start +", stop=" + stop +'}';}

[Assistant] public virtual string ToInfoString(Parser recognizer){List<string> rules = new List<string>(recognizer.GetRuleInvocationStack(this));rules.Reverse();return "ParserRuleContext" + rules + "{" + "start=" + _start + ", stop=" + _stop + '}';}


public CharBuffer put(int index, char c) {checkIndex(index);backingArray[offset + index] = c;return this;}

public override java.nio.CharBuffer put(int index, char c){checkIndex(index);backingArray[offset + index] = c;return this;}

[User] public CharBuffer put(int index, char c) {checkIndex(index);backingArray[offset + index] = c;return this;}

[Assistant] public override java.nio.CharBuffer put(int index, char c){checkIndex(index);backingArray[offset + index] = c;return this;}


public CreateComponentResult createComponent(CreateComponentRequest request) {request = beforeClientExecution(request);return executeCreateComponent(request);}

public virtual CreateComponentResponse CreateComponent(CreateComponentRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateComponentRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateComponentResponseUnmarshaller.Instance;return Invoke<CreateComponentResponse>(request, options);}

[User] public CreateComponentResult createComponent(CreateComponentRequest request) {request = beforeClientExecution(request);return executeCreateComponent(request);}

[Assistant] public virtual CreateComponentResponse CreateComponent(CreateComponentRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateComponentRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateComponentResponseUnmarshaller.Instance;return Invoke<CreateComponentResponse>(request, options);}


public RuleWithSuffixExceptions(String suffix, int min, String replacement,String[] exceptions) {super(suffix, min, replacement);for (int i = 0; i < exceptions.length; i++) {if (!exceptions[i].endsWith(suffix))throw new RuntimeException("warning: useless exception '" + exceptions[i] + "' does not end with '" + suffix + "'");}this.exceptions = new char[exceptions.length][];for (int i = 0; i < exceptions.length; i++)this.exceptions[i] = exceptions[i].toCharArray();}

public RuleWithSuffixExceptions(string suffix, int min, string replacement, string[] exceptions) : base(suffix, min, replacement){for (int i = 0; i < exceptions.Length; i++){if (!exceptions[i].EndsWith(suffix, StringComparison.Ordinal)){throw new Exception("warning: useless exception '" + exceptions[i] + "' does not end with '" + suffix + "'");}}this.m_exceptions = new char[exceptions.Length][];for (int i = 0; i < exceptions.Length; i++){this.m_exceptions[i] = exceptions[i].ToCharArray();}}

[User] public RuleWithSuffixExceptions(String suffix, int min, String replacement,String[] exceptions) {super(suffix, min, replacement);for (int i = 0; i < exceptions.length; i++) {if (!exceptions[i].endsWith(suffix))throw new RuntimeException("warning: useless exception '" + exceptions[i] + "' does not end with '" + suffix + "'");}this.exceptions = new char[exceptions.length][];for (int i = 0; i < exceptions.length; i++)this.exceptions[i] = exceptions[i].toCharArray();}

[Assistant] public RuleWithSuffixExceptions(string suffix, int min, string replacement, string[] exceptions) : base(suffix, min, replacement){for (int i = 0; i < exceptions.Length; i++){if (!exceptions[i].EndsWith(suffix, StringComparison.Ordinal)){throw new Exception("warning: useless exception '" + exceptions[i] + "' does not end with '" + suffix + "'");}}this.m_exceptions = new char[exceptions.Length][];for (int i = 0; i < exceptions.Length; i++){this.m_exceptions[i] = exceptions[i].ToCharArray();}}


public DescribeVpnGatewaysResult describeVpnGateways(DescribeVpnGatewaysRequest request) {request = beforeClientExecution(request);return executeDescribeVpnGateways(request);}

public virtual DescribeVpnGatewaysResponse DescribeVpnGateways(DescribeVpnGatewaysRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeVpnGatewaysRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeVpnGatewaysResponseUnmarshaller.Instance;return Invoke<DescribeVpnGatewaysResponse>(request, options);}

[User] public DescribeVpnGatewaysResult describeVpnGateways(DescribeVpnGatewaysRequest request) {request = beforeClientExecution(request);return executeDescribeVpnGateways(request);}

[Assistant] public virtual DescribeVpnGatewaysResponse DescribeVpnGateways(DescribeVpnGatewaysRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeVpnGatewaysRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeVpnGatewaysResponseUnmarshaller.Instance;return Invoke<DescribeVpnGatewaysResponse>(request, options);}


public HSSFClientAnchor(EscherClientAnchorRecord escherClientAnchorRecord) {this._escherClientAnchor = escherClientAnchorRecord;}

public HSSFClientAnchor(EscherClientAnchorRecord escherClientAnchorRecord){this._escherClientAnchor = escherClientAnchorRecord;}

[User] public HSSFClientAnchor(EscherClientAnchorRecord escherClientAnchorRecord) {this._escherClientAnchor = escherClientAnchorRecord;}

[Assistant] public HSSFClientAnchor(EscherClientAnchorRecord escherClientAnchorRecord){this._escherClientAnchor = escherClientAnchorRecord;}


public virtual void StopNow(){stopNow = true;}

[User] public void stopNow() {stopNow = true;}

[Assistant] public virtual void StopNow(){stopNow = true;}


public String toString() {return "FooterKey[" + name + "]";}

public override string ToString(){return "FooterKey[" + name + "]";}

[User] public String toString() {return "FooterKey[" + name + "]";}

[Assistant] public override string ToString(){return "FooterKey[" + name + "]";}


public GetRelationalDatabasesResult getRelationalDatabases(GetRelationalDatabasesRequest request) {request = beforeClientExecution(request);return executeGetRelationalDatabases(request);}

public virtual GetRelationalDatabasesResponse GetRelationalDatabases(GetRelationalDatabasesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRelationalDatabasesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRelationalDatabasesResponseUnmarshaller.Instance;return Invoke<GetRelationalDatabasesResponse>(request, options);}

[User] public GetRelationalDatabasesResult getRelationalDatabases(GetRelationalDatabasesRequest request) {request = beforeClientExecution(request);return executeGetRelationalDatabases(request);}

[Assistant] public virtual GetRelationalDatabasesResponse GetRelationalDatabases(GetRelationalDatabasesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRelationalDatabasesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRelationalDatabasesResponseUnmarshaller.Instance;return Invoke<GetRelationalDatabasesResponse>(request, options);}


public int compareTo(Revision o) {IndexRevision other = (IndexRevision) o;return commit.compareTo(other.commit);}

public virtual int CompareTo(IRevision other){IndexRevision or = (IndexRevision)other;return commit.CompareTo(or.commit);}

[User] public int compareTo(Revision o) {IndexRevision other = (IndexRevision) o;return commit.compareTo(other.commit);}

[Assistant] public virtual int CompareTo(IRevision other){IndexRevision or = (IndexRevision)other;return commit.CompareTo(or.commit);}


public PredPrediction(SemanticContext pred, int alt) {this.alt = alt;this.pred = pred;}

public PredPrediction(SemanticContext pred, int alt){this.alt = alt;this.pred = pred;}

[User] public PredPrediction(SemanticContext pred, int alt) {this.alt = alt;this.pred = pred;}

[Assistant] public PredPrediction(SemanticContext pred, int alt){this.alt = alt;this.pred = pred;}


public ListMeetingTagsResult listMeetingTags(ListMeetingTagsRequest request) {request = beforeClientExecution(request);return executeListMeetingTags(request);}

public virtual ListMeetingTagsResponse ListMeetingTags(ListMeetingTagsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListMeetingTagsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListMeetingTagsResponseUnmarshaller.Instance;return Invoke<ListMeetingTagsResponse>(request, options);}

[User] public ListMeetingTagsResult listMeetingTags(ListMeetingTagsRequest request) {request = beforeClientExecution(request);return executeListMeetingTags(request);}

[Assistant] public virtual ListMeetingTagsResponse ListMeetingTags(ListMeetingTagsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListMeetingTagsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListMeetingTagsResponseUnmarshaller.Instance;return Invoke<ListMeetingTagsResponse>(request, options);}


public TokenStream create(TokenStream input) {return new NorwegianMinimalStemFilter(input, flags);}

public override TokenStream Create(TokenStream input){return new NorwegianMinimalStemFilter(input, flags);}

[User] public TokenStream create(TokenStream input) {return new NorwegianMinimalStemFilter(input, flags);}

[Assistant] public override TokenStream Create(TokenStream input){return new NorwegianMinimalStemFilter(input, flags);}


public ImportInstanceResult importInstance(ImportInstanceRequest request) {request = beforeClientExecution(request);return executeImportInstance(request);}

public virtual ImportInstanceResponse ImportInstance(ImportInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = ImportInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = ImportInstanceResponseUnmarshaller.Instance;return Invoke<ImportInstanceResponse>(request, options);}

[User] public ImportInstanceResult importInstance(ImportInstanceRequest request) {request = beforeClientExecution(request);return executeImportInstance(request);}

[Assistant] public virtual ImportInstanceResponse ImportInstance(ImportInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = ImportInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = ImportInstanceResponseUnmarshaller.Instance;return Invoke<ImportInstanceResponse>(request, options);}


public void setCodePage(CodepageRecord codepage) {this.codepage = codepage;}

public void SetCodePage(CodepageRecord codepage){this.codepage = codepage;}

[User] public void setCodePage(CodepageRecord codepage) {this.codepage = codepage;}

[Assistant] public void SetCodePage(CodepageRecord codepage){this.codepage = codepage;}


@Override public Collection<V> values() {Collection<V> vs = values;return (vs != null) ? vs : (values = new Values());}

public override java.util.Collection<V> values(){java.util.Collection<V> vs = _values;return (vs != null) ? vs : (_values = new java.util.HashMap<K, V>.Values(this));}

[User] @Override public Collection<V> values() {Collection<V> vs = values;return (vs != null) ? vs : (values = new Values());}

[Assistant] public override java.util.Collection<V> values(){java.util.Collection<V> vs = _values;return (vs != null) ? vs : (_values = new java.util.HashMap<K, V>.Values(this));}


public UpdateRulesOfIpGroupResult updateRulesOfIpGroup(UpdateRulesOfIpGroupRequest request) {request = beforeClientExecution(request);return executeUpdateRulesOfIpGroup(request);}

public virtual UpdateRulesOfIpGroupResponse UpdateRulesOfIpGroup(UpdateRulesOfIpGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateRulesOfIpGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateRulesOfIpGroupResponseUnmarshaller.Instance;return Invoke<UpdateRulesOfIpGroupResponse>(request, options);}

[User] public UpdateRulesOfIpGroupResult updateRulesOfIpGroup(UpdateRulesOfIpGroupRequest request) {request = beforeClientExecution(request);return executeUpdateRulesOfIpGroup(request);}

[Assistant] public virtual UpdateRulesOfIpGroupResponse UpdateRulesOfIpGroup(UpdateRulesOfIpGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateRulesOfIpGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateRulesOfIpGroupResponseUnmarshaller.Instance;return Invoke<UpdateRulesOfIpGroupResponse>(request, options);}


public String toString() {return "OneOrMoreOutputs(" + outputs + ")";}

public override string ToString(){return "OneOrMoreOutputs(" + outputs + ")";}

[User] public String toString() {return "OneOrMoreOutputs(" + outputs + ")";}

[Assistant] public override string ToString(){return "OneOrMoreOutputs(" + outputs + ")";}


public static TreeFilter create(TreeFilter a, TreeFilter b) {if (a == ALL || b == ALL)return ALL;return new Binary(a, b);}

public static TreeFilter Create(TreeFilter a, TreeFilter b){if (a == ALL || b == ALL){return ALL;}return new OrTreeFilter.Binary(a, b);}

[User] public static TreeFilter create(TreeFilter a, TreeFilter b) {if (a == ALL || b == ALL)return ALL;return new Binary(a, b);}

[Assistant] public static TreeFilter Create(TreeFilter a, TreeFilter b){if (a == ALL || b == ALL){return ALL;}return new OrTreeFilter.Binary(a, b);}


public UntagQueueResult untagQueue(UntagQueueRequest request) {request = beforeClientExecution(request);return executeUntagQueue(request);}

public virtual UntagQueueResponse UntagQueue(UntagQueueRequest request){var options = new InvokeOptions();options.RequestMarshaller = UntagQueueRequestMarshaller.Instance;options.ResponseUnmarshaller = UntagQueueResponseUnmarshaller.Instance;return Invoke<UntagQueueResponse>(request, options);}

[User] public UntagQueueResult untagQueue(UntagQueueRequest request) {request = beforeClientExecution(request);return executeUntagQueue(request);}

[Assistant] public virtual UntagQueueResponse UntagQueue(UntagQueueRequest request){var options = new InvokeOptions();options.RequestMarshaller = UntagQueueRequestMarshaller.Instance;options.ResponseUnmarshaller = UntagQueueResponseUnmarshaller.Instance;return Invoke<UntagQueueResponse>(request, options);}


public final double getDouble(int index) {return Double.longBitsToDouble(getLong(index));}

public sealed override double getDouble(int index){return Sharpen.Util.LongBitsToDouble(getLong(index));}

[User] public final double getDouble(int index) {return Double.longBitsToDouble(getLong(index));}

[Assistant] public sealed override double getDouble(int index){return Sharpen.Util.LongBitsToDouble(getLong(index));}


public V next() {return entryIterator.next().getValue();}

public override V next(){return this.nextEntry().value;}

[User] public V next() {return entryIterator.next().getValue();}

[Assistant] public override V next(){return this.nextEntry().value;}


public IntervalSet(int... els) {if ( els==null ) {intervals = new ArrayList<Interval>(2); }else {intervals = new ArrayList<Interval>(els.length);for (int e : els) add(e);}}

public IntervalSet(params int[] els){if (els == null){intervals = new ArrayList<Interval>(2);}else{intervals = new ArrayList<Interval>(els.Length);foreach (int e in els){Add(e);}}}

[User] public IntervalSet(int... els) {if ( els==null ) {intervals = new ArrayList<Interval>(2); }else {intervals = new ArrayList<Interval>(els.length);for (int e : els) add(e);}}

[Assistant] public IntervalSet(params int[] els){if (els == null){intervals = new ArrayList<Interval>(2);}else{intervals = new ArrayList<Interval>(els.Length);foreach (int e in els){Add(e);}}}


public void dumpDeadEndConfigs(NoViableAltException nvae) {System.err.println("dead end configs: ");for (ATNConfig c : nvae.getDeadEndConfigs()) {String trans = "no edges";if ( c.state.getNumberOfTransitions()>0 ) {Transition t = c.state.transition(0);if ( t instanceof AtomTransition) {AtomTransition at = (AtomTransition)t;trans = "Atom "+getTokenName(at.label);}else if ( t instanceof SetTransition ) {SetTransition st = (SetTransition)t;boolean not = st instanceof NotSetTransition;trans = (not?"~":"")+"Set "+st.set.toString();}}System.err.println(c.toString(parser, true)+":"+trans);}}

public void DumpDeadEndConfigs(NoViableAltException nvae){#if !PORTABLESystem.Console.Error.WriteLine("dead end configs: ");#endifforeach (ATNConfig c in nvae.DeadEndConfigs.configs){String trans = "no edges";if (c.state.NumberOfTransitions > 0){Transition t = c.state.Transition(0);if (t is AtomTransition){AtomTransition at = (AtomTransition)t;trans = "Atom " + GetTokenName(at.token);}else if (t is SetTransition){SetTransition st = (SetTransition)t;bool not = st is NotSetTransition;trans = (not ? "~" : "") + "Set " + st.set.ToString();}}#if !PORTABLESystem.Console.Error.WriteLine(c.ToString(parser, true) + ":" + trans);#endif}}

[User] public void dumpDeadEndConfigs(NoViableAltException nvae) {System.err.println("dead end configs: ");for (ATNConfig c : nvae.getDeadEndConfigs()) {String trans = "no edges";if ( c.state.getNumberOfTransitions()>0 ) {Transition t = c.state.transition(0);if ( t instanceof AtomTransition) {AtomTransition at = (AtomTransition)t;trans = "Atom "+getTokenName(at.label);}else if ( t instanceof SetTransition ) {SetTransition st = (SetTransition)t;boolean not = st instanceof NotSetTransition;trans = (not?"~":"")+"Set "+st.set.toString();}}System.err.println(c.toString(parser, true)+":"+trans);}}

[Assistant] public void DumpDeadEndConfigs(NoViableAltException nvae){#if !PORTABLESystem.Console.Error.WriteLine("dead end configs: ");#endifforeach (ATNConfig c in nvae.DeadEndConfigs.configs){String trans = "no edges";if (c.state.NumberOfTransitions > 0){Transition t = c.state.Transition(0);if (t is AtomTransition){AtomTransition at = (AtomTransition)t;trans = "Atom " + GetTokenName(at.token);}else if (t is SetTransition){SetTransition st = (SetTransition)t;bool not = st is NotSetTransition;trans = (not ? "~" : "") + "Set " + st.set.ToString();}}#if !PORTABLESystem.Console.Error.WriteLine(c.ToString(parser, true) + ":" + trans);#endif}}


public String toString() {StringBuilder sb = new StringBuilder();sb.append("[SUPBOOK ");if(isExternalReferences()) {sb.append("External References]\n");sb.append(" .url     = ").append(getURL()).append("\n");sb.append(" .nSheets = ").append(field_1_number_of_sheets).append("\n");for (String sheetname : field_3_sheet_names) {sb.append("    .name = ").append(sheetname).append("\n");}sb.append("[/SUPBOOK");} else if(_isAddInFunctions) {sb.append("Add-In Functions");} else {sb.append("Internal References");sb.append(" nSheets=").append(field_1_number_of_sheets);}sb.append("]");return sb.toString();}

public override String ToString(){StringBuilder sb = new StringBuilder();sb.Append("[SUPBOOK ");if (IsExternalReferences){sb.Append("External References]\n");sb.Append(" .url     = ").Append(field_2_encoded_url).Append("\n");sb.Append(" .nSheets = ").Append(field_1_number_of_sheets).Append("\n");foreach (String sheetname in field_3_sheet_names){sb.Append("    .name = ").Append(sheetname).Append("\n");}sb.Append("[/SUPBOOK");}else if (_isAddInFunctions){sb.Append("Add-In Functions");}else{sb.Append("Internal References ");sb.Append(" nSheets= ").Append(field_1_number_of_sheets);}return sb.ToString();}

[User] public String toString() {StringBuilder sb = new StringBuilder();sb.append("[SUPBOOK ");if(isExternalReferences()) {sb.append("External References]\n");sb.append(" .url     = ").append(getURL()).append("\n");sb.append(" .nSheets = ").append(field_1_number_of_sheets).append("\n");for (String sheetname : field_3_sheet_names) {sb.append("    .name = ").append(sheetname).append("\n");}sb.append("[/SUPBOOK");} else if(_isAddInFunctions) {sb.append("Add-In Functions");} else {sb.append("Internal References");sb.append(" nSheets=").append(field_1_number_of_sheets);}sb.append("]");return sb.toString();}

[Assistant] public override String ToString(){StringBuilder sb = new StringBuilder();sb.Append("[SUPBOOK ");if (IsExternalReferences){sb.Append("External References]\n");sb.Append(" .url     = ").Append(field_2_encoded_url).Append("\n");sb.Append(" .nSheets = ").Append(field_1_number_of_sheets).Append("\n");foreach (String sheetname in field_3_sheet_names){sb.Append("    .name = ").Append(sheetname).Append("\n");}sb.Append("[/SUPBOOK");}else if (_isAddInFunctions){sb.Append("Add-In Functions");}else{sb.Append("Internal References ");sb.Append(" nSheets= ").Append(field_1_number_of_sheets);}return sb.ToString();}


public String toString() {StringBuilder sb = new StringBuilder(256);sb.append("[ftLbsData]\n");sb.append("    .unknownShort1 =").append(HexDump.shortToHex(_cbFContinued)).append("\n");sb.append("    .formula        = ").append('\n');if(_linkPtg != null) {sb.append(_linkPtg).append(_linkPtg.getRVAType()).append('\n');}sb.append("    .nEntryCount   =").append(HexDump.shortToHex(_cLines)).append("\n");sb.append("    .selEntryIx    =").append(HexDump.shortToHex(_iSel)).append("\n");sb.append("    .style         =").append(HexDump.shortToHex(_flags)).append("\n");sb.append("    .unknownShort10=").append(HexDump.shortToHex(_idEdit)).append("\n");if(_dropData != null) {sb.append('\n').append(_dropData);}sb.append("[/ftLbsData]\n");return sb.toString();}

public override String ToString(){StringBuilder sb = new StringBuilder(256);sb.Append("[ftLbsData]\n");sb.Append("    .unknownshort1 =").Append(HexDump.ShortToHex(_cbFContinued)).Append("\n");sb.Append("    .formula        = ").Append('\n');sb.Append(_linkPtg.ToString()).Append(_linkPtg.RVAType).Append('\n');sb.Append("    .nEntryCount   =").Append(HexDump.ShortToHex(_cLines)).Append("\n");sb.Append("    .selEntryIx    =").Append(HexDump.ShortToHex(_iSel)).Append("\n");sb.Append("    .style         =").Append(HexDump.ShortToHex(_flags)).Append("\n");sb.Append("    .unknownshort10=").Append(HexDump.ShortToHex(_idEdit)).Append("\n");if (_dropData != null) sb.Append('\n').Append(_dropData.ToString());sb.Append("[/ftLbsData]\n");return sb.ToString();}

[User] public String toString() {StringBuilder sb = new StringBuilder(256);sb.append("[ftLbsData]\n");sb.append("    .unknownShort1 =").append(HexDump.shortToHex(_cbFContinued)).append("\n");sb.append("    .formula        = ").append('\n');if(_linkPtg != null) {sb.append(_linkPtg).append(_linkPtg.getRVAType()).append('\n');}sb.append("    .nEntryCount   =").append(HexDump.shortToHex(_cLines)).append("\n");sb.append("    .selEntryIx    =").append(HexDump.shortToHex(_iSel)).append("\n");sb.append("    .style         =").append(HexDump.shortToHex(_flags)).append("\n");sb.append("    .unknownShort10=").append(HexDump.shortToHex(_idEdit)).append("\n");if(_dropData != null) {sb.append('\n').append(_dropData);}sb.append("[/ftLbsData]\n");return sb.toString();}

[Assistant] public override String ToString(){StringBuilder sb = new StringBuilder(256);sb.Append("[ftLbsData]\n");sb.Append("    .unknownshort1 =").Append(HexDump.ShortToHex(_cbFContinued)).Append("\n");sb.Append("    .formula        = ").Append('\n');sb.Append(_linkPtg.ToString()).Append(_linkPtg.RVAType).Append('\n');sb.Append("    .nEntryCount   =").Append(HexDump.ShortToHex(_cLines)).Append("\n");sb.Append("    .selEntryIx    =").Append(HexDump.ShortToHex(_iSel)).Append("\n");sb.Append("    .style         =").Append(HexDump.ShortToHex(_flags)).Append("\n");sb.Append("    .unknownshort10=").Append(HexDump.ShortToHex(_idEdit)).Append("\n");if (_dropData != null) sb.Append('\n').Append(_dropData.ToString());sb.Append("[/ftLbsData]\n");return sb.ToString();}


public static QualityStats average(QualityStats[] stats) {QualityStats avg = new QualityStats(0,0);if (stats.length==0) {return avg;}int m = 0; for (int i=0; i<stats.length; i++) {avg.searchTime += stats[i].searchTime;avg.docNamesExtractTime += stats[i].docNamesExtractTime;if (stats[i].maxGoodPoints>0) {m++;avg.numGoodPoints += stats[i].numGoodPoints;avg.numPoints += stats[i].numPoints;avg.pReleventSum += stats[i].getAvp();avg.recall += stats[i].recall;avg.mrr += stats[i].getMRR();avg.maxGoodPoints += stats[i].maxGoodPoints;for (int j=1; j<avg.pAt.length; j++) {avg.pAt[j] += stats[i].getPrecisionAt(j);}}}assert m>0 : "Fishy: no \"good\" queries!";avg.searchTime /= stats.length;avg.docNamesExtractTime /= stats.length;avg.numGoodPoints /= m;avg.numPoints /= m;avg.recall /= m;avg.mrr /= m;avg.maxGoodPoints /= m;for (int j=1; j<avg.pAt.length; j++) {avg.pAt[j] /= m;}avg.pReleventSum /= m;                 avg.pReleventSum *= avg.maxGoodPoints; return avg;}

public static QualityStats Average(QualityStats[] stats){QualityStats avg = new QualityStats(0, 0);if (stats.Length == 0){return avg;}int m = 0; for (int i = 0; i < stats.Length; i++){avg.searchTime += stats[i].searchTime;avg.docNamesExtractTime += stats[i].docNamesExtractTime;if (stats[i].maxGoodPoints > 0){m++;avg.numGoodPoints += stats[i].numGoodPoints;avg.numPoints += stats[i].numPoints;avg.pReleventSum += stats[i].GetAvp();avg.recall += stats[i].recall;avg.mrr += stats[i].MRR;avg.maxGoodPoints += stats[i].maxGoodPoints;for (int j = 1; j < avg.pAt.Length; j++){avg.pAt[j] += stats[i].GetPrecisionAt(j);}}}Debug.Assert(m> 0, "Fishy: no \"good\" queries!");avg.searchTime /= stats.Length;avg.docNamesExtractTime /= stats.Length;avg.numGoodPoints /= m;avg.numPoints /= m;avg.recall /= m;avg.mrr /= m;avg.maxGoodPoints /= m;for (int j = 1; j < avg.pAt.Length; j++){avg.pAt[j] /= m;}avg.pReleventSum /= m;                 avg.pReleventSum *= avg.maxGoodPoints; return avg;}

[User] public static QualityStats average(QualityStats[] stats) {QualityStats avg = new QualityStats(0,0);if (stats.length==0) {return avg;}int m = 0; for (int i=0; i<stats.length; i++) {avg.searchTime += stats[i].searchTime;avg.docNamesExtractTime += stats[i].docNamesExtractTime;if (stats[i].maxGoodPoints>0) {m++;avg.numGoodPoints += stats[i].numGoodPoints;avg.numPoints += stats[i].numPoints;avg.pReleventSum += stats[i].getAvp();avg.recall += stats[i].recall;avg.mrr += stats[i].getMRR();avg.maxGoodPoints += stats[i].maxGoodPoints;for (int j=1; j<avg.pAt.length; j++) {avg.pAt[j] += stats[i].getPrecisionAt(j);}}}assert m>0 : "Fishy: no \"good\" queries!";avg.searchTime /= stats.length;avg.docNamesExtractTime /= stats.length;avg.numGoodPoints /= m;avg.numPoints /= m;avg.recall /= m;avg.mrr /= m;avg.maxGoodPoints /= m;for (int j=1; j<avg.pAt.length; j++) {avg.pAt[j] /= m;}avg.pReleventSum /= m;                 avg.pReleventSum *= avg.maxGoodPoints; return avg;}

[Assistant] public static QualityStats Average(QualityStats[] stats){QualityStats avg = new QualityStats(0, 0);if (stats.Length == 0){return avg;}int m = 0; for (int i = 0; i < stats.Length; i++){avg.searchTime += stats[i].searchTime;avg.docNamesExtractTime += stats[i].docNamesExtractTime;if (stats[i].maxGoodPoints > 0){m++;avg.numGoodPoints += stats[i].numGoodPoints;avg.numPoints += stats[i].numPoints;avg.pReleventSum += stats[i].GetAvp();avg.recall += stats[i].recall;avg.mrr += stats[i].MRR;avg.maxGoodPoints += stats[i].maxGoodPoints;for (int j = 1; j < avg.pAt.Length; j++){avg.pAt[j] += stats[i].GetPrecisionAt(j);}}}Debug.Assert(m> 0, "Fishy: no \"good\" queries!");avg.searchTime /= stats.Length;avg.docNamesExtractTime /= stats.Length;avg.numGoodPoints /= m;avg.numPoints /= m;avg.recall /= m;avg.mrr /= m;avg.maxGoodPoints /= m;for (int j = 1; j < avg.pAt.Length; j++){avg.pAt[j] /= m;}avg.pReleventSum /= m;                 avg.pReleventSum *= avg.maxGoodPoints; return avg;}


public String getUser() {return Host.this.getUser();}

public virtual string GetUser(){return user;}

[User] public String getUser() {return Host.this.getUser();}

[Assistant] public virtual string GetUser(){return user;}


public int[] clear() {boost = null;termState = null;return super.clear();}

public override int[] Clear(){boost = null;termState = null;return base.Clear();}

[User] public int[] clear() {boost = null;termState = null;return super.clear();}

[Assistant] public override int[] Clear(){boost = null;termState = null;return base.Clear();}


public DescribeApplicationSnapshotResult describeApplicationSnapshot(DescribeApplicationSnapshotRequest request) {request = beforeClientExecution(request);return executeDescribeApplicationSnapshot(request);}

public virtual DescribeApplicationSnapshotResponse DescribeApplicationSnapshot(DescribeApplicationSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeApplicationSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeApplicationSnapshotResponseUnmarshaller.Instance;return Invoke<DescribeApplicationSnapshotResponse>(request, options);}

[User] public DescribeApplicationSnapshotResult describeApplicationSnapshot(DescribeApplicationSnapshotRequest request) {request = beforeClientExecution(request);return executeDescribeApplicationSnapshot(request);}

[Assistant] public virtual DescribeApplicationSnapshotResponse DescribeApplicationSnapshot(DescribeApplicationSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeApplicationSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeApplicationSnapshotResponseUnmarshaller.Instance;return Invoke<DescribeApplicationSnapshotResponse>(request, options);}


public FormatAndBits(Format format, int bitsPerValue) {this.format = format;this.bitsPerValue = bitsPerValue;}

public FormatAndBits(Format format, int bitsPerValue){this.Format = format;this.BitsPerValue = bitsPerValue;}

[User] public FormatAndBits(Format format, int bitsPerValue) {this.format = format;this.bitsPerValue = bitsPerValue;}

[Assistant] public FormatAndBits(Format format, int bitsPerValue){this.Format = format;this.BitsPerValue = bitsPerValue;}


public HSSFName getNameAt(int nameIndex) {int nNames = names.size();if (nNames < 1) {throw new IllegalStateException("There are no defined names in this workbook");}if (nameIndex < 0 || nameIndex > nNames) {throw new IllegalArgumentException("Specified name index " + nameIndex+ " is outside the allowable range (0.." + (nNames-1) + ").");}return names.get(nameIndex);}

public NPOI.SS.UserModel.IName GetNameAt(int nameIndex){int nNames = names.Count;if (nNames < 1){throw new InvalidOperationException("There are no defined names in this workbook");}if (nameIndex < 0 || nameIndex > nNames){throw new ArgumentOutOfRangeException("Specified name index " + nameIndex+ " is outside the allowable range (0.." + (nNames - 1) + ").");}HSSFName result = names[nameIndex];return result;}

[User] public HSSFName getNameAt(int nameIndex) {int nNames = names.size();if (nNames < 1) {throw new IllegalStateException("There are no defined names in this workbook");}if (nameIndex < 0 || nameIndex > nNames) {throw new IllegalArgumentException("Specified name index " + nameIndex+ " is outside the allowable range (0.." + (nNames-1) + ").");}return names.get(nameIndex);}

[Assistant] public NPOI.SS.UserModel.IName GetNameAt(int nameIndex){int nNames = names.Count;if (nNames < 1){throw new InvalidOperationException("There are no defined names in this workbook");}if (nameIndex < 0 || nameIndex > nNames){throw new ArgumentOutOfRangeException("Specified name index " + nameIndex+ " is outside the allowable range (0.." + (nNames - 1) + ").");}HSSFName result = names[nameIndex];return result;}


public void fromString(String str) {if (str.length() != Constants.OBJECT_ID_STRING_LENGTH)throw new IllegalArgumentException(MessageFormat.format(JGitText.get().invalidId, str));fromHexString(Constants.encodeASCII(str), 0);}

public virtual void FromString(string str){if (str.Length != Constants.OBJECT_ID_STRING_LENGTH){throw new ArgumentException(MessageFormat.Format(JGitText.Get().invalidId, str));}FromHexString(Constants.EncodeASCII(str), 0);}

[User] public void fromString(String str) {if (str.length() != Constants.OBJECT_ID_STRING_LENGTH)throw new IllegalArgumentException(MessageFormat.format(JGitText.get().invalidId, str));fromHexString(Constants.encodeASCII(str), 0);}

[Assistant] public virtual void FromString(string str){if (str.Length != Constants.OBJECT_ID_STRING_LENGTH){throw new ArgumentException(MessageFormat.Format(JGitText.Get().invalidId, str));}FromHexString(Constants.EncodeASCII(str), 0);}


public DescribeTableRestoreStatusResult describeTableRestoreStatus(DescribeTableRestoreStatusRequest request) {request = beforeClientExecution(request);return executeDescribeTableRestoreStatus(request);}

public virtual DescribeTableRestoreStatusResponse DescribeTableRestoreStatus(DescribeTableRestoreStatusRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTableRestoreStatusRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTableRestoreStatusResponseUnmarshaller.Instance;return Invoke<DescribeTableRestoreStatusResponse>(request, options);}

[User] public DescribeTableRestoreStatusResult describeTableRestoreStatus(DescribeTableRestoreStatusRequest request) {request = beforeClientExecution(request);return executeDescribeTableRestoreStatus(request);}

[Assistant] public virtual DescribeTableRestoreStatusResponse DescribeTableRestoreStatus(DescribeTableRestoreStatusRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTableRestoreStatusRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTableRestoreStatusResponseUnmarshaller.Instance;return Invoke<DescribeTableRestoreStatusResponse>(request, options);}


public Edit(int as, int ae, int bs, int be) {beginA = as;endA = ae;beginB = bs;endB = be;}

public Edit(int @as, int ae, int bs, int be){beginA = @as;endA = ae;beginB = bs;endB = be;}

[User] public Edit(int as, int ae, int bs, int be) {beginA = as;endA = ae;beginB = bs;endB = be;}

[Assistant] public Edit(int @as, int ae, int bs, int be){beginA = @as;endA = ae;beginB = bs;endB = be;}


public UpdateDomainEndpointOptionsResult updateDomainEndpointOptions(UpdateDomainEndpointOptionsRequest request) {request = beforeClientExecution(request);return executeUpdateDomainEndpointOptions(request);}

public virtual UpdateDomainEndpointOptionsResponse UpdateDomainEndpointOptions(UpdateDomainEndpointOptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDomainEndpointOptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDomainEndpointOptionsResponseUnmarshaller.Instance;return Invoke<UpdateDomainEndpointOptionsResponse>(request, options);}

[User] public UpdateDomainEndpointOptionsResult updateDomainEndpointOptions(UpdateDomainEndpointOptionsRequest request) {request = beforeClientExecution(request);return executeUpdateDomainEndpointOptions(request);}

[Assistant] public virtual UpdateDomainEndpointOptionsResponse UpdateDomainEndpointOptions(UpdateDomainEndpointOptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDomainEndpointOptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDomainEndpointOptionsResponseUnmarshaller.Instance;return Invoke<UpdateDomainEndpointOptionsResponse>(request, options);}


@Override public boolean contains(Object o) {return Impl.this.containsKey(o);}

public override bool contains(object o){return this._enclosing.containsKey(o);}

[User] @Override public boolean contains(Object o) {return Impl.this.containsKey(o);}

[Assistant] public override bool contains(object o){return this._enclosing.containsKey(o);}


public ParseTreePattern compileParseTreePattern(String pattern, int patternRuleIndex,Lexer lexer){ParseTreePatternMatcher m = new ParseTreePatternMatcher(lexer, this);return m.compile(pattern, patternRuleIndex);}

public virtual ParseTreePattern CompileParseTreePattern(string pattern, int patternRuleIndex, Lexer lexer){ParseTreePatternMatcher m = new ParseTreePatternMatcher(lexer, this);return m.Compile(pattern, patternRuleIndex);}

[User] public ParseTreePattern compileParseTreePattern(String pattern, int patternRuleIndex,Lexer lexer){ParseTreePatternMatcher m = new ParseTreePatternMatcher(lexer, this);return m.compile(pattern, patternRuleIndex);}

[Assistant] public virtual ParseTreePattern CompileParseTreePattern(string pattern, int patternRuleIndex, Lexer lexer){ParseTreePatternMatcher m = new ParseTreePatternMatcher(lexer, this);return m.Compile(pattern, patternRuleIndex);}


public MalformedInputException(int length) {this.inputLength = length;}

public MalformedInputException(int length){this.inputLength = length;}

[User] public MalformedInputException(int length) {this.inputLength = length;}

[Assistant] public MalformedInputException(int length){this.inputLength = length;}


public void reset() {upto = 0;in.reset();}

public virtual void Reset(){upto = 0;@in.Reset();}

[User] public void reset() {upto = 0;in.reset();}

[Assistant] public virtual void Reset(){upto = 0;@in.Reset();}


public override string ToString(){return name;}

[User] public String toString() {return name;}

[Assistant] public override string ToString(){return name;}


public DeletePhotoStoreRequest() {super("CloudPhoto", "2017-07-11", "DeletePhotoStore", "cloudphoto");setProtocol(ProtocolType.HTTPS);}

public DeletePhotoStoreRequest(): base("CloudPhoto", "2017-07-11", "DeletePhotoStore", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}

[User] public DeletePhotoStoreRequest() {super("CloudPhoto", "2017-07-11", "DeletePhotoStore", "cloudphoto");setProtocol(ProtocolType.HTTPS);}

[Assistant] public DeletePhotoStoreRequest(): base("CloudPhoto", "2017-07-11", "DeletePhotoStore", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}


public GlobalCluster createGlobalCluster(CreateGlobalClusterRequest request) {request = beforeClientExecution(request);return executeCreateGlobalCluster(request);}

public virtual CreateGlobalClusterResponse CreateGlobalCluster(CreateGlobalClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateGlobalClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateGlobalClusterResponseUnmarshaller.Instance;return Invoke<CreateGlobalClusterResponse>(request, options);}

[User] public GlobalCluster createGlobalCluster(CreateGlobalClusterRequest request) {request = beforeClientExecution(request);return executeCreateGlobalCluster(request);}

[Assistant] public virtual CreateGlobalClusterResponse CreateGlobalCluster(CreateGlobalClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateGlobalClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateGlobalClusterResponseUnmarshaller.Instance;return Invoke<CreateGlobalClusterResponse>(request, options);}


public SimpleImmutableEntry(K theKey, V theValue) {key = theKey;value = theValue;}

public SimpleImmutableEntry(K theKey, V theValue){key = theKey;value = theValue;}

[User] public SimpleImmutableEntry(K theKey, V theValue) {key = theKey;value = theValue;}

[Assistant] public SimpleImmutableEntry(K theKey, V theValue){key = theKey;value = theValue;}


public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[SeriesToChartGroup]\n");buffer.append("    .chartGroupIndex      = ").append("0x").append(HexDump.toHex(  getChartGroupIndex ())).append(" (").append( getChartGroupIndex() ).append(" )");buffer.append(System.getProperty("line.separator"));buffer.append("[/SeriesToChartGroup]\n");return buffer.toString();}

public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[SeriesToChartGroup]\n");buffer.Append("    .chartGroupIndex      = ").Append("0x").Append(HexDump.ToHex(ChartGroupIndex)).Append(" (").Append(ChartGroupIndex).Append(" )");buffer.Append(Environment.NewLine);buffer.Append("[/SeriesToChartGroup]\n");return buffer.ToString();}

[User] public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[SeriesToChartGroup]\n");buffer.append("    .chartGroupIndex      = ").append("0x").append(HexDump.toHex(  getChartGroupIndex ())).append(" (").append( getChartGroupIndex() ).append(" )");buffer.append(System.getProperty("line.separator"));buffer.append("[/SeriesToChartGroup]\n");return buffer.toString();}

[Assistant] public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[SeriesToChartGroup]\n");buffer.Append("    .chartGroupIndex      = ").Append("0x").Append(HexDump.ToHex(ChartGroupIndex)).Append(" (").Append(ChartGroupIndex).Append(" )");buffer.Append(Environment.NewLine);buffer.Append("[/SeriesToChartGroup]\n");return buffer.ToString();}


public String toString() {return "FAST_" + path.toString(); }

public override string ToString(){return "FAST_" + path.ToString();}

[User] public String toString() {return "FAST_" + path.toString(); }

[Assistant] public override string ToString(){return "FAST_" + path.ToString();}


public OpenNLPLemmatizerFilterFactory(Map<String,String> args) {super(args);dictionaryFile = get(args, DICTIONARY);lemmatizerModelFile = get(args, LEMMATIZER_MODEL);if (dictionaryFile == null && lemmatizerModelFile == null) {throw new IllegalArgumentException("Configuration Error: missing parameter: at least one of '"+ DICTIONARY + "' and '" + LEMMATIZER_MODEL + "' must be provided.");}if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

public OpenNLPLemmatizerFilterFactory(IDictionary<string, string> args): base(args){dictionaryFile = Get(args, DICTIONARY);lemmatizerModelFile = Get(args, LEMMATIZER_MODEL);if (dictionaryFile == null && lemmatizerModelFile == null){throw new ArgumentException("Configuration Error: missing parameter: at least one of '"+ DICTIONARY + "' and '" + LEMMATIZER_MODEL + "' must be provided.");}if (args.Any()){throw new ArgumentException("Unknown parameters: " + args);}}

[User] public OpenNLPLemmatizerFilterFactory(Map<String,String> args) {super(args);dictionaryFile = get(args, DICTIONARY);lemmatizerModelFile = get(args, LEMMATIZER_MODEL);if (dictionaryFile == null && lemmatizerModelFile == null) {throw new IllegalArgumentException("Configuration Error: missing parameter: at least one of '"+ DICTIONARY + "' and '" + LEMMATIZER_MODEL + "' must be provided.");}if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}

[Assistant] public OpenNLPLemmatizerFilterFactory(IDictionary<string, string> args): base(args){dictionaryFile = Get(args, DICTIONARY);lemmatizerModelFile = Get(args, LEMMATIZER_MODEL);if (dictionaryFile == null && lemmatizerModelFile == null){throw new ArgumentException("Configuration Error: missing parameter: at least one of '"+ DICTIONARY + "' and '" + LEMMATIZER_MODEL + "' must be provided.");}if (args.Any()){throw new ArgumentException("Unknown parameters: " + args);}}


public Long contentLength() {return this.contentLength;}

[User] public Long contentLength() {return this.contentLength;}

[Assistant] public System.Uri BaseUri { get; set; }


public void addError(FormatError err) {errors.add(err);}

public virtual void AddError(FormatError err){errors.AddItem(err);}

[User] public void addError(FormatError err) {errors.add(err);}

[Assistant] public virtual void AddError(FormatError err){errors.AddItem(err);}


public UpdateUserResult updateUser(UpdateUserRequest request) {request = beforeClientExecution(request);return executeUpdateUser(request);}

public virtual UpdateUserResponse UpdateUser(UpdateUserRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateUserRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateUserResponseUnmarshaller.Instance;return Invoke<UpdateUserResponse>(request, options);}

[User] public UpdateUserResult updateUser(UpdateUserRequest request) {request = beforeClientExecution(request);return executeUpdateUser(request);}

[Assistant] public virtual UpdateUserResponse UpdateUser(UpdateUserRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateUserRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateUserResponseUnmarshaller.Instance;return Invoke<UpdateUserResponse>(request, options);}


public DeletePartnerEventSourceResult deletePartnerEventSource(DeletePartnerEventSourceRequest request) {request = beforeClientExecution(request);return executeDeletePartnerEventSource(request);}

public virtual DeletePartnerEventSourceResponse DeletePartnerEventSource(DeletePartnerEventSourceRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeletePartnerEventSourceRequestMarshaller.Instance;options.ResponseUnmarshaller = DeletePartnerEventSourceResponseUnmarshaller.Instance;return Invoke<DeletePartnerEventSourceResponse>(request, options);}

[User] public DeletePartnerEventSourceResult deletePartnerEventSource(DeletePartnerEventSourceRequest request) {request = beforeClientExecution(request);return executeDeletePartnerEventSource(request);}

[Assistant] public virtual DeletePartnerEventSourceResponse DeletePartnerEventSource(DeletePartnerEventSourceRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeletePartnerEventSourceRequestMarshaller.Instance;options.ResponseUnmarshaller = DeletePartnerEventSourceResponseUnmarshaller.Instance;return Invoke<DeletePartnerEventSourceResponse>(request, options);}


public WorkflowExecutionInfos listClosedWorkflowExecutions(ListClosedWorkflowExecutionsRequest request) {request = beforeClientExecution(request);return executeListClosedWorkflowExecutions(request);}

public virtual ListClosedWorkflowExecutionsResponse ListClosedWorkflowExecutions(ListClosedWorkflowExecutionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListClosedWorkflowExecutionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListClosedWorkflowExecutionsResponseUnmarshaller.Instance;return Invoke<ListClosedWorkflowExecutionsResponse>(request, options);}

[User] public WorkflowExecutionInfos listClosedWorkflowExecutions(ListClosedWorkflowExecutionsRequest request) {request = beforeClientExecution(request);return executeListClosedWorkflowExecutions(request);}

[Assistant] public virtual ListClosedWorkflowExecutionsResponse ListClosedWorkflowExecutions(ListClosedWorkflowExecutionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListClosedWorkflowExecutionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListClosedWorkflowExecutionsResponseUnmarshaller.Instance;return Invoke<ListClosedWorkflowExecutionsResponse>(request, options);}


public HSSFFontFormatting createFontFormatting() {return getFontFormatting(true);}

public IFontFormatting CreateFontFormatting(){return GetFontFormatting(true);}

[User] public HSSFFontFormatting createFontFormatting() {return getFontFormatting(true);}

[Assistant] public IFontFormatting CreateFontFormatting(){return GetFontFormatting(true);}


public SimpleFragmenter(int fragmentSize) {this.fragmentSize = fragmentSize;}

public SimpleFragmenter(int fragmentSize){this.fragmentSize = fragmentSize;}

[User] public SimpleFragmenter(int fragmentSize) {this.fragmentSize = fragmentSize;}

[Assistant] public SimpleFragmenter(int fragmentSize){this.fragmentSize = fragmentSize;}


public DeleteEmailIdentityResult deleteEmailIdentity(DeleteEmailIdentityRequest request) {request = beforeClientExecution(request);return executeDeleteEmailIdentity(request);}

public virtual DeleteEmailIdentityResponse DeleteEmailIdentity(DeleteEmailIdentityRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEmailIdentityRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEmailIdentityResponseUnmarshaller.Instance;return Invoke<DeleteEmailIdentityResponse>(request, options);}

[User] public DeleteEmailIdentityResult deleteEmailIdentity(DeleteEmailIdentityRequest request) {request = beforeClientExecution(request);return executeDeleteEmailIdentity(request);}

[Assistant] public virtual DeleteEmailIdentityResponse DeleteEmailIdentity(DeleteEmailIdentityRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEmailIdentityRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEmailIdentityResponseUnmarshaller.Instance;return Invoke<DeleteEmailIdentityResponse>(request, options);}


public ListScriptsResult listScripts(ListScriptsRequest request) {request = beforeClientExecution(request);return executeListScripts(request);}

public virtual ListScriptsResponse ListScripts(ListScriptsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListScriptsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListScriptsResponseUnmarshaller.Instance;return Invoke<ListScriptsResponse>(request, options);}

[User] public ListScriptsResult listScripts(ListScriptsRequest request) {request = beforeClientExecution(request);return executeListScripts(request);}

[Assistant] public virtual ListScriptsResponse ListScripts(ListScriptsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListScriptsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListScriptsResponseUnmarshaller.Instance;return Invoke<ListScriptsResponse>(request, options);}


public SnowballFilter(TokenStream input, SnowballStemmer stemmer) {super(input);this.stemmer = stemmer;}

public SnowballFilter(TokenStream input, SnowballProgram stemmer): base(input){this.stemmer = stemmer;this.termAtt = AddAttribute<ICharTermAttribute>();this.keywordAttr = AddAttribute<IKeywordAttribute>();}

[User] public SnowballFilter(TokenStream input, SnowballStemmer stemmer) {super(input);this.stemmer = stemmer;}

[Assistant] public SnowballFilter(TokenStream input, SnowballProgram stemmer): base(input){this.stemmer = stemmer;this.termAtt = AddAttribute<ICharTermAttribute>();this.keywordAttr = AddAttribute<IKeywordAttribute>();}


public DeleteFlowLogsResult deleteFlowLogs(DeleteFlowLogsRequest request) {request = beforeClientExecution(request);return executeDeleteFlowLogs(request);}

public virtual DeleteFlowLogsResponse DeleteFlowLogs(DeleteFlowLogsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteFlowLogsRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteFlowLogsResponseUnmarshaller.Instance;return Invoke<DeleteFlowLogsResponse>(request, options);}

[User] public DeleteFlowLogsResult deleteFlowLogs(DeleteFlowLogsRequest request) {request = beforeClientExecution(request);return executeDeleteFlowLogs(request);}

[Assistant] public virtual DeleteFlowLogsResponse DeleteFlowLogs(DeleteFlowLogsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteFlowLogsRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteFlowLogsResponseUnmarshaller.Instance;return Invoke<DeleteFlowLogsResponse>(request, options);}


public CreateIdentityPoolResult createIdentityPool(CreateIdentityPoolRequest request) {request = beforeClientExecution(request);return executeCreateIdentityPool(request);}

public virtual CreateIdentityPoolResponse CreateIdentityPool(CreateIdentityPoolRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateIdentityPoolRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateIdentityPoolResponseUnmarshaller.Instance;return Invoke<CreateIdentityPoolResponse>(request, options);}

[User] public CreateIdentityPoolResult createIdentityPool(CreateIdentityPoolRequest request) {request = beforeClientExecution(request);return executeCreateIdentityPool(request);}

[Assistant] public virtual CreateIdentityPoolResponse CreateIdentityPool(CreateIdentityPoolRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateIdentityPoolRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateIdentityPoolResponseUnmarshaller.Instance;return Invoke<CreateIdentityPoolResponse>(request, options);}


public String distanceSubQueryNotAllowed() {Iterator<?> sqi = getSubQueriesIterator();while (sqi.hasNext()) {Object leq = sqi.next();if (leq instanceof DistanceSubQuery) {DistanceSubQuery dsq = (DistanceSubQuery) leq;String m = dsq.distanceSubQueryNotAllowed();if (m != null) {return m;}} else {return "Operator " + getOperatorName() + " does not allow subquery " + leq.toString();}}return null; }

public virtual string DistanceSubQueryNotAllowed(){var sqi = GetSubQueriesEnumerator();while (sqi.MoveNext()){var leq = sqi.Current;if (leq is IDistanceSubQuery){var dsq = sqi.Current as IDistanceSubQuery;string m = dsq.DistanceSubQueryNotAllowed();if (m != null){return m;}}else{return "Operator " + OperatorName + " does not allow subquery " + leq.ToString();}}return null; }

[User] public String distanceSubQueryNotAllowed() {Iterator<?> sqi = getSubQueriesIterator();while (sqi.hasNext()) {Object leq = sqi.next();if (leq instanceof DistanceSubQuery) {DistanceSubQuery dsq = (DistanceSubQuery) leq;String m = dsq.distanceSubQueryNotAllowed();if (m != null) {return m;}} else {return "Operator " + getOperatorName() + " does not allow subquery " + leq.toString();}}return null; }

[Assistant] public virtual string DistanceSubQueryNotAllowed(){var sqi = GetSubQueriesEnumerator();while (sqi.MoveNext()){var leq = sqi.Current;if (leq is IDistanceSubQuery){var dsq = sqi.Current as IDistanceSubQuery;string m = dsq.DistanceSubQueryNotAllowed();if (m != null){return m;}}else{return "Operator " + OperatorName + " does not allow subquery " + leq.ToString();}}return null; }


public static String getNodeText(Tree t, List<String> ruleNames) {if ( ruleNames!=null ) {if ( t instanceof RuleContext ) {int ruleIndex = ((RuleContext)t).getRuleContext().getRuleIndex();String ruleName = ruleNames.get(ruleIndex);int altNumber = ((RuleContext) t).getAltNumber();if ( altNumber!=ATN.INVALID_ALT_NUMBER ) {return ruleName+":"+altNumber;}return ruleName;}else if ( t instanceof ErrorNode) {return t.toString();}else if ( t instanceof TerminalNode) {Token symbol = ((TerminalNode)t).getSymbol();if (symbol != null) {String s = symbol.getText();return s;}}}Object payload = t.getPayload();if ( payload instanceof Token ) {return ((Token)payload).getText();}return t.getPayload().toString();}

public static string GetNodeText(ITree t, IList<string> ruleNames){if (ruleNames != null){if (t is RuleContext){int ruleIndex = ((RuleContext)t).RuleIndex;string ruleName = ruleNames[ruleIndex];int altNumber = ((RuleContext)t).getAltNumber();if ( altNumber!=Atn.ATN.INVALID_ALT_NUMBER ) {return ruleName+":"+altNumber;}return ruleName;}else{if (t is IErrorNode){return t.ToString();}else{if (t is ITerminalNode){IToken symbol = ((ITerminalNode)t).Symbol;if (symbol != null){string s = symbol.Text;return s;}}}}}object payload = t.Payload;if (payload is IToken){return ((IToken)payload).Text;}return t.Payload.ToString();}

[User] public static String getNodeText(Tree t, List<String> ruleNames) {if ( ruleNames!=null ) {if ( t instanceof RuleContext ) {int ruleIndex = ((RuleContext)t).getRuleContext().getRuleIndex();String ruleName = ruleNames.get(ruleIndex);int altNumber = ((RuleContext) t).getAltNumber();if ( altNumber!=ATN.INVALID_ALT_NUMBER ) {return ruleName+":"+altNumber;}return ruleName;}else if ( t instanceof ErrorNode) {return t.toString();}else if ( t instanceof TerminalNode) {Token symbol = ((TerminalNode)t).getSymbol();if (symbol != null) {String s = symbol.getText();return s;}}}Object payload = t.getPayload();if ( payload instanceof Token ) {return ((Token)payload).getText();}return t.getPayload().toString();}

[Assistant] public static string GetNodeText(ITree t, IList<string> ruleNames){if (ruleNames != null){if (t is RuleContext){int ruleIndex = ((RuleContext)t).RuleIndex;string ruleName = ruleNames[ruleIndex];int altNumber = ((RuleContext)t).getAltNumber();if ( altNumber!=Atn.ATN.INVALID_ALT_NUMBER ) {return ruleName+":"+altNumber;}return ruleName;}else{if (t is IErrorNode){return t.ToString();}else{if (t is ITerminalNode){IToken symbol = ((ITerminalNode)t).Symbol;if (symbol != null){string s = symbol.Text;return s;}}}}}object payload = t.Payload;if (payload is IToken){return ((IToken)payload).Text;}return t.Payload.ToString();}


public int last() {if (sentenceStarts.length > 0) {currentSentence = sentenceStarts.length - 1;text.setIndex(text.getEndIndex());} else { currentSentence = 0;text.setIndex(text.getBeginIndex());}return current();}

public override int Last(){if (sentenceStarts.Length > 0){currentSentence = sentenceStarts.Length - 1;text.SetIndex(text.EndIndex);}else{ currentSentence = 0;text.SetIndex(text.BeginIndex);}return Current;}

[User] public int last() {if (sentenceStarts.length > 0) {currentSentence = sentenceStarts.length - 1;text.setIndex(text.getEndIndex());} else { currentSentence = 0;text.setIndex(text.getBeginIndex());}return current();}

[Assistant] public override int Last(){if (sentenceStarts.Length > 0){currentSentence = sentenceStarts.Length - 1;text.SetIndex(text.EndIndex);}else{ currentSentence = 0;text.SetIndex(text.BeginIndex);}return Current;}


public HSSFRichTextString createRichTextString(String text) {return new HSSFRichTextString(text);}

public NPOI.SS.UserModel.IRichTextString CreateRichTextString(String text){return new HSSFRichTextString(text);}

[User] public HSSFRichTextString createRichTextString(String text) {return new HSSFRichTextString(text);}

[Assistant] public NPOI.SS.UserModel.IRichTextString CreateRichTextString(String text){return new HSSFRichTextString(text);}


public PushbackReader(Reader in) {super(in);buf = new char[1];pos = 1;}

public PushbackReader(java.io.Reader @in) : base(@in){buf = new char[1];pos = 1;}

[User] public PushbackReader(Reader in) {super(in);buf = new char[1];pos = 1;}

[Assistant] public PushbackReader(java.io.Reader @in) : base(@in){buf = new char[1];pos = 1;}


public List<ParseTree> getAll(String label) {List<ParseTree> nodes = labels.get(label);if ( nodes==null ) {return Collections.emptyList();}return nodes;}

public virtual IList<IParseTree> GetAll(string label){IList<IParseTree> nodes = labels.Get(label);if (nodes == null){return Sharpen.Collections.EmptyList<IParseTree>();}return nodes;}

[User] public List<ParseTree> getAll(String label) {List<ParseTree> nodes = labels.get(label);if ( nodes==null ) {return Collections.emptyList();}return nodes;}

[Assistant] public virtual IList<IParseTree> GetAll(string label){IList<IParseTree> nodes = labels.Get(label);if (nodes == null){return Sharpen.Collections.EmptyList<IParseTree>();}return nodes;}


public InternalWorkbook getStubWorkbook() {return createStubWorkbook(getExternSheetRecords(), getBoundSheetRecords(),getSSTRecord());}

public InternalWorkbook GetStubWorkbook(){return CreateStubWorkbook(GetExternSheetRecords(), GetBoundSheetRecords(),GetSSTRecord());}

[User] public InternalWorkbook getStubWorkbook() {return createStubWorkbook(getExternSheetRecords(), getBoundSheetRecords(),getSSTRecord());}

[Assistant] public InternalWorkbook GetStubWorkbook(){return CreateStubWorkbook(GetExternSheetRecords(), GetBoundSheetRecords(),GetSSTRecord());}


public ReactivatePhotosRequest() {super("CloudPhoto", "2017-07-11", "ReactivatePhotos", "cloudphoto");setProtocol(ProtocolType.HTTPS);}

public ReactivatePhotosRequest(): base("CloudPhoto", "2017-07-11", "ReactivatePhotos", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}

[User] public ReactivatePhotosRequest() {super("CloudPhoto", "2017-07-11", "ReactivatePhotos", "cloudphoto");setProtocol(ProtocolType.HTTPS);}

[Assistant] public ReactivatePhotosRequest(): base("CloudPhoto", "2017-07-11", "ReactivatePhotos", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}


public DecisionTask pollForDecisionTask(PollForDecisionTaskRequest request) {request = beforeClientExecution(request);return executePollForDecisionTask(request);}

public virtual PollForDecisionTaskResponse PollForDecisionTask(PollForDecisionTaskRequest request){var options = new InvokeOptions();options.RequestMarshaller = PollForDecisionTaskRequestMarshaller.Instance;options.ResponseUnmarshaller = PollForDecisionTaskResponseUnmarshaller.Instance;return Invoke<PollForDecisionTaskResponse>(request, options);}

[User] public DecisionTask pollForDecisionTask(PollForDecisionTaskRequest request) {request = beforeClientExecution(request);return executePollForDecisionTask(request);}

[Assistant] public virtual PollForDecisionTaskResponse PollForDecisionTask(PollForDecisionTaskRequest request){var options = new InvokeOptions();options.RequestMarshaller = PollForDecisionTaskRequestMarshaller.Instance;options.ResponseUnmarshaller = PollForDecisionTaskResponseUnmarshaller.Instance;return Invoke<PollForDecisionTaskResponse>(request, options);}


public void write(LittleEndianOutput out) {out.writeByte(getSid() + getPtgClass());writeCoordinates(out);}

public override void Write(ILittleEndianOutput out1){out1.WriteByte(Sid + PtgClass);WriteCoordinates(out1);}

[User] public void write(LittleEndianOutput out) {out.writeByte(getSid() + getPtgClass());writeCoordinates(out);}

[Assistant] public override void Write(ILittleEndianOutput out1){out1.WriteByte(Sid + PtgClass);WriteCoordinates(out1);}


public virtual Ref GetTarget(){return target;}

[User] public Ref getTarget() {return target;}

[Assistant] public virtual Ref GetTarget(){return target;}


public CreateTagsResult createTags(CreateTagsRequest request) {request = beforeClientExecution(request);return executeCreateTags(request);}

public virtual CreateTagsResponse CreateTags(CreateTagsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateTagsRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateTagsResponseUnmarshaller.Instance;return Invoke<CreateTagsResponse>(request, options);}

[User] public CreateTagsResult createTags(CreateTagsRequest request) {request = beforeClientExecution(request);return executeCreateTags(request);}

[Assistant] public virtual CreateTagsResponse CreateTags(CreateTagsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateTagsRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateTagsResponseUnmarshaller.Instance;return Invoke<CreateTagsResponse>(request, options);}