15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 */
21
22 package com.sun.org.apache.bcel.internal.generic;
23
24 import java.io.DataOutputStream;
25 import java.io.IOException;
26
27 import com.sun.org.apache.bcel.internal.Const;
28 import com.sun.org.apache.bcel.internal.ExceptionConst;
29
30 /**
31 * INVOKEVIRTUAL - Invoke instance method; dispatch based on class
32 *
33 * <PRE>Stack: ..., objectref, [arg1, [arg2 ...]] -> ...</PRE>
34 *
35 * @version $Id$
36 * @see
37 * <a href="http://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5.invokevirtual">
38 * The invokevirtual instruction in The Java Virtual Machine Specification</a>
39 */
40 public class INVOKEVIRTUAL extends InvokeInstruction {
41
42 /**
43 * Empty constructor needed for Instruction.readInstruction.
44 * Not to be used otherwise.
45 */
46 INVOKEVIRTUAL() {
47 }
48
49
50 public INVOKEVIRTUAL(final int index) {
51 super(Const.INVOKEVIRTUAL, index);
52 }
53
54
55 /**
|
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
20 */
21
22 package com.sun.org.apache.bcel.internal.generic;
23
24 import java.io.DataOutputStream;
25 import java.io.IOException;
26
27 import com.sun.org.apache.bcel.internal.Const;
28 import com.sun.org.apache.bcel.internal.ExceptionConst;
29
30 /**
31 * INVOKEVIRTUAL - Invoke instance method; dispatch based on class
32 *
33 * <PRE>Stack: ..., objectref, [arg1, [arg2 ...]] -> ...</PRE>
34 *
35 * @see
36 * <a href="http://docs.oracle.com/javase/specs/jvms/se8/html/jvms-6.html#jvms-6.5.invokevirtual">
37 * The invokevirtual instruction in The Java Virtual Machine Specification</a>
38 */
39 public class INVOKEVIRTUAL extends InvokeInstruction {
40
41 /**
42 * Empty constructor needed for Instruction.readInstruction.
43 * Not to be used otherwise.
44 */
45 INVOKEVIRTUAL() {
46 }
47
48
49 public INVOKEVIRTUAL(final int index) {
50 super(Const.INVOKEVIRTUAL, index);
51 }
52
53
54 /**
|