Top Description Inners Fields Methods
net.bytebuddy.description.method

public Interface ParameterDescription

extends AnnotationSource, WithRuntimeName, WithOptionalName, ForParameterDescription, ByteCodeElement.TypeDependant<ParameterDescription.InDefinedShape, ParameterDescription.Token>
Known Direct Subinterfaces
net.bytebuddy.description.method.ParameterDescription.InGenericShape, net.bytebuddy.description.method.ParameterDescription.InDefinedShape
Known Direct Implementers
net.bytebuddy.description.method.ParameterDescription.AbstractBase
Imports
edu.umd.cs.findbugs.annotations.SuppressFBWarnings, net.bytebuddy.build.AccessControllerPlugin, .CachedReturnPlugin, .HashCodeAndEqualsPlugin, net.bytebuddy.description.ByteCodeElement, .ModifierReviewable, .NamedElement, net.bytebuddy.description.annotation.AnnotationDescription, .AnnotationList, .AnnotationSource, net.bytebuddy.description.type.TypeDefinition, .TypeDescription, .TypeList, net.bytebuddy.implementation.bytecode.StackSize, net.bytebuddy.matcher.ElementMatcher, net.bytebuddy.utility.dispatcher.JavaDispatcher, net.bytebuddy.utility.nullability.AlwaysNull, .MaybeNull, java.lang.annotation.Annotation, java.lang.reflect.AccessibleObject, .Constructor, .Method, .Modifier, java.security.PrivilegedAction, java.util.AbstractList, .Collections, .List

Description of the parameter of a Java method or constructor.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public abstract static class
ParameterDescription.AbstractBase

A base implementation of a method parameter description.

public abstract static class
ParameterDescription.ForLoadedParameter<
The type of the java.lang.reflect.Executable that this list represents.
T extends AccessibleObject
>

Description of a loaded parameter with support for the information exposed by java.lang.reflect.Parameter.

public static interface
ParameterDescription.InDefinedShape

Represents a parameter in its defined shape, i.e. in the form it is defined by a class without its type variables being resolved.

public static interface
ParameterDescription.InGenericShape

Represents a parameter description in its generic shape, i.e. in the shape it is defined by a generic or raw type.

public static class
ParameterDescription.Latent

A latent description of a parameter that is not attached to a method or constructor.

public static class
ParameterDescription.Token

A token representing a parameter's properties detached from a type.

public static class
ParameterDescription.TypeSubstituting

A parameter description that represents a given parameter but with a substituted parameter type.

Field Summary

Modifier and TypeField and Description
public static final String
NAME_PREFIX

The prefix for names of an unnamed parameter.

Method Summary

Modifier and TypeMethod and Description
public MethodDescription

Returns:

The method that declares this parameter.
getDeclaringMethod
()

Returns the method that declares this parameter.

public int

Returns:

The index of this parameter.
getIndex
()

Returns this parameter's index.

public int

Returns:

The offset of this parameter's value.
getOffset
()

Returns the offset to the parameter value within the local method variable.

public TypeDescription.Generic

Returns:

The type of this parameter.
getType
()

Returns the type of this parameter.

public boolean

Returns:

true if this parameter defines explicit modifiers.
hasModifiers
()

Checks if this parameter has an explicit modifier.

Inherited from net.bytebuddy.description.annotation.AnnotationSource:
getDeclaredAnnotations
Inherited from net.bytebuddy.description.ByteCodeElement.TypeDependant:
asDefinedasToken
Inherited from net.bytebuddy.description.ModifierReviewable.ForParameterDescription:
getParameterManifestationgetProvisioningStateisMandated
Inherited from net.bytebuddy.description.NamedElement.WithOptionalName:
isNamed
Inherited from net.bytebuddy.description.NamedElement.WithRuntimeName:
getInternalNamegetName