| java.lang.Object com.go.tea.parsetree.Node com.go.tea.parsetree.Expression com.go.tea.parsetree.Lookup
Lookup | public class Lookup extends Expression (Code) | | A Lookup can access properties on objects. A Bean Introspector is used to
get the available properties from an object. Arrays, Lists and Strings also
have a built-in property named "length". For arrays, the length field is
retrieved, for Lists, the size() method is called, and for Strings, the
length() method is called.
author: Brian S O'Neill version: 24 , 9/07/00 See Also: java.beans.Introspector |
getReadMethod | public Method getReadMethod()(Code) | | Returns the method to invoke in order to perform the lookup. This is
filled in by the type checker. If the lookup name is "length" and
the expression type is an array, the read method is null. A code
generator must still be able to get the length of the array.
|
isExceptionPossible | public boolean isExceptionPossible()(Code) | | |
|
|