T
- type of value this expression returnspublic static interface DialogUtils.NormalExpression<T>
The one that is using this expression is responsible for reading all sources, checking whether the optional values are normal and calling "calculate" method passing the normal values as arguments.
The interface is reflection-oriented, as you cannot express type schema in plain Java. The client should check the interface for a type-consistency statically on runtime and throw exception if something is wrong. All user types are explicitly declared in signature of methods. This allows accurate type checking via reflection (including generics parameters, which are otherwise erased on runtime).
The interface is reflection-based. It only contains annotation that method should have.
Modifier and Type | Interface and Description |
---|---|
static interface |
DialogUtils.NormalExpression.Calculate
An annotation for a "calculate" method of the interface.
|
static interface |
DialogUtils.NormalExpression.DependencyGetter
An annotation for a method that returns expression dependency.
|
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.