String function ( String arg0 ) { int loc0 = arg0 . lastIndexOf ( MDAConstants . QVTO_FILE_EXTENSION_WITH_DOT ) ; if ( loc0 > 0 ) { return arg0 . substring ( 0 , loc0 ) ; } return "srini_string" ; }
get the name of the main module for the given compilation unit file name . concode_field_sep String QNAME_DELIMITER concode_elem_sep IStatus invalidCUFileNameStatus concode_elem_sep String ADJACENT_DELIMITERS_ERROR concode_field_sep IStatus validateIdentifier concode_elem_sep String[] getQualifiedNameSegments concode_elem_sep IStatus validateQvtModuleIdentifier concode_elem_sep IStatus validateQualifiedIdentifier concode_elem_sep IStatus validateCompilationUnitFileName concode_elem_sep String extractQualifyingIdentifierPart concode_elem_sep IStatus validateNamespaceQualifiedIdentifier concode_elem_sep String extractLocalIdentifierPart concode_elem_sep IStatus validateNamespaceSimpleIdenfier concode_elem_sep boolean isValidCompilationUnitFileName