Пример #1
0
 @Override
 ParameterInfoBuilder createParameterInfoBuilder() {
   return new ParameterInfoBuilder()
       .withName(getParamName())
       .withType(makeParamType(_type))
       .withDefValue(GosuShop.getNullExpressionInstance());
 }
Пример #2
0
 @Override
 public IMetaType getLiteralMetaType() {
   if (_literalMetaType == null) {
     _literalMetaType = GosuShop.createMetaType(getTheRef(), true);
   }
   return _literalMetaType;
 }
Пример #3
0
 @Override
 public IMetaType getMetaType() {
   if (_metaType == null) {
     _metaType = GosuShop.createMetaType(getTheRef(), false);
   }
   return _metaType;
 }
Пример #4
0
@UnstableAPI
public interface IRTypeConstants {
  static IRType ITYPE = GosuShop.getIRTypeResolver().getDescriptor(IType.class);
  static IRType OBJECT = GosuShop.getIRTypeResolver().getDescriptor(Object.class);
  static IRType STRING = GosuShop.getIRTypeResolver().getDescriptor(String.class);
  static IRType pVOID = GosuShop.getIRTypeResolver().getDescriptor(void.class);
  static IRType pBOOLEAN = GosuShop.getIRTypeResolver().getDescriptor(boolean.class);
  static IRType pBYTE = GosuShop.getIRTypeResolver().getDescriptor(byte.class);
  static IRType pSHORT = GosuShop.getIRTypeResolver().getDescriptor(short.class);
  static IRType pCHAR = GosuShop.getIRTypeResolver().getDescriptor(char.class);
  static IRType pINT = GosuShop.getIRTypeResolver().getDescriptor(int.class);
  static IRType pLONG = GosuShop.getIRTypeResolver().getDescriptor(long.class);
  static IRType pFLOAT = GosuShop.getIRTypeResolver().getDescriptor(float.class);
  static IRType pDOUBLE = GosuShop.getIRTypeResolver().getDescriptor(double.class);
  static IRType ITERATOR = GosuShop.getIRTypeResolver().getDescriptor(Iterator.class);
  static IRType NUMBER = GosuShop.getIRTypeResolver().getDescriptor(Number.class);
}