Method or
Constructor.
| Modifier and Type | Class and Description |
|---|---|
| public static class | ExecutableHint.Builder
Builder for |
| Modifier and Type | Field and Description |
|---|---|
| private final ExecutableMode | |
| private final List |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static Consumer | Returns: a consumer to apply the modethe mode to apply mode)Return a |
| public int | compareTo(ExecutableHint
the object to be compared. other)Implements java. |
| public ExecutableMode | |
| public List | |
| pack-priv static ExecutableHint. | Returns: a builderthe parameter types of the constructor parameterTypes)Initialize a builder with the parameter types of a constructor. |
| pack-priv static ExecutableHint. | Returns: a builderthe name of the method name, List<TypeReference> the parameter types of the method parameterTypes)Initialize a builder with the name and parameter types of a method. |
| mode | back to summary |
|---|---|
| private final ExecutableMode mode | |
| parameterTypes | back to summary |
|---|---|
| private final List<TypeReference> parameterTypes | |
| ExecutableHint | back to summary |
|---|---|
| private ExecutableHint(ExecutableHint. | |
| builtWith | back to summary |
|---|---|
| public static Consumer Return a
| |
| compareTo | back to summary |
|---|---|
| public int compareTo(ExecutableHint other) Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |
| getMode | back to summary |
|---|---|
| public ExecutableMode getMode() Return the mode that applies to this hint.
| |
| getParameterTypes | back to summary |
|---|---|
| public List Return the parameter types of the executable.
| |
| ofConstructor | back to summary |
|---|---|
| pack-priv static ExecutableHint. Initialize a builder with the parameter types of a constructor.
| |
| ofMethod | back to summary |
|---|---|
| pack-priv static ExecutableHint. Initialize a builder with the name and parameter types of a method.
| |
ExecutableHint.
| Modifier and Type | Field and Description |
|---|---|
| private ExecutableMode | |
| private final String | |
| private final List |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv ExecutableHint | |
| public ExecutableHint. | Returns: this, to facilitate method chainingthe required mode mode)Specify that the mode is required. |
| mode | back to summary |
|---|---|
| private ExecutableMode mode
| |
| name | back to summary |
|---|---|
| private final String name | |
| parameterTypes | back to summary |
|---|---|
| private final List<TypeReference> parameterTypes | |
| Builder | back to summary |
|---|---|
| pack-priv Builder(String name, List<TypeReference> parameterTypes) | |
| build | back to summary |
|---|---|
| pack-priv ExecutableHint build() Create an
| |
| withMode | back to summary |
|---|---|
| public ExecutableHint. Specify that the mode is required.
| |