Uses of Interface
net.bytebuddy.implementation.LoadedTypeInitializer
-
Packages that use LoadedTypeInitializer Package Description net.bytebuddy.agent.builder An agent builder is used to easily implement load-time class-transformations using a Java agent.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.dynamic.scaffold.inline All classes and types in this package are related to creating aDynamicTypeby enhancing a given type.net.bytebuddy.implementation The implementation package contains any logic for intercepting method calls.net.bytebuddy.utility.visitor A package containing visitor classes for ASM. -
-
Uses of LoadedTypeInitializer in net.bytebuddy.agent.builder
Classes in net.bytebuddy.agent.builder that implement LoadedTypeInitializer Modifier and Type Class Description protected static classAgentBuilder.InitializationStrategy.SelfInjection.Dispatcher.InjectingInitializerA type initializer that injects all auxiliary types of the instrumented type.Fields in net.bytebuddy.agent.builder with type parameters of type LoadedTypeInitializer Modifier and Type Field Description private java.util.Map<TypeDescription,LoadedTypeInitializer>AgentBuilder.InitializationStrategy.SelfInjection.Dispatcher.InjectingInitializer. loadedTypeInitializersThe instrumented types and auxiliary types mapped to their loaded type initializers.Methods in net.bytebuddy.agent.builder that return LoadedTypeInitializer Modifier and Type Method Description LoadedTypeInitializerAgentBuilder.Transformer.ForAdvice.LazyDynamicType. getLoadedTypeInitializer()Returns the loaded type initializer of this dynamic type.Constructor parameters in net.bytebuddy.agent.builder with type arguments of type LoadedTypeInitializer Constructor Description InjectingInitializer(TypeDescription instrumentedType, java.util.Set<TypeDescription> auxiliaryTypes, ClassFileLocator classFileLocator, java.util.Map<TypeDescription,LoadedTypeInitializer> loadedTypeInitializers, ClassInjector classInjector)Creates a new injection initializer. -
Uses of LoadedTypeInitializer in net.bytebuddy.dynamic
Fields in net.bytebuddy.dynamic declared as LoadedTypeInitializer Modifier and Type Field Description protected LoadedTypeInitializerDynamicType.Default. loadedTypeInitializerThe loaded type initializer for this dynamic type.Methods in net.bytebuddy.dynamic that return LoadedTypeInitializer Modifier and Type Method Description LoadedTypeInitializerDynamicType.Default. getLoadedTypeInitializer()Returns the loaded type initializer of this dynamic type.LoadedTypeInitializerDynamicType. getLoadedTypeInitializer()Returns the loaded type initializer of this dynamic type.Methods in net.bytebuddy.dynamic that return types with arguments of type LoadedTypeInitializer Modifier and Type Method Description java.util.Map<TypeDescription,LoadedTypeInitializer>DynamicType.AbstractBase. getLoadedTypeInitializers()Returns a map of all loaded type initializers for the main type and all auxiliary types, if any.java.util.Map<TypeDescription,LoadedTypeInitializer>DynamicType. getLoadedTypeInitializers()Returns a map of all loaded type initializers for the main type and all auxiliary types, if any.Methods in net.bytebuddy.dynamic with parameters of type LoadedTypeInitializer Modifier and Type Method Description DynamicType.Builder<U>DynamicType.Builder.AbstractBase.Adapter. initializer(LoadedTypeInitializer loadedTypeInitializer)Executes the supplied loaded type initializer when loading the created instrumented type.DynamicType.Builder<U>DynamicType.Builder.AbstractBase.Delegator. initializer(LoadedTypeInitializer loadedTypeInitializer)Executes the supplied loaded type initializer when loading the created instrumented type.DynamicType.Builder<T>DynamicType.Builder. initializer(LoadedTypeInitializer loadedTypeInitializer)Executes the supplied loaded type initializer when loading the created instrumented type.voidNexusAccessor.Dispatcher.Available. register(java.lang.String name, java.lang.ClassLoader classLoader, java.lang.ref.ReferenceQueue<? super java.lang.ClassLoader> referenceQueue, int identification, LoadedTypeInitializer loadedTypeInitializer)Registers a type initializer with the system class loader's nexus.voidNexusAccessor.Dispatcher. register(java.lang.String name, java.lang.ClassLoader classLoader, java.lang.ref.ReferenceQueue<? super java.lang.ClassLoader> referenceQueue, int identification, LoadedTypeInitializer loadedTypeInitializer)Registers a type initializer with the system class loader's nexus.voidNexusAccessor.Dispatcher.Unavailable. register(java.lang.String name, java.lang.ClassLoader classLoader, java.lang.ref.ReferenceQueue<? super java.lang.ClassLoader> referenceQueue, int identification, LoadedTypeInitializer loadedTypeInitializer)Registers a type initializer with the system class loader's nexus.voidNexusAccessor. register(java.lang.String name, java.lang.ClassLoader classLoader, int identification, LoadedTypeInitializer loadedTypeInitializer)Registers a loaded type initializer in Byte Buddy'sNexuswhich is injected into the system class loader.DynamicType.Builder<S>DynamicType.Builder.AbstractBase. require(TypeDescription type, byte[] binaryRepresentation, LoadedTypeInitializer typeInitializer)Explicitly requires another dynamic type for the creation of this type.DynamicType.Builder<T>DynamicType.Builder. require(TypeDescription type, byte[] binaryRepresentation, LoadedTypeInitializer typeInitializer)Explicitly requires another dynamic type for the creation of this type.Constructors in net.bytebuddy.dynamic with parameters of type LoadedTypeInitializer Constructor Description Default(TypeDescription typeDescription, byte[] binaryRepresentation, LoadedTypeInitializer loadedTypeInitializer, java.util.List<? extends DynamicType> auxiliaryTypes)Creates a new dynamic type.Loaded(TypeDescription typeDescription, byte[] typeByte, LoadedTypeInitializer loadedTypeInitializer, java.util.List<? extends DynamicType> auxiliaryTypes, java.util.Map<TypeDescription,java.lang.Class<?>> loadedTypes)Creates a new representation of a loaded dynamic type.Unloaded(TypeDescription typeDescription, byte[] binaryRepresentation, LoadedTypeInitializer loadedTypeInitializer, java.util.List<? extends DynamicType> auxiliaryTypes, TypeResolutionStrategy.Resolved typeResolutionStrategy)Creates a new unloaded representation of a dynamic type. -
Uses of LoadedTypeInitializer in net.bytebuddy.dynamic.scaffold
Fields in net.bytebuddy.dynamic.scaffold declared as LoadedTypeInitializer Modifier and Type Field Description private LoadedTypeInitializerInstrumentedType.Default. loadedTypeInitializerThe loaded type initializer of the instrumented type.private LoadedTypeInitializerInstrumentedType.Frozen. loadedTypeInitializerThe type's loaded type initializer.private LoadedTypeInitializerMethodRegistry.Default.Compiled. loadedTypeInitializerThe loaded type initializer of the instrumented type.private LoadedTypeInitializerMethodRegistry.Default.Prepared. loadedTypeInitializerThe loaded type initializer of the instrumented type.protected LoadedTypeInitializerTypeWriter.Default. loadedTypeInitializerThe loaded type initializer to apply onto the created type after loading.Methods in net.bytebuddy.dynamic.scaffold that return LoadedTypeInitializer Modifier and Type Method Description LoadedTypeInitializerInstrumentedType.Default. getLoadedTypeInitializer()Returns theLoadedTypeInitializers that were registered for this instrumented type.LoadedTypeInitializerInstrumentedType.Frozen. getLoadedTypeInitializer()Returns theLoadedTypeInitializers that were registered for this instrumented type.LoadedTypeInitializerInstrumentedType. getLoadedTypeInitializer()Returns theLoadedTypeInitializers that were registered for this instrumented type.LoadedTypeInitializerMethodRegistry.Compiled. getLoadedTypeInitializer()Returns the loaded type initializer of the instrumented type.LoadedTypeInitializerMethodRegistry.Default.Compiled. getLoadedTypeInitializer()Returns the loaded type initializer of the instrumented type.LoadedTypeInitializerMethodRegistry.Default.Prepared. getLoadedTypeInitializer()Returns the loaded type initializer of the instrumented type.LoadedTypeInitializerMethodRegistry.Prepared. getLoadedTypeInitializer()Returns the loaded type initializer of the instrumented type.LoadedTypeInitializerTypeWriter.Default.ForCreation.ImplementationContextClassVisitor. getLoadedTypeInitializer()LoadedTypeInitializerTypeWriter.Default.ForInlining.RegistryContextClassVisitor. getLoadedTypeInitializer()Methods in net.bytebuddy.dynamic.scaffold with parameters of type LoadedTypeInitializer Modifier and Type Method Description InstrumentedType.WithFlexibleNameInstrumentedType.Default. withInitializer(LoadedTypeInitializer loadedTypeInitializer)Creates a new instrumented type that includes the givenLoadedTypeInitializer.InstrumentedType.WithFlexibleNameInstrumentedType.Frozen. withInitializer(LoadedTypeInitializer loadedTypeInitializer)Creates a new instrumented type that includes the givenLoadedTypeInitializer.InstrumentedType.WithFlexibleNameInstrumentedType.WithFlexibleName. withInitializer(LoadedTypeInitializer loadedTypeInitializer)Creates a new instrumented type that includes the givenLoadedTypeInitializer.InstrumentedTypeInstrumentedType. withInitializer(LoadedTypeInitializer loadedTypeInitializer)Creates a new instrumented type that includes the givenLoadedTypeInitializer.Constructors in net.bytebuddy.dynamic.scaffold with parameters of type LoadedTypeInitializer 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, ModuleDescription moduleDescription, java.util.List<? extends TypeVariableToken> typeVariables, TypeDescription.Generic superClass, java.util.List<? extends TypeDescription.Generic> interfaceTypes, java.util.List<? extends FieldDescription.Token> fieldTokens, java.util.Map<java.lang.String,java.lang.Object> auxiliaryFieldValues, java.util.List<? extends MethodDescription.Token> methodTokens, java.util.List<? extends RecordComponentDescription.Token> recordComponentTokens, java.util.List<? extends AnnotationDescription> annotationDescriptions, TypeInitializer typeInitializer, LoadedTypeInitializer loadedTypeInitializer, TypeDescription declaringType, MethodDescription.InDefinedShape enclosingMethod, TypeDescription enclosingType, java.util.List<? extends TypeDescription> declaredTypes, java.util.List<? extends TypeDescription> permittedSubclasses, boolean anonymousClass, boolean localClass, boolean record, TypeDescription nestHost, java.util.List<? extends TypeDescription> nestMembers)Creates a new instrumented type.Default(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, TypeWriter.RecordComponentPool recordComponentPool, java.util.List<? extends DynamicType> auxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, RecordComponentList<RecordComponentDescription.InDefinedShape> recordComponents, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, TypePool typePool)Creates a new default type writer.ForCreation(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, TypeWriter.MethodPool methodPool, TypeWriter.RecordComponentPool recordComponentPool, java.util.List<? extends DynamicType> auxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, RecordComponentList<RecordComponentDescription.InDefinedShape> recordComponents, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, 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, TypeWriter.RecordComponentPool recordComponentPool, java.util.List<? extends DynamicType> auxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, RecordComponentList<RecordComponentDescription.InDefinedShape> recordComponents, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, TypePool typePool, TypeDescription originalType, ClassFileLocator classFileLocator)Creates a new inlining type writer.Frozen(TypeDescription typeDescription, LoadedTypeInitializer loadedTypeInitializer)Creates a new frozen representation of an instrumented type.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.WithFullProcessing(TypeDescription instrumentedType, ClassFileVersion classFileVersion, TypeWriter.FieldPool fieldPool, TypeWriter.RecordComponentPool recordComponentPool, java.util.List<? extends DynamicType> auxiliaryTypes, FieldList<FieldDescription.InDefinedShape> fields, MethodList<?> methods, MethodList<?> instrumentedMethods, RecordComponentList<RecordComponentDescription.InDefinedShape> recordComponents, LoadedTypeInitializer loadedTypeInitializer, TypeInitializer typeInitializer, TypeAttributeAppender typeAttributeAppender, AsmVisitorWrapper asmVisitorWrapper, AnnotationValueFilter.Factory annotationValueFilterFactory, AnnotationRetention annotationRetention, AuxiliaryType.NamingStrategy auxiliaryTypeNamingStrategy, Implementation.Context.Factory implementationContextFactory, TypeValidation typeValidation, AsmClassReader.Factory classReaderFactory, AsmClassWriter.Factory classWriterFactory, TypePool typePool, TypeDescription originalType, ClassFileLocator classFileLocator, MethodRegistry.Prepared methodRegistry, Implementation.Target.Factory implementationTargetFactory, MethodRebaseResolver methodRebaseResolver)Creates a new inlining type writer that fully reprocesses a type. -
Uses of LoadedTypeInitializer in net.bytebuddy.dynamic.scaffold.inline
Methods in net.bytebuddy.dynamic.scaffold.inline with parameters of type LoadedTypeInitializer Modifier and Type Method Description DynamicType.Builder<T>DecoratingDynamicTypeBuilder. initializer(LoadedTypeInitializer loadedTypeInitializer)Executes the supplied loaded type initializer when loading the created instrumented type. -
Uses of LoadedTypeInitializer in net.bytebuddy.implementation
Classes in net.bytebuddy.implementation that implement LoadedTypeInitializer Modifier and Type Class Description static classLoadedTypeInitializer.CompoundA compound loaded type initializer that combines several type initializers.static classLoadedTypeInitializer.ForStaticFieldA type initializer for setting a value for a static field.static classLoadedTypeInitializer.NoOpA loaded type initializer that does not do anything.Fields in net.bytebuddy.implementation with type parameters of type LoadedTypeInitializer Modifier and Type Field Description private java.util.List<LoadedTypeInitializer>LoadedTypeInitializer.Compound. loadedTypeInitializersThe loaded type initializers that are represented by this compound type initializer.Constructors in net.bytebuddy.implementation with parameters of type LoadedTypeInitializer Constructor Description Compound(LoadedTypeInitializer... loadedTypeInitializer)Creates a new compound loaded type initializer.Constructor parameters in net.bytebuddy.implementation with type arguments of type LoadedTypeInitializer Constructor Description Compound(java.util.List<? extends LoadedTypeInitializer> loadedTypeInitializers)Creates a new compound loaded type initializer. -
Uses of LoadedTypeInitializer in net.bytebuddy.utility.visitor
Methods in net.bytebuddy.utility.visitor that return LoadedTypeInitializer Modifier and Type Method Description abstract LoadedTypeInitializerContextClassVisitor. getLoadedTypeInitializer()Returns the loaded type initializer that this class visitor currently implies.
-