public static Type getReturnType(Method method) throws NoDataException {
Type type = get().returnTypes.get(method);
if (type == null) {
- throw new NoDataException("There is return type for "
+ throw new NoDataException("There is no return type for "
+ method.getSignature());
}
return type;
public static Invoker getInvoker(Method method) throws NoDataException {
Invoker invoker = get().invokers.get(method);
if (invoker == null) {
- throw new NoDataException("There is invoker for "
+ throw new NoDataException("There is no invoker for "
+ method.getSignature());
}
return invoker;
Invoker invoker = get().invokers
.get(new Method(type, CONSTRUCTOR_NAME));
if (invoker == null) {
- throw new NoDataException("There is constructor for "
+ throw new NoDataException("There is no constructor for "
+ type.getSignature());
}
return invoker;
public static Invoker getGetter(Property property) throws NoDataException {
Invoker getter = get().getters.get(property);
if (getter == null) {
- throw new NoDataException("There is getter for "
+ throw new NoDataException("There is no getter for "
+ property.getSignature());
}