Uses of Class
net.bytebuddy.utility.JavaModule
Packages that use JavaModule
Package
Description
An agent builder is used to easily implement load-time class-transformations using a Java agent.
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.
This package contains classes that are responsible for class loading of classes that are represented by
byte arrays.Contains an API for matching Java byte code entities.
This package contains utility classes for common use within any Byte Buddy logic.
-
Uses of JavaModule in net.bytebuddy.agent.builder
Fields in net.bytebuddy.agent.builder declared as JavaModuleModifier and TypeFieldDescriptionprivate final JavaModuleAgentBuilder.Default.Transformation.TransformerIterator.moduleThe type's module.Fields in net.bytebuddy.agent.builder with type parameters of type JavaModuleModifier and TypeFieldDescriptionprivate final ElementMatcher<? super JavaModule> AgentBuilder.RawMatcher.ForElementMatchers.moduleMatcherA module matcher to apply to ajava.lang.Module.private final ElementMatcher<? super JavaModule> AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.ForElementMatchers.moduleMatcherThe matcher to use for the instrumented type's module.private final ElementMatcher<? super JavaModule> AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.ForElementMatchers.moduleMatcherThe matcher to use for the instrumented type's module.private final Set<? extends JavaModule> AgentBuilder.Listener.ModuleReadEdgeCompleting.modulesThe modules to add as a read edge to any transformed class's module.Methods in net.bytebuddy.agent.builder with parameters of type JavaModuleModifier and TypeMethodDescriptionAgentBuilder.DescriptionStrategy.apply(String name, Class<?> type, TypePool typePool, AgentBuilder.CircularityLock circularityLock, ClassLoader classLoader, JavaModule module) Describes the given type.AgentBuilder.DescriptionStrategy.SuperTypeLoading.apply(String name, Class<?> type, TypePool typePool, AgentBuilder.CircularityLock circularityLock, ClassLoader classLoader, JavaModule module) Describes the given type.AgentBuilder.DescriptionStrategy.SuperTypeLoading.Asynchronous.apply(String name, Class<?> type, TypePool typePool, AgentBuilder.CircularityLock circularityLock, ClassLoader classLoader, JavaModule module) Describes the given type.AgentBuilder.assureReadEdgeFromAndTo(Instrumentation instrumentation, JavaModule... module) Assures that all supplied modules are read by the module of any instrumented type and vice versa.AgentBuilder.Default.assureReadEdgeFromAndTo(Instrumentation instrumentation, JavaModule... module) Assures that all supplied modules are read by the module of any instrumented type and vice versa.AgentBuilder.Default.Delegator.assureReadEdgeFromAndTo(Instrumentation instrumentation, JavaModule... module) Assures that all supplied modules are read by the module of any instrumented type and vice versa.AgentBuilder.assureReadEdgeTo(Instrumentation instrumentation, JavaModule... module) Assures that all supplied modules are read by the module of any instrumented type.AgentBuilder.Default.assureReadEdgeTo(Instrumentation instrumentation, JavaModule... module) Assures that all supplied modules are read by the module of any instrumented type.AgentBuilder.Default.Delegator.assureReadEdgeTo(Instrumentation instrumentation, JavaModule... module) Assures that all supplied modules are read by the module of any instrumented type.AgentBuilder.TypeStrategy.builder(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer, ClassLoader classLoader, JavaModule module, ProtectionDomain protectionDomain) Creates a type builder for a given type.AgentBuilder.TypeStrategy.ForBuildEntryPoint.builder(TypeDescription typeDescription, ByteBuddy byteBuddy, ClassFileLocator classFileLocator, MethodNameTransformer methodNameTransformer, ClassLoader classLoader, JavaModule module, ProtectionDomain protectionDomain) Creates a type builder for a given type.AgentBuilder.LocationStrategy.classFileLocator(ClassLoader classLoader, JavaModule module) Creates a class file locator for a given class loader and module combination.AgentBuilder.LocationStrategy.Compound.classFileLocator(ClassLoader classLoader, JavaModule module) Creates a class file locator for a given class loader and module combination.AgentBuilder.LocationStrategy.NoOp.classFileLocator(ClassLoader classLoader, JavaModule module) Creates a class file locator for a given class loader and module combination.AgentBuilder.LocationStrategy.Simple.classFileLocator(ClassLoader classLoader, JavaModule module) Creates a class file locator for a given class loader and module combination.private voidAgentBuilder.RedefinitionStrategy.Collector.doConsider(AgentBuilder.RawMatcher matcher, AgentBuilder.Listener listener, TypeDescription typeDescription, Class<?> type, Class<?> classBeingRedefined, JavaModule module, boolean modifiable) Does consider the retransformation or redefinition of a loaded type.private byte[]AgentBuilder.Default.ExecutingTransformer.doTransform(JavaModule module, ClassLoader classLoader, String name, Class<?> classBeingRedefined, boolean loaded, ProtectionDomain protectionDomain, TypePool typePool, ClassFileLocator classFileLocator) Applies a transformation for a class that was captured by thisClassFileTransformer.booleanAgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.Disabled.isEnforced(String typeName, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined) Returnstrueif a class should be scheduled for resubmission.booleanAgentBuilder.RedefinitionStrategy.ResubmissionEnforcer.isEnforced(String typeName, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined) Returnstrueif a class should be scheduled for resubmission.booleanAgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.Resubmitter.isEnforced(String typeName, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined) Returnstrueif a class should be scheduled for resubmission.AgentBuilder.Default.ExecutingTransformer.iterator(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Creates an iterator over the transformers that are applied for a given type.ResettableClassFileTransformer.iterator(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Creates an iterator over the transformers that are applied for a given type.ResettableClassFileTransformer.WithDelegation.iterator(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Creates an iterator over the transformers that are applied for a given type.booleanAgentBuilder.Default.Transformation.DifferentialMatcher.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.Default.Transformation.SimpleMatcher.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.RawMatcher.Conjunction.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.RawMatcher.Disjunction.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.RawMatcher.ForElementMatchers.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.RawMatcher.ForLoadState.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.RawMatcher.ForResolvableTypes.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.RawMatcher.Inversion.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.RawMatcher.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.RawMatcher.Trivial.matches(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain) Decides if the giventypeDescriptionshould be instrumented with the entailedAgentBuilder.Transformers.booleanAgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Conjunction.matches(String typeName, ClassLoader classLoader, JavaModule module) Returnstrueif a type should be resubmitted if it is not yet loaded.booleanAgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Disjunction.matches(String typeName, ClassLoader classLoader, JavaModule module) Returnstrueif a type should be resubmitted if it is not yet loaded.booleanAgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.ForElementMatchers.matches(String typeName, ClassLoader classLoader, JavaModule module) Returnstrueif a type should be resubmitted if it is not yet loaded.booleanAgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.matches(String typeName, ClassLoader classLoader, JavaModule module) Returnstrueif a type should be resubmitted if it is not yet loaded.booleanAgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Trivial.matches(String typeName, ClassLoader classLoader, JavaModule module) Returnstrueif a type should be resubmitted if it is not yet loaded.booleanAgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Conjunction.matches(Throwable throwable, String typeName, ClassLoader classLoader, JavaModule module) Returnstrueif a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation.booleanAgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Disjunction.matches(Throwable throwable, String typeName, ClassLoader classLoader, JavaModule module) Returnstrueif a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation.booleanAgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.ForElementMatchers.matches(Throwable throwable, String typeName, ClassLoader classLoader, JavaModule module) Returnstrueif a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation.booleanAgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.matches(Throwable throwable, String typeName, ClassLoader classLoader, JavaModule module) Returnstrueif a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation.booleanAgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Trivial.matches(Throwable throwable, String typeName, ClassLoader classLoader, JavaModule module) Returnstrueif a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation.voidAgentBuilder.Listener.Adapter.onComplete(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked after a class was attempted to be loaded, independently of its treatment.voidAgentBuilder.Listener.Compound.onComplete(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked after a class was attempted to be loaded, independently of its treatment.voidAgentBuilder.Listener.Filtering.onComplete(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked after a class was attempted to be loaded, independently of its treatment.voidAgentBuilder.Listener.NoOp.onComplete(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked after a class was attempted to be loaded, independently of its treatment.voidAgentBuilder.Listener.onComplete(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked after a class was attempted to be loaded, independently of its treatment.voidAgentBuilder.Listener.StreamWriting.onComplete(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked after a class was attempted to be loaded, independently of its treatment.voidAgentBuilder.Listener.Adapter.onDiscovery(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked upon a type being supplied to a transformer.voidAgentBuilder.Listener.Compound.onDiscovery(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked upon a type being supplied to a transformer.voidAgentBuilder.Listener.Filtering.onDiscovery(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked upon a type being supplied to a transformer.voidAgentBuilder.Listener.NoOp.onDiscovery(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked upon a type being supplied to a transformer.voidAgentBuilder.Listener.onDiscovery(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked upon a type being supplied to a transformer.voidAgentBuilder.Listener.StreamWriting.onDiscovery(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked upon a type being supplied to a transformer.voidAgentBuilder.Listener.Adapter.onError(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded, Throwable throwable) Invoked when an error has occurred during transformation.voidAgentBuilder.Listener.Compound.onError(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded, Throwable throwable) Invoked when an error has occurred during transformation.voidAgentBuilder.Listener.Filtering.onError(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded, Throwable throwable) Invoked when an error has occurred during transformation.voidAgentBuilder.Listener.NoOp.onError(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded, Throwable throwable) Invoked when an error has occurred during transformation.voidAgentBuilder.Listener.onError(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded, Throwable throwable) Invoked when an error has occurred during transformation.voidAgentBuilder.Listener.StreamWriting.onError(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded, Throwable throwable) Invoked when an error has occurred during transformation.voidAgentBuilder.Listener.WithErrorsOnly.onError(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded, Throwable throwable) voidAgentBuilder.Listener.WithTransformationsOnly.onError(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded, Throwable throwable) voidAgentBuilder.RedefinitionStrategy.ResubmissionStrategy.Enabled.Resubmitter.onError(String typeName, ClassLoader classLoader, JavaModule module, boolean loaded, Throwable throwable) Invoked when an error has occurred during transformation.voidAgentBuilder.Listener.Adapter.onIgnored(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked when a type is not transformed but ignored.voidAgentBuilder.Listener.Compound.onIgnored(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked when a type is not transformed but ignored.voidAgentBuilder.Listener.Filtering.onIgnored(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked when a type is not transformed but ignored.voidAgentBuilder.Listener.NoOp.onIgnored(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked when a type is not transformed but ignored.voidAgentBuilder.Listener.onIgnored(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked when a type is not transformed but ignored.voidAgentBuilder.Listener.StreamWriting.onIgnored(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded) Invoked when a type is not transformed but ignored.voidAgentBuilder.Listener.Adapter.onTransformation(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) Invoked prior to a successful transformation being applied.voidAgentBuilder.Listener.Compound.onTransformation(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) Invoked prior to a successful transformation being applied.voidAgentBuilder.Listener.Filtering.onTransformation(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) Invoked prior to a successful transformation being applied.voidAgentBuilder.Listener.ModuleReadEdgeCompleting.onTransformation(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) voidAgentBuilder.Listener.NoOp.onTransformation(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) Invoked prior to a successful transformation being applied.voidAgentBuilder.Listener.onTransformation(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) Invoked prior to a successful transformation being applied.voidAgentBuilder.Listener.StreamWriting.onTransformation(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) Invoked prior to a successful transformation being applied.voidAgentBuilder.Listener.WithTransformationsOnly.onTransformation(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, boolean loaded, DynamicType dynamicType) AgentBuilder.ClassFileBufferStrategy.resolve(String name, byte[] binaryRepresentation, ClassLoader classLoader, JavaModule module, ProtectionDomain protectionDomain) Resolves a class file locator for the class file buffer that is provided to the class file transformer.private byte[]AgentBuilder.Default.ExecutingTransformer.transform(JavaModule module, ClassLoader classLoader, String internalTypeName, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, byte[] binaryRepresentation) Applies a transformation for a class that was captured by thisClassFileTransformer.AgentBuilder.Transformer.ForAdvice.transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, ProtectionDomain protectionDomain) Allows for a transformation of aDynamicType.Builder.AgentBuilder.Transformer.ForBuildPlugin.transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, ProtectionDomain protectionDomain) Allows for a transformation of aDynamicType.Builder.AgentBuilder.Transformer.transform(DynamicType.Builder<?> builder, TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, ProtectionDomain protectionDomain) Allows for a transformation of aDynamicType.Builder.AgentBuilder.Transformer.ForAdvice.wrap(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, ProtectionDomain protectionDomain, Advice advice) Allows for decoration of advice for subclass implementations of this transformer.Method parameters in net.bytebuddy.agent.builder with type arguments of type JavaModuleModifier and TypeMethodDescriptionAgentBuilder.assureReadEdgeFromAndTo(Instrumentation instrumentation, Collection<? extends JavaModule> modules) Assures that all supplied modules are read by the module of any instrumented type and vice versa.AgentBuilder.Default.assureReadEdgeFromAndTo(Instrumentation instrumentation, Collection<? extends JavaModule> modules) Assures that all supplied modules are read by the module of any instrumented type and vice versa.AgentBuilder.Default.Delegator.assureReadEdgeFromAndTo(Instrumentation instrumentation, Collection<? extends JavaModule> modules) Assures that all supplied modules are read by the module of any instrumented type and vice versa.AgentBuilder.assureReadEdgeTo(Instrumentation instrumentation, Collection<? extends JavaModule> modules) Assures that all supplied modules are read by the module of any instrumented type.AgentBuilder.Default.assureReadEdgeTo(Instrumentation instrumentation, Collection<? extends JavaModule> modules) Assures that all supplied modules are read by the module of any instrumented type.AgentBuilder.Default.Delegator.assureReadEdgeTo(Instrumentation instrumentation, Collection<? extends JavaModule> modules) Assures that all supplied modules are read by the module of any instrumented type.Constructors in net.bytebuddy.agent.builder with parameters of type JavaModuleModifierConstructorDescriptionprotectedTransformerIterator(TypeDescription typeDescription, ClassLoader classLoader, JavaModule module, Class<?> classBeingRedefined, ProtectionDomain protectionDomain, List<AgentBuilder.Default.Transformation> transformations) Creates a new iterator.Constructor parameters in net.bytebuddy.agent.builder with type arguments of type JavaModuleModifierConstructorDescriptionModuleReadEdgeCompleting(Instrumentation instrumentation, boolean addTargetEdge, Set<? extends JavaModule> modules) Creates a new module read-edge completing listener. -
Uses of JavaModule in net.bytebuddy.dynamic
Fields in net.bytebuddy.dynamic declared as JavaModuleModifier and TypeFieldDescriptionprivate final JavaModuleClassFileLocator.ForModule.moduleThe represented Java module.Methods in net.bytebuddy.dynamic with parameters of type JavaModuleModifier and TypeMethodDescriptionprotected static ClassFileLocator.ResolutionClassFileLocator.ForModule.locate(JavaModule module, String typeName) Creates a resolution for a Java module's class files.static ClassFileLocatorClassFileLocator.ForModule.of(JavaModule module) Returns a class file locator for the provided module.static ClassFileLocatorClassFileLocator.ForModule.WeaklyReferenced.of(JavaModule module) Creates a class file locator for a Java module where the module is referenced weakly.Constructors in net.bytebuddy.dynamic with parameters of type JavaModuleModifierConstructorDescriptionprotectedForModule(JavaModule module) Creates a new class file locator for a Java module. -
Uses of JavaModule in net.bytebuddy.dynamic.loading
Methods in net.bytebuddy.dynamic.loading with parameters of type JavaModuleModifier and TypeMethodDescriptionstatic voidClassInjector.UsingInstrumentation.redefineModule(Instrumentation instrumentation, JavaModule target, Set<JavaModule> reads, Map<String, Set<JavaModule>> exports, Map<String, Set<JavaModule>> opens, Set<Class<?>> uses, Map<Class<?>, List<Class<?>>> provides) Modifies a module's properties usingInstrumentation.Method parameters in net.bytebuddy.dynamic.loading with type arguments of type JavaModuleModifier and TypeMethodDescriptionstatic voidClassInjector.UsingInstrumentation.redefineModule(Instrumentation instrumentation, JavaModule target, Set<JavaModule> reads, Map<String, Set<JavaModule>> exports, Map<String, Set<JavaModule>> opens, Set<Class<?>> uses, Map<Class<?>, List<Class<?>>> provides) Modifies a module's properties usingInstrumentation.static voidClassInjector.UsingInstrumentation.redefineModule(Instrumentation instrumentation, JavaModule target, Set<JavaModule> reads, Map<String, Set<JavaModule>> exports, Map<String, Set<JavaModule>> opens, Set<Class<?>> uses, Map<Class<?>, List<Class<?>>> provides) Modifies a module's properties usingInstrumentation. -
Uses of JavaModule in net.bytebuddy.matcher
Methods in net.bytebuddy.matcher with type parameters of type JavaModuleModifier and TypeMethodDescriptionstatic <T extends JavaModule>
ElementMatcher.Junction<T> ElementMatchers.supportsModules()Matches a module if it exists, i.e. -
Uses of JavaModule in net.bytebuddy.utility
Fields in net.bytebuddy.utility declared as JavaModuleModifier and TypeFieldDescriptionstatic final JavaModuleJavaModule.UNSUPPORTEDCanonical representation of a Java module on a JVM that does not support the module API.Methods in net.bytebuddy.utility that return JavaModuleModifier and TypeMethodDescriptionstatic JavaModuleRepresents the suppliedjava.lang.Moduleas an instance of this class and validates that the supplied instance really represents a JavaModule.static JavaModuleReturns a representation of the supplied type'sjava.lang.Moduleornullif the current VM does not support modules.Methods in net.bytebuddy.utility with parameters of type JavaModuleModifier and TypeMethodDescriptionbooleanJavaModule.canRead(JavaModule module) Checks if this module can read the exported packages of the supplied module.booleanJavaModule.isExported(PackageDescription packageDescription, JavaModule module) Returnstrueif this module exports the supplied package to this module.booleanJavaModule.isOpened(PackageDescription packageDescription, JavaModule module) Returnstrueif this module opens the supplied package to this module.