FileDocCategorySizeDatePackage
MethodConstant.javaAPI DocphoneME MR2 API (J2ME)1802Wed May 02 17:59:48 BST 2007components

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;