public SemanticType extractElementType ( SemanticType . Array type , SyntacticItem item ) { if ( type == null ) { return null ; } else { return type . getElement ( ) ; } }
Extract the element type from an array . The array type can be null if some earlier part of type checking generated an error message and we are just continuing after that .