public static class InvokeDynamic.WithImplicitFieldType extends InvokeDynamic.AbstractDelegator
InvokeDynamic.AbstractDelegator, InvokeDynamic.Appender, InvokeDynamic.InvocationProvider, InvokeDynamic.TerminationHandler, InvokeDynamic.WithImplicitArguments, InvokeDynamic.WithImplicitArgumentType, InvokeDynamic.WithImplicitFieldType, InvokeDynamic.WithImplicitTargetImplementation.Composable, Implementation.Compound, Implementation.Context, Implementation.Simple, Implementation.SpecialMethodInvocation, Implementation.Targetassigner, bootstrapMethod, handleArguments, invocationProvider, terminationHandler, typing| Modifier | Constructor and Description | 
|---|---|
| protected  | WithImplicitFieldType(MethodDescription.InDefinedShape bootstrapMethod,
                     List<?> handleArguments,
                     InvokeDynamic.InvocationProvider invocationProvider,
                     InvokeDynamic.TerminationHandler terminationHandler,
                     Assigner assigner,
                     Assigner.Typing typing,
                     Object value)Creates a new invoke dynamic instance with an implicit field type for the provided value. | 
| Modifier and Type | Method and Description | 
|---|---|
| Implementation | andThen(Implementation implementation)Appends the supplied implementation to this implementation. | 
| ByteCodeAppender | appender(Implementation.Target implementationTarget)Creates a byte code appender that determines the implementation of the instrumented type's methods. | 
| InvokeDynamic | as(Type type)Defines the given value to be treated as an instance of the provided type. | 
| InvokeDynamic | as(TypeDefinition typeDefinition)Defines the given value to be treated as an instance of the provided type. | 
| protected InvokeDynamic.InvocationProvider | getInvocationProvider()Returns the invocation provider to be used for equals and hash code calculations. | 
| protected InvokeDynamic | materialize()Resolves the current configuration into a fully initialized invoke dynamic instance. | 
| InstrumentedType | prepare(InstrumentedType instrumentedType)Prepares a given instrumented type. | 
| String | toString() | 
| InvokeDynamic | withAssigner(Assigner assigner,
            Assigner.Typing typing)Instructs this implementation to use the provided assigner and decides if the assigner should apply
 dynamic typing. | 
withArgument, withArgument, withBooleanValue, withByteValue, withCharacterValue, withDoubleValue, withField, withFloatValue, withImplicitAndMethodArguments, withInstance, withInstanceField, withInstanceField, withIntegerValue, withLongValue, withMethodArguments, withNullValue, withNullValue, withReference, withReference, withShortValue, withThis, withThis, withType, withValuebootstrap, bootstrap, bootstrap, bootstrap, bootstrap, bootstrap, equals, hashCode, withEnumerationprotected WithImplicitFieldType(MethodDescription.InDefinedShape bootstrapMethod, List<?> handleArguments, InvokeDynamic.InvocationProvider invocationProvider, InvokeDynamic.TerminationHandler terminationHandler, Assigner assigner, Assigner.Typing typing, Object value)
bootstrapMethod - The bootstrap method.handleArguments - The arguments that are provided to the bootstrap method.invocationProvider - The target provided that identifies the method to be bootstrapped.terminationHandler - A handler that handles the method return.assigner - The assigner to be used.typing - Indicates if dynamic type castings should be attempted for incompatible assignments.value - The value that is supplied as the next argument to the bootstrapped method.public InvokeDynamic as(Type type)
type - The type as which the provided instance should be handed to the bootstrap method.public InvokeDynamic as(TypeDefinition typeDefinition)
typeDefinition - The type as which the provided instance should be handed to the bootstrap method.protected InvokeDynamic materialize()
InvokeDynamic.AbstractDelegatormaterialize in class InvokeDynamic.AbstractDelegatorpublic InvokeDynamic withAssigner(Assigner assigner, Assigner.Typing typing)
InvokeDynamicwithAssigner in class InvokeDynamicassigner - The assigner to use.typing - true if the assigner should attempt dynamic typing.public Implementation andThen(Implementation implementation)
Implementation.ComposableandThen in interface Implementation.ComposableandThen in class InvokeDynamicimplementation - The subsequent implementation.public InstrumentedType prepare(InstrumentedType instrumentedType)
InstrumentedType.Prepareableprepare in interface InstrumentedType.Prepareableprepare in class InvokeDynamicinstrumentedType - The instrumented type in its current form.public ByteCodeAppender appender(Implementation.Target implementationTarget)
Implementationappender in interface Implementationappender in class InvokeDynamicimplementationTarget - The target of the current implementation.InstrumentedType.Prepareable.prepare(InstrumentedType).protected InvokeDynamic.InvocationProvider getInvocationProvider()
InvokeDynamicgetInvocationProvider in class InvokeDynamicpublic String toString()
toString in class InvokeDynamicCopyright © 2014–2016. All rights reserved.