1 7 8 package javax.lang.model.type; 9 10 11 import java.lang.annotation.Annotation ; 12 import java.util.ArrayList ; 13 import java.util.List ; 14 import java.util.Collections ; 15 16 import javax.lang.model.element.Element; 17 18 19 31 public class MirroredTypesException extends RuntimeException { 32 33 private static final long serialVersionUID = 269; 34 35 private final transient List <? extends TypeMirror> types; 38 43 public MirroredTypesException(List <? extends TypeMirror> types) { 44 super("Attempt to access Class objects for TypeMirrors " + types); 45 this.types = Collections.unmodifiableList(types); 46 } 47 48 55 public List <? extends TypeMirror> getTypeMirrors() { 56 return types; 57 } 58 } 59 | Popular Tags |