private void convertMethodContainerTransactionsOfStyle(int requestedStyleForConversion, Hashtable convertedMethods) { Collection transactionMethods = this.getTransactionMethodDescriptors(); Hashtable transactions = this.getMethodContainerTransactions(); for (Enumeration e = transactions.keys(); e.hasMoreElements();) { MethodDescriptor md = (MethodDescriptor) e.nextElement(); if (md.getStyle() == requestedStyleForConversion) { ContainerTransaction ct = (ContainerTransaction) getMethodContainerTransactions().get(md); for (Enumeration mds = md.doStyleConversion(this, transactionMethods).elements(); mds.hasMoreElements();) { MethodDescriptor next = (MethodDescriptor) mds.nextElement(); convertedMethods.put(next, new ContainerTransaction(ct)); } } } }
private void convertMethodContainerTransactionsOfStyle(int requestedStyleForConversion, Hashtable convertedMethods) { Collection transactionMethods = this.getTransactionMethodDescriptors(); Hashtable transactions = this.getMethodContainerTransactions(); for (Enumeration e = transactions.keys(); e.hasMoreElements();) { MethodDescriptor md = (MethodDescriptor) e.nextElement(); if (md.getStyle() == requestedStyleForConversion) { ContainerTransaction ct = (ContainerTransaction) getMethodContainerTransactions().get(md); for (Enumeration mds = md.doStyleConversion(this, transactionMethods).elements(); mds.hasMoreElements();) { MethodDescriptor next = (MethodDescriptor) mds.nextElement(); convertedMethods.put(next, new ContainerTransaction(ct)); } } } }
if (getStyle() == 1) { // STYLE 1 for (Iterator itr = allMethods.iterator(); itr.hasNext();) { MethodDescriptor next = (MethodDescriptor) itr.next();
if (getStyle() == 1) { // STYLE 1 for (Iterator itr = allMethods.iterator(); itr.hasNext();) { MethodDescriptor next = (MethodDescriptor) itr.next();
String mthdParams[] = md.getStyle() == 3 ? md.getParameterClassNames() : null;
String mthdParams[] = md.getStyle() == 3 ? md.getParameterClassNames() : null;