public override List getValueSources(ParameterSignature sig)
 {
   ArrayList arrayList1 = new ArrayList();
   int[] numArray1 = ((TestedOn) sig.getAnnotation((Class) ClassLiteral<TestedOn>.Value)).ints();
   int[] numArray2 = numArray1;
   int length = numArray2.Length;
   for (int index1 = 0; index1 < length; ++index1)
   {
     int num = numArray2[index1];
     ArrayList arrayList2 = arrayList1;
     int[][] numArray3 = new int[1][];
     int index2 = 0;
     int[] numArray4 = numArray1;
     numArray3[index2] = numArray4;
     PotentialAssignment potentialAssignment = PotentialAssignment.forValue(Object.instancehelper_toString((object) Arrays.asList((object[]) numArray3)), (object) Integer.valueOf(num));
     ((List) arrayList2).add((object) potentialAssignment);
   }
   return (List) arrayList1;
 }
 public abstract List getValueSources(ParameterSignature ps);
Esempio n. 3
0
 public virtual ParameterSupplier getAnnotatedSupplier(ParameterSignature unassigned)
 {
   ParametersSuppliedBy parametersSuppliedBy = (ParametersSuppliedBy) unassigned.findDeepAnnotation((Class) ClassLiteral<ParametersSuppliedBy>.Value);
   if (parametersSuppliedBy == null)
     return (ParameterSupplier) null;
   else
     return (ParameterSupplier) parametersSuppliedBy.value().newInstance(Assignments.__\u003CGetCallerID\u003E());
 }
Esempio n. 4
0
 public virtual ParameterSupplier getSupplier(ParameterSignature unassigned)
 {
   ParameterSupplier annotatedSupplier = this.getAnnotatedSupplier(unassigned);
   if (annotatedSupplier != null)
     return annotatedSupplier;
   return (ParameterSupplier) new AllMembersSupplier(this.fClass);
 }