Пример #1
0
 public RTSetCommon(
     final String className,
     final String methodName,
     final String parameterName,
     String parameterTypeName,
     final StaticScope enclosingMethodScope,
     final Type returnType) {
   super(
       methodName,
       RTMessage.buildArguments(
           className,
           methodName,
           null == parameterName ? null : asList(parameterName),
           null == parameterTypeName ? null : asList(parameterTypeName),
           enclosingMethodScope,
           false),
       returnType,
       Expression.nearestEnclosingMegaTypeOf(enclosingMethodScope),
       false);
 }
Пример #2
0
 public RTMapCommon(
     final String className,
     final String methodName,
     final List<String> parameterNames,
     final List<String> parameterTypeNames,
     final StaticScope enclosingMethodScope,
     final Type returnType) {
   super(
       methodName,
       RTMessage.buildArguments(
           className,
           methodName,
           parameterNames,
           parameterTypeNames,
           enclosingMethodScope,
           false),
       returnType,
       Expression.nearestEnclosingMegaTypeOf(enclosingMethodScope),
       false);
 }