1 /* |
1 /* |
2 * reserved comment block |
2 * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT REMOVE OR ALTER! |
3 * @LastModified: Oct 2017 |
4 */ |
4 */ |
5 /* |
5 /* |
6 * Licensed to the Apache Software Foundation (ASF) under one or more |
6 * Licensed to the Apache Software Foundation (ASF) under one or more |
7 * contributor license agreements. See the NOTICE file distributed with |
7 * contributor license agreements. See the NOTICE file distributed with |
8 * this work for additional information regarding copyright ownership. |
8 * this work for additional information regarding copyright ownership. |
19 * limitations under the License. |
19 * limitations under the License. |
20 */ |
20 */ |
21 |
21 |
22 package com.sun.org.apache.xalan.internal.xsltc.compiler; |
22 package com.sun.org.apache.xalan.internal.xsltc.compiler; |
23 |
23 |
24 import java.util.Vector; |
|
25 |
|
26 import com.sun.org.apache.bcel.internal.generic.ConstantPoolGen; |
24 import com.sun.org.apache.bcel.internal.generic.ConstantPoolGen; |
27 import com.sun.org.apache.bcel.internal.generic.INVOKESTATIC; |
25 import com.sun.org.apache.bcel.internal.generic.INVOKESTATIC; |
28 import com.sun.org.apache.bcel.internal.generic.InstructionList; |
26 import com.sun.org.apache.bcel.internal.generic.InstructionList; |
29 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator; |
27 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.ClassGenerator; |
30 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator; |
28 import com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator; |
|
29 import java.util.List; |
31 |
30 |
32 /** |
31 /** |
33 * @author Jacek Ambroziak |
32 * @author Jacek Ambroziak |
34 * @author Santiago Pericas-Geertsen |
33 * @author Santiago Pericas-Geertsen |
35 */ |
34 */ |
36 final class RoundCall extends FunctionCall { |
35 final class RoundCall extends FunctionCall { |
37 |
36 |
38 public RoundCall(QName fname, Vector arguments) { |
37 public RoundCall(QName fname, List<Expression> arguments) { |
39 super(fname, arguments); |
38 super(fname, arguments); |
40 } |
39 } |
41 |
40 |
42 public void translate(ClassGenerator classGen, MethodGenerator methodGen) { |
41 public void translate(ClassGenerator classGen, MethodGenerator methodGen) { |
43 final ConstantPoolGen cpg = classGen.getConstantPool(); |
42 final ConstantPoolGen cpg = classGen.getConstantPool(); |