<commit_before>package railo.runtime;

import java.io.Serializable;
import java.lang.ref.SoftReference;

import railo.runtime.component.ImportDefintion;
import railo.runtime.type.Struct;
import railo.runtime.type.UDF;
import railo.runtime.type.UDFProperties;

/**
 * abstract Method for all generated Page Object
 */
public abstract class Page implements Serializable{

	private static final ImportDefintion[] ZERO=new ImportDefintion[0];
    /**
     * Field <code>FALSE</code>
     */
    public static boolean FALSE=false;
    
    /**
     * Field <code>TRUE</code>
     */
    public static boolean TRUE=true;
	private PageSource pageSource;
    private byte loadType;
	
    
    
    
	/**
	 * return version definition of the page
	 * @return version
	 */
	public int getVersion() {return -1;}
	
	/**
	 * method to invoke a page
	 * @param pc PageContext 
	 * @throws Throwable
	 */
	public void call(PageContext pc) throws Throwable{
		
	}

	
	/**
     * return when the source file last time was modified
	 * @return last modification of source file
	 */
	public long getSourceLastModified() {return 0;}
	
	/**
	 * return the time when the file was compiled
	 */
	public long getCompileTime() {return 0;}

	/**
	 * @param pageSource
	 */
	public void setPageSource(PageSource pageSource) {
		this.pageSource=pageSource;
	}
	/**
	 * @return Returns the pageResource.
	 */
	public PageSource getPageSource() {
		return pageSource;
	}

    /**
     * @return gets the load type
     */
    public byte getLoadType() {
        return loadType;
    }
    
    /**
     * @param loadType sets the load type
     */
    public void setLoadType(byte loadType) {
        this.loadType = loadType;
    }

    public Object udfCall(PageContext pageContext, UDF udf,int functionIndex) throws Throwable {
    	return null;
    }
    
    public void threadCall(PageContext pageContext, int threadIndex) throws Throwable {
    }

	public Object udfDefaultValue(PageContext pc, int functionIndex, int argumentIndex) {
		return null;
	}



	public ImportDefintion[] getImportDefintions() {
		return ZERO;
	}
	

	public SoftReference<Struct> metaData;
	
	protected UDFProperties[] udfs;
}<commit_msg>make udf data member public<commit_after>package railo.runtime;

import java.io.Serializable;
import java.lang.ref.SoftReference;

import railo.runtime.component.ImportDefintion;
import railo.runtime.type.Struct;
import railo.runtime.type.UDF;
import railo.runtime.type.UDFProperties;

/**
 * abstract Method for all generated Page Object
 */
public abstract class Page implements Serializable{

	private static final ImportDefintion[] ZERO=new ImportDefintion[0];
    /**
     * Field <code>FALSE</code>
     */
    public static boolean FALSE=false;
    
    /**
     * Field <code>TRUE</code>
     */
    public static boolean TRUE=true;
	private PageSource pageSource;
    private byte loadType;
	
    
    
    
	/**
	 * return version definition of the page
	 * @return version
	 */
	public int getVersion() {return -1;}
	
	/**
	 * method to invoke a page
	 * @param pc PageContext 
	 * @throws Throwable
	 */
	public void call(PageContext pc) throws Throwable{
		
	}

	
	/**
     * return when the source file last time was modified
	 * @return last modification of source file
	 */
	public long getSourceLastModified() {return 0;}
	
	/**
	 * return the time when the file was compiled
	 */
	public long getCompileTime() {return 0;}

	/**
	 * @param pageSource
	 */
	public void setPageSource(PageSource pageSource) {
		this.pageSource=pageSource;
	}
	/**
	 * @return Returns the pageResource.
	 */
	public PageSource getPageSource() {
		return pageSource;
	}

    /**
     * @return gets the load type
     */
    public byte getLoadType() {
        return loadType;
    }
    
    /**
     * @param loadType sets the load type
     */
    public void setLoadType(byte loadType) {
        this.loadType = loadType;
    }

    public Object udfCall(PageContext pageContext, UDF udf,int functionIndex) throws Throwable {
    	return null;
    }
    
    public void threadCall(PageContext pageContext, int threadIndex) throws Throwable {
    }

	public Object udfDefaultValue(PageContext pc, int functionIndex, int argumentIndex) {
		return null;
	}



	public ImportDefintion[] getImportDefintions() {
		return ZERO;
	}
	

	public SoftReference<Struct> metaData;
	
	public UDFProperties[] udfs;
}
{'fraction_non_alphanumeric': 0.09419795221843004, 'fraction_numerical': 0.0018202502844141069, 'mean_word_length': 3.0516129032258066, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6075114', 'n_tokens_mistral': 1360, 'n_tokens_neox': 1268, 'n_words': 386}