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

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