| Modifier and Type | Class and Description |
|---|---|
| pack-priv abstract static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final ApplicableOverloadedMethods. | APPLICABLE_BY_METHOD_INVOCATION_CONVERSION
Implements the applicability-by-method-invocation-conversion test from JLS 15.12.2.3. |
| pack-priv static final ApplicableOverloadedMethods. | APPLICABLE_BY_SUBTYPING
Implements the applicability-by-subtyping test from JLS 15.12.2.2. |
| pack-priv static final ApplicableOverloadedMethods. | APPLICABLE_BY_VARIABLE_ARITY
Implements the applicability-by-variable-arity test from JLS 15.12.2.4. |
| private final List | |
| private final boolean |
| Access | Constructor and Description |
|---|---|
| pack-priv | ApplicableOverloadedMethods(final List<SingleDynamicMethod>
a list of all overloaded methods with the same name for a class. methods, final MethodType the type of the call site callSiteType, final ApplicableOverloadedMethods.applicability test. One of testAPPLICABLE_BY_SUBTYPING,
APPLICABLE_BY_METHOD_INVOCATION_CONVERSION, or APPLICABLE_BY_VARIABLE_ARITY.Creates a new ApplicableOverloadedMethods instance |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv List | Returns: a list of maximally specific methods.Returns a list of all methods in this objects that are maximally specific. |
| pack-priv List |
| APPLICABLE_BY_METHOD_INVOCATION_CONVERSION | back to summary |
|---|---|
| pack-priv static final ApplicableOverloadedMethods. Implements the applicability-by-method-invocation-conversion test from JLS 15.12.2.3. | |
| APPLICABLE_BY_SUBTYPING | back to summary |
|---|---|
| pack-priv static final ApplicableOverloadedMethods. Implements the applicability-by-subtyping test from JLS 15.12.2.2. | |
| APPLICABLE_BY_VARIABLE_ARITY | back to summary |
|---|---|
| pack-priv static final ApplicableOverloadedMethods. Implements the applicability-by-variable-arity test from JLS 15.12.2.4. | |
| methods | back to summary |
|---|---|
| private final List<SingleDynamicMethod> methods | |
| varArgs | back to summary |
|---|---|
| private final boolean varArgs | |
| ApplicableOverloadedMethods | back to summary |
|---|---|
| pack-priv ApplicableOverloadedMethods(final List<SingleDynamicMethod> methods, final MethodType callSiteType, final ApplicableOverloadedMethods. Creates a new ApplicableOverloadedMethods instance
| |
| findMaximallySpecificMethods | back to summary |
|---|---|
| pack-priv List Returns a list of all methods in this objects that are maximally specific.
| |
| getMethods | back to summary |
|---|---|
| pack-priv List Retrieves all the methods this object holds.
| |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract boolean |
| ApplicabilityTest | back to summary |
|---|---|
| pack-priv ApplicabilityTest() | |
| isApplicable | back to summary |
|---|---|
| pack-priv abstract boolean isApplicable(MethodType callSiteType, SingleDynamicMethod method) | |