-
Notifications
You must be signed in to change notification settings - Fork 565
/
Callable.java
40 lines (26 loc) · 1.05 KB
/
Callable.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.validator.internal.properties;
import java.lang.reflect.Type;
import org.hibernate.validator.internal.util.ExecutableHelper;
import org.hibernate.validator.internal.util.ExecutableParameterNameProvider;
/**
* @author Marko Bekhta
* @author Guillaume Smet
*/
public interface Callable extends Constrainable {
boolean hasReturnValue();
boolean hasParameters();
int getParameterCount();
Type getParameterGenericType(int index);
Class<?>[] getParameterTypes();
String getParameterName(ExecutableParameterNameProvider parameterNameProvider, int parameterIndex);
boolean isPrivate();
Signature getSignature();
boolean overrides(ExecutableHelper executableHelper, Callable superTypeMethod);
boolean isResolvedToSameMethodInHierarchy(ExecutableHelper executableHelper, Class<?> mainSubType, Callable superTypeMethod);
}