FileDocCategorySizeDatePackage
FieldConstant.javaAPI DocJ2ME CLDC 1.11050Wed Feb 05 15:56:02 GMT 2003components

FieldConstant

public class FieldConstant extends FMIrefConstant

Fields Summary
boolean
didLookup
FieldInfo
theField
Constructors Summary
FieldConstant(int t)

 tag = t; 
public FieldConstant(ClassConstant c, NameAndTypeConstant s)

        super( Const.CONSTANT_FIELD, c, s );
    
Methods Summary
public FieldInfofind()

    if ( ! didLookup ){
        theField = (FieldInfo)super.find(false);
        didLookup = true;
    }
    return theField;
    
public static ConstantObjectread(int t, java.io.DataInput in)

    FieldConstant f = new FieldConstant( t );
    f.read( in );
    return f;