public TypeMirror getOriginalType ( javax . lang . model . type . ErrorType errorType ) { if ( errorType instanceof com . sun . tools . javac . code . Type . ErrorType ) { return ( ( com . sun . tools . javac . code . Type . ErrorType ) errorType ) . getOriginalType ( ) ; } return com . sun . tools . javac . code . Type . noType ; }
Gets the original type from the ErrorType object .