Uses of Interface
net.bytebuddy.description.modifier.ModifierContributor.ForMethod
Packages that use ModifierContributor.ForMethod
Package
Description
The ASM package contains classes that are meant for direct interaction with the ASM API.
The modifier package contains high-level and type-safe descriptions of Java modifiers.
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.
-
Uses of ModifierContributor.ForMethod in net.bytebuddy.asm
Methods in net.bytebuddy.asm with parameters of type ModifierContributor.ForMethodModifier and TypeMethodDescriptionModifierAdjustment.withConstructorModifiers(ModifierContributor.ForMethod... modifierContributor) Adjusts any constructor's modifiers.ModifierAdjustment.withConstructorModifiers(ElementMatcher<? super MethodDescription> matcher, ModifierContributor.ForMethod... modifierContributor) Adjusts a constructor's modifiers if it fulfills the supplied matcher.ModifierAdjustment.withInvokableModifiers(ModifierContributor.ForMethod... modifierContributor) Adjusts any method's or constructor's modifiers.ModifierAdjustment.withInvokableModifiers(ElementMatcher<? super MethodDescription> matcher, ModifierContributor.ForMethod... modifierContributor) Adjusts a method's or constructor's modifiers if it fulfills the supplied matcher.ModifierAdjustment.withMethodModifiers(ModifierContributor.ForMethod... modifierContributor) Adjusts any method's modifiers.ModifierAdjustment.withMethodModifiers(ElementMatcher<? super MethodDescription> matcher, ModifierContributor.ForMethod... modifierContributor) Adjusts a method's modifiers if it fulfills the supplied matcher.Method parameters in net.bytebuddy.asm with type arguments of type ModifierContributor.ForMethodModifier and TypeMethodDescriptionModifierAdjustment.withConstructorModifiers(List<? extends ModifierContributor.ForMethod> modifierContributors) Adjusts any constructor's modifiers.ModifierAdjustment.withConstructorModifiers(ElementMatcher<? super MethodDescription> matcher, List<? extends ModifierContributor.ForMethod> modifierContributors) Adjusts a constructor's modifiers if it fulfills the supplied matcher.ModifierAdjustment.withInvokableModifiers(List<? extends ModifierContributor.ForMethod> modifierContributors) Adjusts any method's or constructor's modifiers.ModifierAdjustment.withInvokableModifiers(ElementMatcher<? super MethodDescription> matcher, List<? extends ModifierContributor.ForMethod> modifierContributors) Adjusts a method's or constructor's modifiers if it fulfills the supplied matcher.ModifierAdjustment.withMethodModifiers(List<? extends ModifierContributor.ForMethod> modifierContributors) Adjusts any method's modifiers.ModifierAdjustment.withMethodModifiers(ElementMatcher<? super MethodDescription> matcher, List<? extends ModifierContributor.ForMethod> modifierContributors) Adjusts a method's modifiers if it fulfills the supplied matcher. -
Uses of ModifierContributor.ForMethod in net.bytebuddy.description.modifier
Classes in net.bytebuddy.description.modifier that implement ModifierContributor.ForMethodModifier and TypeClassDescriptionenumIndicates if a member is mandated.enumDescribes if a method allows varargs arguments.enumDescribes the manifestation of a method, i.e.enumA modifier contributor to determine the use ofstrictfpon a method.enumDetermines the ownership of a field or method, i.e.enumDescribes if a method is supposed to be synchronized.enumDefines if a type or member is supposed to be marked as synthetic.enumDescribes a type's, field's or a method's visibility.Methods in net.bytebuddy.description.modifier that return types with arguments of type ModifierContributor.ForMethodModifier and TypeMethodDescriptionModifierContributor.Resolver.of(ModifierContributor.ForMethod... modifierContributor) Creates a new resolver for modifier contributors to a method.Methods in net.bytebuddy.description.modifier with parameters of type ModifierContributor.ForMethodModifier and TypeMethodDescriptionModifierContributor.Resolver.of(ModifierContributor.ForMethod... modifierContributor) Creates a new resolver for modifier contributors to a method. -
Uses of ModifierContributor.ForMethod in net.bytebuddy.dynamic
Fields in net.bytebuddy.dynamic with type parameters of type ModifierContributor.ForMethodModifier and TypeFieldDescriptionprivate final ModifierContributor.Resolver<ModifierContributor.ForMethod> Transformer.ForMethod.MethodModifierTransformer.resolverThe resolver to apply onto the method's modifiers.Methods in net.bytebuddy.dynamic with parameters of type ModifierContributor.ForMethodModifier and TypeMethodDescriptionDynamicType.Builder.AbstractBase.defineConstructor(ModifierContributor.ForMethod... modifierContributor) Defines the specified constructor to be declared by the instrumented type.DynamicType.Builder.defineConstructor(ModifierContributor.ForMethod... modifierContributor) Defines the specified constructor to be declared by the instrumented type.DynamicType.Builder.AbstractBase.defineMethod(String name, Type returnType, ModifierContributor.ForMethod... modifierContributor) Defines the specified method to be declared by the instrumented type.DynamicType.Builder.AbstractBase.defineMethod(String name, TypeDefinition returnType, ModifierContributor.ForMethod... modifierContributor) Defines the specified method to be declared by the instrumented type.DynamicType.Builder.defineMethod(String name, Type returnType, ModifierContributor.ForMethod... modifierContributor) Defines the specified method to be declared by the instrumented type.DynamicType.Builder.defineMethod(String name, TypeDefinition returnType, ModifierContributor.ForMethod... modifierContributor) Defines the specified method to be declared by the instrumented type.static Transformer<MethodDescription> Transformer.ForMethod.withModifiers(ModifierContributor.ForMethod... modifierContributor) Creates a transformer that enforces the supplied modifier contributors.Method parameters in net.bytebuddy.dynamic with type arguments of type ModifierContributor.ForMethodModifier and TypeMethodDescriptionDynamicType.Builder.AbstractBase.defineConstructor(Collection<? extends ModifierContributor.ForMethod> modifierContributors) Defines the specified constructor to be declared by the instrumented type.DynamicType.Builder.defineConstructor(Collection<? extends ModifierContributor.ForMethod> modifierContributors) Defines the specified constructor to be declared by the instrumented type.DynamicType.Builder.AbstractBase.defineMethod(String name, Type returnType, Collection<? extends ModifierContributor.ForMethod> modifierContributors) Defines the specified method to be declared by the instrumented type.DynamicType.Builder.AbstractBase.defineMethod(String name, TypeDefinition returnType, Collection<? extends ModifierContributor.ForMethod> modifierContributors) Defines the specified method to be declared by the instrumented type.DynamicType.Builder.defineMethod(String name, Type returnType, Collection<? extends ModifierContributor.ForMethod> modifierContributors) Defines the specified method to be declared by the instrumented type.DynamicType.Builder.defineMethod(String name, TypeDefinition returnType, Collection<? extends ModifierContributor.ForMethod> modifierContributors) Defines the specified method to be declared by the instrumented type.static Transformer<MethodDescription> Transformer.ForMethod.withModifiers(List<? extends ModifierContributor.ForMethod> modifierContributors) Creates a transformer that enforces the supplied modifier contributors.Constructor parameters in net.bytebuddy.dynamic with type arguments of type ModifierContributor.ForMethodModifierConstructorDescriptionprotectedCreates a new modifier transformation.