001 package railo.transformer.bytecode.expression.var; 002 003 import railo.transformer.library.function.FunctionLibFunction; 004 005 006 007 public final class BIF extends FunctionMember { 008 private static String ANY="any"; 009 010 private String name; 011 private int argType; 012 private String className; 013 private String returnType=ANY; 014 private FunctionLibFunction flf; 015 016 017 018 public BIF(String name, FunctionLibFunction flf) { 019 this.name=name; 020 this.flf=flf; 021 } 022 023 public void setArgType(int argType) { 024 this.argType=argType; 025 } 026 027 public void setClassName(String className) { 028 this.className=className; 029 } 030 031 public void setReturnType(String returnType) { 032 this.returnType=returnType; 033 } 034 035 /** 036 * @return the argType 037 */ 038 public int getArgType() { 039 return argType; 040 } 041 042 /** 043 * @return the className 044 */ 045 public String getClassName() { 046 return className; 047 } 048 049 /** 050 * @return the name 051 */ 052 public String getName() { 053 return name; 054 } 055 056 /** 057 * @return the returnType 058 */ 059 public String getReturnType() { 060 return returnType; 061 } 062 063 /** 064 * @return the flf 065 */ 066 public FunctionLibFunction getFlf() { 067 return flf; 068 } 069 070 /** 071 * @param flf the flf to set 072 */ 073 public void setFlf(FunctionLibFunction flf) { 074 this.flf = flf; 075 } 076 }