private DataType getAttributeDataType ( Attribute attribute ) { DataType dataType = attribute . getDataType ( ) ; if ( signedness == Signedness . UNSIGNED ) { // If variable is unsigned, make its integral attributes unsigned too. dataType = dataType . withSignedness ( signedness ) ; } return dataType ; }
Get the data type of an attribute . Make it unsigned if the variable is unsigned .