public static void checkForValidName ( final Node node , final String name ) { if ( ! ValidationUtil . isSbeCppName ( name ) ) { handleWarning ( node , "name is not valid for C++: " + name ) ; } if ( ! ValidationUtil . isSbeJavaName ( name ) ) { handleWarning ( node , "name is not valid for Java: " + name ) ; } if ( ! ValidationUtil . isSbeGolangName ( name ) ) { handleWarning ( node , "name is not valid for Golang: " + name ) ; } if ( ! ValidationUtil . isSbeCSharpName ( name ) ) { handleWarning ( node , "name is not valid for C#: " + name ) ; } }
Check name against validity for C ++ and Java naming . Warning if not valid .