< prev index next >
src/java.xml/share/classes/com/sun/org/apache/bcel/internal/generic/ACONST_NULL.java
Print this page
@@ -19,29 +19,30 @@
* limitations under the License.
*/
package com.sun.org.apache.bcel.internal.generic;
-
/**
* ACONST_NULL - Push null reference
* <PRE>Stack: ... -> ..., null</PRE>
*
- * @author <A HREF="mailto:markus.dahm@berlin.de">M. Dahm</A>
+ * @version $Id: ACONST_NULL.java 1747278 2016-06-07 17:28:43Z britter $
*/
-public class ACONST_NULL extends Instruction
- implements PushInstruction, TypedInstruction {
+public class ACONST_NULL extends Instruction implements PushInstruction, TypedInstruction {
+
/**
* Push null reference
*/
public ACONST_NULL() {
- super(com.sun.org.apache.bcel.internal.Constants.ACONST_NULL, (short)1);
+ super(com.sun.org.apache.bcel.internal.Const.ACONST_NULL, (short) 1);
}
+
/** @return Type.NULL
*/
- public Type getType(ConstantPoolGen cp) {
+ @Override
+ public Type getType( final ConstantPoolGen cp ) {
return Type.NULL;
}
/**
@@ -50,11 +51,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.visitStackProducer(this);
v.visitPushInstruction(this);
v.visitTypedInstruction(this);
v.visitACONST_NULL(this);
}
< prev index next >