| Modifier and Type | Class and Description |
|---|---|
| public abstract static class | FieldList.
The type of field descriptions represented by this list. S extends FieldDescription>An abstract base implementation of a |
| public static class | FieldList.
The type of parameter descriptions represented by this list. S extends FieldDescription>An implementation of an empty field list. |
| public static class | FieldList.
The type of field descriptions represented by this list. S extends FieldDescription>A wrapper implementation of a field list for a given list of field descriptions. |
| public static class | FieldList.
An implementation of a field list for an array of loaded fields. |
| public static class | FieldList.
A list of field descriptions for a list of detached tokens. |
| public static class | FieldList.
A list of field descriptions that yields |
| Modifier and Type | Method and Description |
|---|---|
| public FieldList | Returns: A list of fields in their defined shape.Returns this list of these field descriptions resolved to their defined shape. |
| public ByteCodeElement. | Returns: The transformed token list.A matcher that indicates type substitution. matcher)Transforms the list of field descriptions into a list of detached tokens. |
| asDefined | back to summary |
|---|---|
| public FieldList Returns this list of these field descriptions resolved to their defined shape.
| |
| asTokenList | back to summary |
|---|---|
| public ByteCodeElement. Transforms the list of field descriptions into a list of detached tokens. All types that are matched by the provided
target type matcher are substituted by
| |
FieldList.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public FieldList | asDefined()
Implements org. |
| public ByteCodeElement. | asTokenList(ElementMatcher<? super TypeDescription>
A matcher that indicates type substitution. matcher)Implements org. |
| protected FieldList | wrap(List<S>
The values to wrap in an instance of this list's type. values)Implements abstract org. |
| AbstractBase | back to summary |
|---|---|
| public AbstractBase() | |
| asDefined | back to summary |
|---|---|
| public FieldList Implements org. Doc from org. Returns this list of these field descriptions resolved to their defined shape.
| |
| asTokenList | back to summary |
|---|---|
| public ByteCodeElement. Implements org. Doc from org. Transforms the list of field descriptions into a list of detached tokens. All types that are matched by the provided
target type matcher are substituted by
| |
| wrap | back to summary |
|---|---|
| protected FieldList Implements abstract org. Doc from org. Represents a list of values as an instance of this instance's list type. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public FieldList | asDefined()
Implements org. |
| public ByteCodeElement. | asTokenList(ElementMatcher<? super TypeDescription>
A matcher that indicates type substitution. matcher)Implements org. |
| Empty | back to summary |
|---|---|
| public Empty() | |
| asDefined | back to summary |
|---|---|
| public FieldList Implements org. Doc from org. Returns this list of these field descriptions resolved to their defined shape.
| |
| asTokenList | back to summary |
|---|---|
| public ByteCodeElement. Implements org. Doc from org. Transforms the list of field descriptions into a list of detached tokens. All types that are matched by the provided
target type matcher are substituted by
| |
| Modifier and Type | Field and Description |
|---|---|
| private final List | fieldDescriptions
The list of field descriptions this list represents. |
| Access | Constructor and Description |
|---|---|
| public | Explicit(S...
The list of fields to be represented by this field list. fieldDescription)Creates a new immutable wrapper field list. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public S | get(int
index of the element to return index)Implements abstract java. Implements java. |
| public int | size()
Implements abstract java. Implements java. |
| fieldDescriptions | back to summary |
|---|---|
| private final List<? extends S> fieldDescriptions The list of field descriptions this list represents. | |
| Explicit | back to summary |
|---|---|
| public Explicit(S... fieldDescription) Creates a new immutable wrapper field list.
| |
| Explicit | back to summary |
|---|---|
| public Explicit(List<? extends S> fieldDescriptions) Creates a new immutable wrapper field list.
| |
| get | back to summary |
|---|---|
| public S get(int index) Implements abstract java. Implements java. Doc from java. Returns the element at the specified position in this list.
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |
| Modifier and Type | Field and Description |
|---|---|
| private final List | fields
The loaded fields this field list represents. |
| Access | Constructor and Description |
|---|---|
| public | ForLoadedFields(Field...
An array of fields to be represented by this field list. field)Creates a new immutable field list that represents an array of loaded field. |
| public | ForLoadedFields(List<? extends Field>
An array of fields to be represented by this field list. fields)Creates a new immutable field list that represents an array of loaded field. |
| Modifier and Type | Method and Description |
|---|---|
| public FieldDescription. | get(int
index of the element to return index)Implements abstract java. Implements java. |
| public int | size()
Implements abstract java. Implements java. |
| fields | back to summary |
|---|---|
| private final List<? extends Field> fields The loaded fields this field list represents. | |
| ForLoadedFields | back to summary |
|---|---|
| public ForLoadedFields(Field... field) Creates a new immutable field list that represents an array of loaded field.
| |
| ForLoadedFields | back to summary |
|---|---|
| public ForLoadedFields(List<? extends Field> fields) Creates a new immutable field list that represents an array of loaded field. | |
| get | back to summary |
|---|---|
| public FieldDescription. Implements abstract java. Implements java. Doc from java. Returns the element at the specified position in this list.
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |
| Modifier and Type | Field and Description |
|---|---|
| private final TypeDescription | declaringType
The declaring type of the represented fields. |
| private final List | tokens
A list of the represented fields' tokens. |
| Access | Constructor and Description |
|---|---|
| public | ForTokens(TypeDescription
The declaring type of the represented fields. declaringType, FieldDescription.A list of the represented fields' tokens. tokenCreates a new field list from a list of field tokens. |
| public | ForTokens(TypeDescription
The declaring type of the represented fields. declaringType, List<? extends FieldDescription.A list of the represented fields' tokens. tokens)Creates a new field list from a list of field tokens. |
| Modifier and Type | Method and Description |
|---|---|
| public FieldDescription. | get(int
index of the element to return index)Implements abstract java. Implements java. |
| public int | size()
Implements abstract java. Implements java. |
| declaringType | back to summary |
|---|---|
| private final TypeDescription declaringType The declaring type of the represented fields. | |
| tokens | back to summary |
|---|---|
| private final List<? extends FieldDescription. A list of the represented fields' tokens. | |
| ForTokens | back to summary |
|---|---|
| public ForTokens(TypeDescription declaringType, FieldDescription. Creates a new field list from a list of field tokens.
| |
| ForTokens | back to summary |
|---|---|
| public ForTokens(TypeDescription declaringType, List<? extends FieldDescription. Creates a new field list from a list of field tokens.
| |
| get | back to summary |
|---|---|
| public FieldDescription. Implements abstract java. Implements java. Doc from java. Returns the element at the specified position in this list.
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |
org.easymock.bytebuddy.description.field.FieldDescription.TypeSubstituting .
| Modifier and Type | Field and Description |
|---|---|
| private final TypeDescription. | declaringType
The field's actual declaring type. |
| private final List | fieldDescriptions
The field descriptions to be transformed. |
| private final TypeDescription. | visitor
The visitor to apply to a field description. |
| Access | Constructor and Description |
|---|---|
| public | TypeSubstituting(TypeDescription.
The field's actual declaring type. declaringType,The field descriptions to be transformed. fieldDescriptions, TypeDescription.The visitor to apply to a field description. visitorCreates a new type substituting field list. |
| Modifier and Type | Method and Description |
|---|---|
| public FieldDescription. | get(int
index of the element to return index)Implements abstract java. Implements java. |
| public int | size()
Implements abstract java. Implements java. |
| declaringType | back to summary |
|---|---|
| private final TypeDescription. The field's actual declaring type. | |
| fieldDescriptions | back to summary |
|---|---|
| private final List<? extends FieldDescription> fieldDescriptions The field descriptions to be transformed. | |
| visitor | back to summary |
|---|---|
| private final TypeDescription. The visitor to apply to a field description. | |
| TypeSubstituting | back to summary |
|---|---|
| public TypeSubstituting(TypeDescription. Creates a new type substituting field list.
| |
| get | back to summary |
|---|---|
| public FieldDescription. Implements abstract java. Implements java. Doc from java. Returns the element at the specified position in this list.
| |
| size | back to summary |
|---|---|
| public int size() Implements abstract java. Implements java. Doc from java. Returns the number of elements in this list. If this list contains
more than
| |