Let's assume we have a simple class Names that defines the following methods:
The following sections illustrates method invocation using FEST-Reflect. We will assume that we have the variable names of type Names. We are also going to assume the following static import:
Without parameters and return type 'void'
Invoking the method void clear() in Names:
With parameters and return type 'void'
Invoking the method void add(String) in Names:
Without parameters and return type other than 'void'
Invoking the method int size() in Names:
With parameters and return type other than 'void'
Invoking the method String get(int) in Names:
See Also
Labels