AbstractJavaLinker. In addition to holding a guarded invocation, it holds semantic information about its
guard. All guards produced in the AbstractJavaLinker are either "Class.isInstance()" or "getClass() == clazz"
expressions. This allows choosing the most restrictive guard as the guard for the composition of two components.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv static enum | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final GuardedInvocation | |
| private final GuardedInvocationComponent. |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv | GuardedInvocationComponent(final MethodHandle invocation, final MethodHandle guard, final GuardedInvocationComponent.
|
| pack-priv | GuardedInvocationComponent(final MethodHandle invocation, final MethodHandle guard, final Class<?> validatorClass, final GuardedInvocationComponent.
|
| pack-priv | GuardedInvocationComponent(final GuardedInvocation guardedInvocation, final Class<?> validatorClass, final GuardedInvocationComponent.
|
| private | GuardedInvocationComponent(final MethodHandle invocation, final MethodHandle guard, final GuardedInvocationComponent.
|
| private | GuardedInvocationComponent(final GuardedInvocation guardedInvocation, final GuardedInvocationComponent.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv GuardedInvocationComponent | compose(final MethodHandle compositeInvocation, final MethodHandle otherGuard, final Class<?> otherValidatorClass, final GuardedInvocationComponent.
|
| pack-priv GuardedInvocation | |
| pack-priv GuardedInvocationComponent. | |
| pack-priv Class | |
| pack-priv GuardedInvocationComponent | |
| pack-priv GuardedInvocationComponent |
| guardedInvocation | back to summary |
|---|---|
| private final GuardedInvocation guardedInvocation | |
| validator | back to summary |
|---|---|
| private final GuardedInvocationComponent. | |
| GuardedInvocationComponent | back to summary |
|---|---|
| pack-priv GuardedInvocationComponent(final MethodHandle invocation) | |
| GuardedInvocationComponent | back to summary |
|---|---|
| pack-priv GuardedInvocationComponent(final MethodHandle invocation, final MethodHandle guard, final GuardedInvocationComponent. | |
| GuardedInvocationComponent | back to summary |
|---|---|
| pack-priv GuardedInvocationComponent(final MethodHandle invocation, final MethodHandle guard, final Class<?> validatorClass, final GuardedInvocationComponent. | |
| GuardedInvocationComponent | back to summary |
|---|---|
| pack-priv GuardedInvocationComponent(final GuardedInvocation guardedInvocation, final Class<?> validatorClass, final GuardedInvocationComponent. | |
| GuardedInvocationComponent | back to summary |
|---|---|
| private GuardedInvocationComponent(final MethodHandle invocation, final MethodHandle guard, final GuardedInvocationComponent. | |
| GuardedInvocationComponent | back to summary |
|---|---|
| private GuardedInvocationComponent(final GuardedInvocation guardedInvocation, final GuardedInvocationComponent. | |
| compose | back to summary |
|---|---|
| pack-priv GuardedInvocationComponent compose(final MethodHandle compositeInvocation, final MethodHandle otherGuard, final Class<?> otherValidatorClass, final GuardedInvocationComponent. | |
| getGuardedInvocation | back to summary |
|---|---|
| pack-priv GuardedInvocation getGuardedInvocation() | |
| getValidationType | back to summary |
|---|---|
| pack-priv GuardedInvocationComponent. | |
| getValidatorClass | back to summary |
|---|---|
| pack-priv Class | |
| replaceInvocation | back to summary |
|---|---|
| pack-priv GuardedInvocationComponent replaceInvocation(final MethodHandle newInvocation) | |
| replaceInvocation | back to summary |
|---|---|
| pack-priv GuardedInvocationComponent replaceInvocation(final MethodHandle newInvocation, final MethodHandle newGuard) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final GuardedInvocationComponent. | |
| public static final GuardedInvocationComponent. | |
| public static final GuardedInvocationComponent. | |
| public static final GuardedInvocationComponent. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static GuardedInvocationComponent. | |
| public static GuardedInvocationComponent. |
| EXACT_CLASS | back to summary |
|---|---|
| public static final GuardedInvocationComponent. | |
| INSTANCE_OF | back to summary |
|---|---|
| public static final GuardedInvocationComponent. | |
| IS_ARRAY | back to summary |
|---|---|
| public static final GuardedInvocationComponent. | |
| NONE | back to summary |
|---|---|
| public static final GuardedInvocationComponent. | |
| ValidationType | back to summary |
|---|---|
| private ValidationType() | |
| valueOf | back to summary |
|---|---|
| public static GuardedInvocationComponent. | |
| values | back to summary |
|---|---|
| public static GuardedInvocationComponent. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final GuardedInvocationComponent. | |
| pack-priv final Class |
| Access | Constructor and Description |
|---|---|
| pack-priv | Validator(final Class<?> validatorClass, final GuardedInvocationComponent.
|
| Modifier and Type | Method and Description |
|---|---|
| pack-priv GuardedInvocationComponent. | |
| private boolean | |
| public String |
| validationType | back to summary |
|---|---|
| pack-priv final GuardedInvocationComponent. | |
| validatorClass | back to summary |
|---|---|
| pack-priv final Class<?> validatorClass | |
| Validator | back to summary |
|---|---|
| pack-priv Validator(final Class<?> validatorClass, final GuardedInvocationComponent. | |
| compose | back to summary |
|---|---|
| pack-priv GuardedInvocationComponent. | |
| isAssignableFrom | back to summary |
|---|---|
| private boolean isAssignableFrom(final GuardedInvocationComponent. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non-
| |