public boolean isCustomVariable ( CobolPrimitiveType < ? > type , String name ) { if ( type . isCustomVariable ( ) ) { return true ; } if ( customVariables != null && customVariables . contains ( name ) ) { return true ; } if ( customChoiceStrategy != null && customChoiceStrategy . getVariableNames ( ) != null && customChoiceStrategy . getVariableNames ( ) . contains ( name ) ) { return true ; } return false ; }
A primitive type is a custom variable if it has been marked as so via one of the available mechanisms or is needed to make choice decisions .