示例#1
0
 @Override
 public ResolvedStructType caseStructureConstant(StructureConstant object) {
   EList<TypedConstant> values = object.getList().getTypedConstants();
   List<ResolvedType> resolvedTypes = new ArrayList<ResolvedType>(values.size());
   for (TypedConstant tc : values) {
     resolvedTypes.add(resolve(tc.getType()));
   }
   return new ResolvedStructType(resolvedTypes, object.getPacked() != null, true);
 }
示例#2
0
 @Override
 public ResolvedType caseTypedConstant(TypedConstant object) {
   return resolve(object.getType());
 }