title: Salesforce apex class Unexpected token error
body: <p>I want to create a keyword search referring to "UserName__c" api on Salesforce Apex class.</p>
  
  <p>compile error Unexpected token 'UserName__c'.</p>
  
  <pre><code>public with sharing class AccountListCon {
  
      static List&lt;String&gt; TARGET_FIELDS = new List&lt;String&gt;{
        'Name'
        ,'UserName__c'
        ,'CompanyName__c'
      };
  
      public SearchCondition condition{ get;set; }        
      public String UserName__c results { get;set; }      
      public String sortingField { get;set; }             
  
  
  
      public void init(){
          this.condition = new SearchCondition();
          this.results = new String UserName__c();
      }
  
  
      public PageReference clear(){
          init();
          return null;
      }
  
  
  </code></pre>