protected void calculateOperationAnalysisMap ( ) { operationAnalysisMap = new HashMap ( ) ; OperationAnalysis oa ; // Map the operations for ( int i = 0 ; i < operations . length ; ++ i ) { oa = operations [ i ] ; operationAnalysisMap . put ( oa . getIDLName ( ) , oa ) ; } // Map the attributes for ( int i = 0 ; i < attributes . length ; ++ i ) { AttributeAnalysis attr = attributes [ i ] ; oa = attr . getAccessorAnalysis ( ) ; // Not having an accessor analysis means that // the attribute is not in a remote interface if ( oa != null ) { operationAnalysisMap . put ( oa . getIDLName ( ) , oa ) ; oa = attr . getMutatorAnalysis ( ) ; if ( oa != null ) operationAnalysisMap . put ( oa . getIDLName ( ) , oa ) ; } } }
Calculate the map that maps IDL operation names to operation analyses . Besides mapped operations this map also contains the attribute accessor and mutator operations .