< prev index next >

src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/IREM.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;
 
 /**
  * IREM - Remainder of int
  * <PRE>Stack: ..., value1, value2 -&gt; result</PRE>
  *
- * @author  <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
+ * @version $Id: IREM.java 1747278 2016-06-07 17:28:43Z britter $
  */
 public class IREM extends ArithmeticInstruction implements ExceptionThrower {
+
   /** Remainder of ints
    */
   public IREM() {
-    super(com.sun.org.apache.bcel.internal.Constants.IREM);
+        super(com.sun.org.apache.bcel.internal.Const.IREM);
   }
 
+
   /** @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 >