home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 July / Chip_1998-07_cd.bin / zkuste / JBuilder / BDK / Win / bdk_sep97.exe / _SETUP.1 / InterfaceMethodConstant.java < prev    next >
Encoding:
Java Source  |  1997-09-10  |  1.3 KB  |  51 lines

  1. /*
  2.  *
  3.  * @(#) InterfaceMethodConstant.java 1.4@(#)
  4.  *
  5.  * Copyright (c) 1997 Sun Microsystems, Inc. All Rights Reserved.
  6.  * 
  7.  * SUN MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY OF THE
  8.  * SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
  9.  * IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
  10.  * PURPOSE, OR NON-INFRINGEMENT. SUN SHALL NOT BE LIABLE FOR ANY DAMAGES
  11.  * SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR DISTRIBUTING
  12.  * THIS SOFTWARE OR ITS DERIVATIVES.
  13.  * 
  14.  */
  15.  
  16. /**
  17.  * <p>
  18.  * sunw.demo.classfile.InterfaceMethodConstant
  19.  * </p> 
  20.  *
  21.  * @version 1.0
  22.  * @author Laurence P. G. Cable
  23.  */
  24.  
  25.  
  26. package sunw.demo.classfile;
  27.  
  28. import sunw.demo.classfile.ClassFile;
  29. import sunw.demo.classfile.RefConstant;
  30.  
  31. /**
  32.  * <p> this class provides minimal support for CONSTANT_INTERFACEMETHODREF CPE's </p>
  33.  */
  34.  
  35. class InterfaceMethodConstant extends RefConstant {
  36.  
  37.     /**
  38.      * <p> construct a CONSTANT_INTERFACEMETHODREF </p>
  39.      *
  40.      * @param cName    name of interface
  41.      * @param nName    name of method
  42.      * @param tName    method type descriptor
  43.      * @param cf    class file
  44.      *
  45.      */
  46.  
  47.     InterfaceMethodConstant(String cName, String nName, String tName, ClassFile cf) {
  48.     super(CONSTANT_INTERFACEMETHODREF, cName, nName, tName, cf);
  49.     }
  50. }
  51.