Uses of Interface
net.bytebuddy.dynamic.scaffold.TypeInitializer
-
Packages that use TypeInitializer Package Description net.bytebuddy.dynamic This package contains classes and interfaces that are connected to writing the byte stream that represents a Java type that is dynamically created and for loading this type into a running JVM process.net.bytebuddy.dynamic.scaffold This package contains helper types and implementations that are responsible for the actual writing of a byte array representing a Java class.net.bytebuddy.implementation The implementation package contains any logic for intercepting method calls. -
-
Uses of TypeInitializer in net.bytebuddy.dynamic
Methods in net.bytebuddy.dynamic that return TypeInitializer Modifier and Type Method Description TypeInitializerTypeResolutionStrategy.Active.Resolved. injectedInto(TypeInitializer typeInitializer)TypeInitializerTypeResolutionStrategy.Disabled. injectedInto(TypeInitializer typeInitializer)TypeInitializerTypeResolutionStrategy.Lazy. injectedInto(TypeInitializer typeInitializer)TypeInitializerTypeResolutionStrategy.Passive. injectedInto(TypeInitializer typeInitializer)TypeInitializerTypeResolutionStrategy.Resolved. injectedInto(TypeInitializer typeInitializer)Injects a type initializer into the supplied type initializer, if applicable.Methods in net.bytebuddy.dynamic with parameters of type TypeInitializer Modifier and Type Method Description TypeInitializerTypeResolutionStrategy.Active.Resolved. injectedInto(TypeInitializer typeInitializer)TypeInitializerTypeResolutionStrategy.Disabled. injectedInto(TypeInitializer typeInitializer)TypeInitializerTypeResolutionStrategy.Lazy. injectedInto(TypeInitializer typeInitializer)TypeInitializerTypeResolutionStrategy.Passive. injectedInto(TypeInitializer typeInitializer)TypeInitializerTypeResolutionStrategy.Resolved. injectedInto(TypeInitializer typeInitializer)Injects a type initializer into the supplied type initializer, if applicable. -
Uses of TypeInitializer in net.bytebuddy.dynamic.scaffold
Classes in net.bytebuddy.dynamic.scaffold that implement TypeInitializer Modifier and Type Class Description static classTypeInitializer.NoneCanonical implementation of a non-defined type initializer.static classTypeInitializer.SimpleA simple, defined type initializer that executes a givenByteCodeAppender.Fields in net.bytebuddy.dynamic.scaffold declared as TypeInitializer Modifier and Type Field Description protected TypeInitializerTypeWriter.Default. typeInitializerThe type initializer to include in the created type's type initializer.Methods in net.bytebuddy.dynamic.scaffold that return TypeInitializer Modifier and Type Method Description TypeInitializerTypeInitializer. expandWith(ByteCodeAppender byteCodeAppender)Expands this type initializer with another byte code appender.TypeInitializerTypeInitializer.None. expandWith(ByteCodeAppender byteCodeAppenderFactory)TypeInitializerTypeInitializer.Simple. expandWith(ByteCodeAppender byteCodeAppender)TypeInitializerInstrumentedType.Default. getTypeInitializer()TypeInitializerInstrumentedType.Frozen. getTypeInitializer()TypeInitializerInstrumentedType. getTypeInitializer()Returns this instrumented type's type initializer.TypeInitializerMethodRegistry.Compiled. getTypeInitializer()The type initializer of the instrumented type.TypeInitializerMethodRegistry.Default.Compiled. getTypeInitializer()TypeInitializerMethodRegistry.Default.Prepared. getTypeInitializer()TypeInitializerMethodRegistry.Prepared. getTypeInitializer()The type initializer of the instrumented type.Methods in net.bytebuddy.dynamic.scaffold with parameters of type TypeInitializer Modifier and Type Method Description voidTypeInitializer.Drain. apply(org.objectweb.asm.ClassVisitor classVisitor, TypeInitializer typeInitializer, Implementation.Context implementationContext)Applies the drain.voidTypeInitializer.Drain.Default. apply(org.objectweb.asm.ClassVisitor classVisitor, TypeInitializer typeInitializer, Implementation.Context implementationContext)voidTypeWriter.Default.ForInlining.InitializationHandler.Appending. apply(org.objectweb.asm.ClassVisitor classVisitor, TypeInitializer typeInitializer, Implementation.Context implementationContext)protected abstract TypeWriter.Default.UnresolvedTypeTypeWriter.Default. create(TypeInitializer typeInitializer)Creates an unresolved version of the dynamic type.protected TypeWriter.Default.UnresolvedTypeTypeWriter.Default.ForCreation. create(TypeInitializer typeInitializer)protected TypeWriter.Default.UnresolvedTypeTypeWriter.Default.ForInlining. create(TypeInitializer typeInitializer)Constructors in net.bytebuddy.dynamic.scaffold with parameters of type TypeInitializer Constructor Description Compiled(TypeDescription instrumentedType, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, MethodList<?> methods, java.util.LinkedHashMap<MethodDescription,MethodRegistry.Default.Compiled.Entry> implementations, boolean supportsBridges)Creates a new compiled version of a default method registry.Default(java.lang.String name, int modifiers, TypeDescription.Generic superClass, java.util.List<? extends TypeVariableToken> typeVariables, java.util.List<? extends TypeDescription.Generic> interfaceTypes, java.util.List<? extends FieldDescription.Token> fieldTokens, java.util.List<? extends MethodDescription.Token> methodTokens, java.util.List<? extends AnnotationDescription> annotationDescriptions, TypeInitializer typeInitializer, LoadedTypeInitializer loadedTypeInitializer, TypeDescription declaringType, MethodDescription enclosingMethod, TypeDescription enclosingType, java.util.List<? extends TypeDescription> declaredTypes, boolean memberClass, boolean anonymousClass, boolean localClass)Creates a new instrumented type.Default(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, java.util.List<? extends DynamicType> auxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, TypePool typePool)Creates a new default type writer.ForCreation(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, TypeWriter.MethodPool methodPool, java.util.List<? extends DynamicType> auxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, TypePool typePool)Creates a new default type writer for creating a new type that is not based on an existing class file.ForInlining(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, MethodRegistry.Prepared methodRegistry, Implementation.Target.Factory implementationTargetFactory, java.util.List<DynamicType> explicitAuxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, TypePool typePool, TypeDescription originalType, ClassFileLocator classFileLocator, MethodRebaseResolver methodRebaseResolver)Creates a new default type writer for creating a new type that is not based on an existing class file.Prepared(java.util.LinkedHashMap<MethodDescription,MethodRegistry.Default.Prepared.Entry> implementations, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeDescription instrumentedType, MethodGraph.Linked methodGraph, MethodList<?> methods)Creates a prepared version of a default method registry.RedefinitionClassVisitor(org.objectweb.asm.ClassVisitor classVisitor, TypeInitializer typeInitializer, TypeWriter.Default.ForInlining.ContextRegistry contextRegistry, int writerFlags, int readerFlags)Creates a class visitor which is capable of redefining an existent class on the fly. -
Uses of TypeInitializer in net.bytebuddy.implementation
Methods in net.bytebuddy.implementation with parameters of type TypeInitializer Modifier and Type Method Description Implementation.Context.ExtractableViewImplementation.Context.Default.Factory. make(TypeDescription instrumentedType, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion classFileVersion, ClassFileVersion auxiliaryClassFileVersion)Implementation.Context.ExtractableViewImplementation.Context.Disabled.Factory. make(TypeDescription instrumentedType, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion classFileVersion, ClassFileVersion auxiliaryClassFileVersion)Implementation.Context.ExtractableViewImplementation.Context.Factory. make(TypeDescription instrumentedType, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion classFileVersion, ClassFileVersion auxiliaryClassFileVersion)Creates a new implementation context.Constructors in net.bytebuddy.implementation with parameters of type TypeInitializer Constructor Description Default(TypeDescription instrumentedType, ClassFileVersion classFileVersion, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, TypeInitializer typeInitializer, ClassFileVersion auxiliaryClassFileVersion)Creates a new default implementation context.
-