< prev index next >
src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/IDIV.java
Print this page
@@ -19,28 +19,34 @@
* limitations under the License.
*/
package com.sun.org.apache.bcel.internal.generic;
+import com.sun.org.apache.bcel.internal.ExceptionConst;
/**
* IDIV - Divide ints
* <PRE>Stack: ..., value1, value2 -> result</PRE>
*
- * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
+ * @version $Id: IDIV.java 1747278 2016-06-07 17:28:43Z britter $
*/
public class IDIV extends ArithmeticInstruction implements ExceptionThrower {
+
/** Divide ints
*/
public IDIV() {
- super(com.sun.org.apache.bcel.internal.Constants.IDIV);
+ super(com.sun.org.apache.bcel.internal.Const.IDIV);
}
+
/** @return exceptions this instruction may cause
*/
- public Class[] getExceptions() {
- return new Class[] { com.sun.org.apache.bcel.internal.ExceptionConstants.ARITHMETIC_EXCEPTION };
+ @Override
+ public Class<?>[] getExceptions() {
+ return new Class[] {
+ ExceptionConst.ARITHMETIC_EXCEPTION
+ };
}
/**
* Call corresponding visitor method(s). The order is:
@@ -48,11 +54,12 @@
* call methods according to the class hierarchy in descending order,
* i.e., the most specific visitXXX() call comes last.
*
* @param v Visitor object
*/
- public void accept(Visitor v) {
+ @Override
+ public void accept( final Visitor v ) {
v.visitExceptionThrower(this);
v.visitTypedInstruction(this);
v.visitStackProducer(this);
v.visitStackConsumer(this);
v.visitArithmeticInstruction(this);
< prev index next >