| Package | Description | 
|---|---|
| net.bytebuddy.asm | 
 The ASM package contains classes that are meant for direct interaction with the ASM API. 
 | 
| net.bytebuddy.description.modifier | 
 The modifier package contains high-level and type-safe descriptions of Java modifiers. 
 | 
| 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ModifierAdjustment | 
ModifierAdjustment.withConstructorModifiers(ElementMatcher<? super MethodDescription> matcher,
                        ModifierContributor.ForMethod... modifierContributor)
Adjusts a constructor's modifiers if it fulfills the supplied matcher. 
 | 
ModifierAdjustment | 
ModifierAdjustment.withConstructorModifiers(ModifierContributor.ForMethod... modifierContributor)
Adjusts any constructor's modifiers. 
 | 
ModifierAdjustment | 
ModifierAdjustment.withInvokableModifiers(ElementMatcher<? super MethodDescription> matcher,
                      ModifierContributor.ForMethod... modifierContributor)
Adjusts a method's or constructor's modifiers if it fulfills the supplied matcher. 
 | 
ModifierAdjustment | 
ModifierAdjustment.withInvokableModifiers(ModifierContributor.ForMethod... modifierContributor)
Adjusts any method's or constructor's modifiers. 
 | 
ModifierAdjustment | 
ModifierAdjustment.withMethodModifiers(ElementMatcher<? super MethodDescription> matcher,
                   ModifierContributor.ForMethod... modifierContributor)
Adjusts a method's modifiers if it fulfills the supplied matcher. 
 | 
ModifierAdjustment | 
ModifierAdjustment.withMethodModifiers(ModifierContributor.ForMethod... modifierContributor)
Adjusts any method's modifiers. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ModifierAdjustment | 
ModifierAdjustment.withConstructorModifiers(ElementMatcher<? super MethodDescription> matcher,
                        List<? extends ModifierContributor.ForMethod> modifierContributors)
Adjusts a constructor's modifiers if it fulfills the supplied matcher. 
 | 
ModifierAdjustment | 
ModifierAdjustment.withConstructorModifiers(List<? extends ModifierContributor.ForMethod> modifierContributors)
Adjusts any constructor's modifiers. 
 | 
ModifierAdjustment | 
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 | 
ModifierAdjustment.withInvokableModifiers(List<? extends ModifierContributor.ForMethod> modifierContributors)
Adjusts any method's or constructor's modifiers. 
 | 
ModifierAdjustment | 
ModifierAdjustment.withMethodModifiers(ElementMatcher<? super MethodDescription> matcher,
                   List<? extends ModifierContributor.ForMethod> modifierContributors)
Adjusts a method's modifiers if it fulfills the supplied matcher. 
 | 
ModifierAdjustment | 
ModifierAdjustment.withMethodModifiers(List<? extends ModifierContributor.ForMethod> modifierContributors)
Adjusts any method's modifiers. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
Mandate
Indicates if a member is mandated. 
 | 
class  | 
MethodArguments
Describes if a method allows varargs arguments. 
 | 
class  | 
MethodManifestation
Describes the manifestation of a method, i.e. 
 | 
class  | 
MethodStrictness
A modifier contributor to determine the use of  
strictfp on a method. | 
class  | 
Ownership
Determines the ownership of a field or method, i.e. 
 | 
class  | 
SynchronizationState
Describes if a method is supposed to be synchronized. 
 | 
class  | 
SyntheticState
Defines if a type or member is supposed to be marked as synthetic. 
 | 
class  | 
Visibility
Describes a type's, field's or a method's visibility. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ModifierContributor.Resolver<ModifierContributor.ForMethod> | 
ModifierContributor.Resolver.of(ModifierContributor.ForMethod... modifierContributor)
Creates a new resolver for modifier contributors to a method. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ModifierContributor.Resolver<ModifierContributor.ForMethod> | 
ModifierContributor.Resolver.of(ModifierContributor.ForMethod... modifierContributor)
Creates a new resolver for modifier contributors to a method. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<T> | 
DynamicType.Builder.defineConstructor(ModifierContributor.ForMethod... modifierContributor)
Defines the specified constructor to be declared by the instrumented type. 
 | 
DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<S> | 
DynamicType.Builder.AbstractBase.defineConstructor(ModifierContributor.ForMethod... modifierContributor)
Defines the specified constructor to be declared by the instrumented type. 
 | 
DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<T> | 
DynamicType.Builder.defineMethod(String name,
            TypeDefinition returnType,
            ModifierContributor.ForMethod... modifierContributor)
Defines the specified method to be declared by the instrumented type. 
 | 
DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<S> | 
DynamicType.Builder.AbstractBase.defineMethod(String name,
            TypeDefinition returnType,
            ModifierContributor.ForMethod... modifierContributor)
Defines the specified method to be declared by the instrumented type. 
 | 
DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<T> | 
DynamicType.Builder.defineMethod(String name,
            Type returnType,
            ModifierContributor.ForMethod... modifierContributor)
Defines the specified method to be declared by the instrumented type. 
 | 
DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<S> | 
DynamicType.Builder.AbstractBase.defineMethod(String name,
            Type 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. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<T> | 
DynamicType.Builder.defineConstructor(Collection<? extends ModifierContributor.ForMethod> modifierContributors)
Defines the specified constructor to be declared by the instrumented type. 
 | 
DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<S> | 
DynamicType.Builder.AbstractBase.defineConstructor(Collection<? extends ModifierContributor.ForMethod> modifierContributors)
Defines the specified constructor to be declared by the instrumented type. 
 | 
DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<T> | 
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.MethodDefinition.ParameterDefinition.Initial<S> | 
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.MethodDefinition.ParameterDefinition.Initial<T> | 
DynamicType.Builder.defineMethod(String name,
            TypeDefinition returnType,
            Collection<? extends ModifierContributor.ForMethod> modifierContributors)
Defines the specified method to be declared by the instrumented type. 
 | 
DynamicType.Builder.MethodDefinition.ParameterDefinition.Initial<S> | 
DynamicType.Builder.AbstractBase.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 and Description | 
|---|
MethodModifierTransformer(ModifierContributor.Resolver<ModifierContributor.ForMethod> resolver)
Creates a new modifier transformation. 
 | 
Copyright © 2014–1970. All rights reserved.