FileDocCategorySizeDatePackage
MethodConstant.javaAPI DocJ2ME CLDC 1.1980Wed Feb 05 15:56:02 GMT 2003components

MethodConstant

public class MethodConstant extends FMIrefConstant

Fields Summary
boolean
didLookup
MethodInfo
theMethod
Constructors Summary
MethodConstant(int t)

    tag = t;
    
public MethodConstant(ClassConstant c, NameAndTypeConstant sig)

    super( Const.CONSTANT_METHOD, c, sig );
    
Methods Summary
public MethodInfofind()

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

    FMIrefConstant mc = new MethodConstant( t );
    mc.read( in );
    return mc;