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

  1. /*
  2.  *
  3.  * @(#) MethodConstant.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.MethodConstant
  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 the CONSTANT_METHODREF CPE </p>
  33.  */
  34.  
  35. class MethodConstant extends RefConstant {
  36.  
  37.     /**
  38.      * <p> construct a CONSTANT_METHODREF </p>
  39.      *
  40.      * @param cName the name of the implementing class
  41.      * @param nName the name of the method
  42.      * @param tName the type descriptor of the method
  43.      * @param cf    the class file
  44.      */
  45.  
  46.     MethodConstant(String cName, String nName, String tName, ClassFile cf) {
  47.     super(CONSTANT_METHODREF, cName, nName, tName, cf);
  48.     }
  49. }
  50.