| java.lang.Object org.gjt.sp.jedit.bsh.Variable
Constructor Summary | |
| Variable(String name, Class type, LHS lhs) | | Variable(String name, Object value, Modifiers modifiers) | | Variable(String name, String typeDescriptor, Object value, Modifiers modifiers) This constructor is used in class generation. | | Variable(String name, Class type, Object value, Modifiers modifiers) |
DECLARATIONASSIGNMENT | final static int DECLARATIONASSIGNMENT(Code) | | |
name | String name(Code) | | A null type means an untyped variable
|
getType | public Class getType()(Code) | | A type of null means loosely typed variable
|
setValue | public void setValue(Object value, int context) throws UtilEvalError(Code) | | Set the value of the typed variable.
Parameters: value - should be an object or wrapped bsh Primitive type.if value is null the appropriate default value will be set for thetype: e.g. false for boolean, zero for integer types. |
|
|