Top Description Inners Methods
org.easymock.bytebuddy.implementation.attribute

public Interface RecordComponentAttributeAppender

Known Direct Implementers
org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.NoOp, org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.ForInstrumentedRecordComponent, org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Explicit, org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Compound
Imports
org.easymock.bytebuddy.build.HashCodeAndEqualsPlugin, org.easymock.bytebuddy.description.annotation.AnnotationDescription, org.easymock.bytebuddy.description.type.RecordComponentDescription, .TypeDescription, org.easymock.bytebuddy.jar.asm.RecordComponentVisitor, java.util.ArrayList, .Arrays, .List

An appender that writes attributes or annotations to a given ASM RecordComponentVisitor.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
RecordComponentAttributeAppender.Compound

A record component attribute appender that combines several method attribute appenders to be represented as a single record component attribute appender.

public static class
RecordComponentAttributeAppender.Explicit

Appends an annotation to a record component.

public static interface
RecordComponentAttributeAppender.Factory

A factory that creates record component attribute appenders for a given type.

public static enum
RecordComponentAttributeAppender.ForInstrumentedRecordComponent

An attribute appender that writes all annotations that are declared on a record component.

public static enum
RecordComponentAttributeAppender.NoOp

A record component attribute appender that does not append any attributes.

Method Summary

Modifier and TypeMethod and Description
public void
apply(RecordComponentVisitor
The record component visitor to which the attributes that are represented by this attribute appender are written to.
recordComponentVisitor
,
RecordComponentDescription
The description of the record component to which the record component visitor belongs to.
recordComponentDescription
,
AnnotationValueFilter
The annotation value filter to apply when writing annotations.
annotationValueFilter
)

Applies this attribute appender to a given record component visitor.

Method Detail

applyback to summary
public void apply(RecordComponentVisitor recordComponentVisitor, RecordComponentDescription recordComponentDescription, AnnotationValueFilter annotationValueFilter)

Applies this attribute appender to a given record component visitor.

Parameters
recordComponentVisitor:RecordComponentVisitor

The record component visitor to which the attributes that are represented by this attribute appender are written to.

recordComponentDescription:RecordComponentDescription

The description of the record component to which the record component visitor belongs to.

annotationValueFilter:AnnotationValueFilter

The annotation value filter to apply when writing annotations.

org.easymock.bytebuddy.implementation.attribute back to summary

public Class RecordComponentAttributeAppender.Compound

extends Object
implements RecordComponentAttributeAppender
Class Inheritance
  • java.lang.Object
  • org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Compound
All Implemented Interfaces
org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender
Annotations
@Enhance

A record component attribute appender that combines several method attribute appenders to be represented as a single record component attribute appender.

Field Summary

Modifier and TypeField and Description
private final List<RecordComponentAttributeAppender>
recordComponentAttributeAppenders

The record component attribute appenders this appender represents in their application order.

Constructor Summary

AccessConstructor and Description
public
Compound(RecordComponentAttributeAppender...
The record component attribute appenders that are to be combined by this compound appender in the order of their application.
recordComponentAttributeAppender
)

Creates a new compound record component attribute appender.

public
Compound(List<? extends RecordComponentAttributeAppender>
The record component attribute appenders that are to be combined by this compound appender in the order of their application.
recordComponentAttributeAppenders
)

Creates a new compound record component attribute appender.

Method Summary

Modifier and TypeMethod and Description
public void
apply(RecordComponentVisitor
The record component visitor to which the attributes that are represented by this attribute appender are written to.
recordComponentVisitor
,
RecordComponentDescription
The description of the record component to which the record component visitor belongs to.
recordComponentDescription
,
AnnotationValueFilter
The annotation value filter to apply when writing annotations.
annotationValueFilter
)

Implements org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.apply.

Applies this attribute appender to a given record component visitor.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

recordComponentAttributeAppendersback to summary
private final List<RecordComponentAttributeAppender> recordComponentAttributeAppenders

The record component attribute appenders this appender represents in their application order.

Constructor Detail

Compoundback to summary
public Compound(RecordComponentAttributeAppender... recordComponentAttributeAppender)

Creates a new compound record component attribute appender.

Parameters
recordComponentAttributeAppender:RecordComponentAttributeAppender[]

The record component attribute appenders that are to be combined by this compound appender in the order of their application.

Compoundback to summary
public Compound(List<? extends RecordComponentAttributeAppender> recordComponentAttributeAppenders)

Creates a new compound record component attribute appender.

Parameters
recordComponentAttributeAppenders:List<? extends RecordComponentAttributeAppender>

The record component attribute appenders that are to be combined by this compound appender in the order of their application.

Method Detail

applyback to summary
public void apply(RecordComponentVisitor recordComponentVisitor, RecordComponentDescription recordComponentDescription, AnnotationValueFilter annotationValueFilter)

Implements org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.apply.

Doc from org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.apply.

Applies this attribute appender to a given record component visitor.

Parameters
recordComponentVisitor:RecordComponentVisitor

The record component visitor to which the attributes that are represented by this attribute appender are written to.

recordComponentDescription:RecordComponentDescription

The description of the record component to which the record component visitor belongs to.

annotationValueFilter:AnnotationValueFilter

The annotation value filter to apply when writing annotations.

org.easymock.bytebuddy.implementation.attribute back to summary

public Class RecordComponentAttributeAppender.Explicit

extends Object
implements RecordComponentAttributeAppender, Factory
Class Inheritance
  • java.lang.Object
  • org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Explicit
All Implemented Interfaces
org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory, org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender
Annotations
@Enhance

Appends an annotation to a record component. The visibility of the annotation is determined by the annotation type's java.lang.annotation.RetentionPolicy annotation.

Field Summary

Modifier and TypeField and Description
private final List<? extends AnnotationDescription>
annotations

The annotations that this appender appends.

Constructor Summary

AccessConstructor and Description
public
Explicit(List<? extends AnnotationDescription>
The annotations to be appended to the record component.
annotations
)

Creates a new annotation attribute appender for explicit annotation values.

Method Summary

Modifier and TypeMethod and Description
public void
apply(RecordComponentVisitor
The record component visitor to which the attributes that are represented by this attribute appender are written to.
recordComponentVisitor
,
RecordComponentDescription
The description of the record component to which the record component visitor belongs to.
recordComponentDescription
,
AnnotationValueFilter
The annotation value filter to apply when writing annotations.
annotationValueFilter
)

Implements org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.apply.

Applies this attribute appender to a given record component visitor.
public RecordComponentAttributeAppender
make(TypeDescription
The type for which a record component attribute appender is to be applied for.
typeDescription
)

Implements org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory.make.

Returns a record component attribute appender that is applicable for a given type description.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

annotationsback to summary
private final List<? extends AnnotationDescription> annotations

The annotations that this appender appends.

Constructor Detail

Explicitback to summary
public Explicit(List<? extends AnnotationDescription> annotations)

Creates a new annotation attribute appender for explicit annotation values. All values, including default values, are copied.

Parameters
annotations:List<? extends AnnotationDescription>

The annotations to be appended to the record component.

Method Detail

applyback to summary
public void apply(RecordComponentVisitor recordComponentVisitor, RecordComponentDescription recordComponentDescription, AnnotationValueFilter annotationValueFilter)

Implements org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.apply.

Doc from org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.apply.

Applies this attribute appender to a given record component visitor.

Parameters
recordComponentVisitor:RecordComponentVisitor

The record component visitor to which the attributes that are represented by this attribute appender are written to.

recordComponentDescription:RecordComponentDescription

The description of the record component to which the record component visitor belongs to.

annotationValueFilter:AnnotationValueFilter

The annotation value filter to apply when writing annotations.

makeback to summary
public RecordComponentAttributeAppender make(TypeDescription typeDescription)

Implements org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory.make.

Doc from org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory.make.

Returns a record component attribute appender that is applicable for a given type description.

Parameters
typeDescription:TypeDescription

The type for which a record component attribute appender is to be applied for.

Returns:RecordComponentAttributeAppender

The record component attribute appender which should be applied for the given type.

org.easymock.bytebuddy.implementation.attribute back to summary

public Interface RecordComponentAttributeAppender.Factory

Known Direct Implementers
org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory.Compound, org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.ForInstrumentedRecordComponent, org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Explicit, org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.NoOp

A factory that creates record component attribute appenders for a given type.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
RecordComponentAttributeAppender.Factory.Compound

A record component attribute appender factory that combines several record component attribute appender factories to be represented as a single factory.

Method Summary

Modifier and TypeMethod and Description
public RecordComponentAttributeAppender

Returns:

The record component attribute appender which should be applied for the given type.
make
(TypeDescription
The type for which a record component attribute appender is to be applied for.
typeDescription
)

Returns a record component attribute appender that is applicable for a given type description.

Method Detail

makeback to summary
public RecordComponentAttributeAppender make(TypeDescription typeDescription)

Returns a record component attribute appender that is applicable for a given type description.

Parameters
typeDescription:TypeDescription

The type for which a record component attribute appender is to be applied for.

Returns:RecordComponentAttributeAppender

The record component attribute appender which should be applied for the given type.

org.easymock.bytebuddy.implementation.attribute back to summary

public Class RecordComponentAttributeAppender.Factory.Compound

extends Object
implements Factory
Class Inheritance
  • java.lang.Object
  • org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory.Compound
All Implemented Interfaces
org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory
Annotations
@Enhance

A record component attribute appender factory that combines several record component attribute appender factories to be represented as a single factory.

Field Summary

Modifier and TypeField and Description
private final List<RecordComponentAttributeAppender.Factory>
factories

The factories that this compound factory represents in their application order.

Constructor Summary

AccessConstructor and Description
public
Compound(RecordComponentAttributeAppender.Factory...
The factories to represent in the order of their application.
factory
)

Creates a new compound record component attribute appender factory.

public
Compound(List<? extends RecordComponentAttributeAppender.Factory>
The factories to represent in the order of their application.
factories
)

Creates a new compound record component attribute appender factory.

Method Summary

Modifier and TypeMethod and Description
public RecordComponentAttributeAppender
make(TypeDescription
The type for which a record component attribute appender is to be applied for.
typeDescription
)

Implements org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory.make.

Returns a record component attribute appender that is applicable for a given type description.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

factoriesback to summary
private final List<RecordComponentAttributeAppender.Factory> factories

The factories that this compound factory represents in their application order.

Constructor Detail

Compoundback to summary
public Compound(RecordComponentAttributeAppender.Factory... factory)

Creates a new compound record component attribute appender factory.

Parameters
factory:RecordComponentAttributeAppender.Factory[]

The factories to represent in the order of their application.

Compoundback to summary
public Compound(List<? extends RecordComponentAttributeAppender.Factory> factories)

Creates a new compound record component attribute appender factory.

Parameters
factories:List<? extends RecordComponentAttributeAppender.Factory>

The factories to represent in the order of their application.

Method Detail

makeback to summary
public RecordComponentAttributeAppender make(TypeDescription typeDescription)

Implements org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory.make.

Doc from org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory.make.

Returns a record component attribute appender that is applicable for a given type description.

Parameters
typeDescription:TypeDescription

The type for which a record component attribute appender is to be applied for.

Returns:RecordComponentAttributeAppender

The record component attribute appender which should be applied for the given type.

org.easymock.bytebuddy.implementation.attribute back to summary

public final Enum RecordComponentAttributeAppender.ForInstrumentedRecordComponent

extends Enum<RecordComponentAttributeAppender.ForInstrumentedRecordComponent>
implements RecordComponentAttributeAppender, Factory
Class Inheritance
All Implemented Interfaces
org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory, org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender

An attribute appender that writes all annotations that are declared on a record component.

Field Summary

Modifier and TypeField and Description
public static final RecordComponentAttributeAppender.ForInstrumentedRecordComponent
INSTANCE

The singleton instance.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public void
apply(RecordComponentVisitor
The record component visitor to which the attributes that are represented by this attribute appender are written to.
recordComponentVisitor
,
RecordComponentDescription
The description of the record component to which the record component visitor belongs to.
recordComponentDescription
,
AnnotationValueFilter
The annotation value filter to apply when writing annotations.
annotationValueFilter
)

Implements org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.apply.

Applies this attribute appender to a given record component visitor.
public RecordComponentAttributeAppender
make(TypeDescription
The type for which a record component attribute appender is to be applied for.
typeDescription
)

Implements org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory.make.

Returns a record component attribute appender that is applicable for a given type description.
public static RecordComponentAttributeAppender.ForInstrumentedRecordComponent
public static RecordComponentAttributeAppender.ForInstrumentedRecordComponent[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

INSTANCEback to summary
public static final RecordComponentAttributeAppender.ForInstrumentedRecordComponent INSTANCE

The singleton instance.

Constructor Detail

ForInstrumentedRecordComponentback to summary
private ForInstrumentedRecordComponent()

Method Detail

applyback to summary
public void apply(RecordComponentVisitor recordComponentVisitor, RecordComponentDescription recordComponentDescription, AnnotationValueFilter annotationValueFilter)

Implements org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.apply.

Doc from org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.apply.

Applies this attribute appender to a given record component visitor.

Parameters
recordComponentVisitor:RecordComponentVisitor

The record component visitor to which the attributes that are represented by this attribute appender are written to.

recordComponentDescription:RecordComponentDescription

The description of the record component to which the record component visitor belongs to.

annotationValueFilter:AnnotationValueFilter

The annotation value filter to apply when writing annotations.

makeback to summary
public RecordComponentAttributeAppender make(TypeDescription typeDescription)

Implements org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory.make.

Doc from org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory.make.

Returns a record component attribute appender that is applicable for a given type description.

Parameters
typeDescription:TypeDescription

The type for which a record component attribute appender is to be applied for.

Returns:RecordComponentAttributeAppender

The record component attribute appender which should be applied for the given type.

valueOfback to summary
public static RecordComponentAttributeAppender.ForInstrumentedRecordComponent valueOf(String name)
valuesback to summary
public static RecordComponentAttributeAppender.ForInstrumentedRecordComponent[] values()
org.easymock.bytebuddy.implementation.attribute back to summary

public final Enum RecordComponentAttributeAppender.NoOp

extends Enum<RecordComponentAttributeAppender.NoOp>
implements RecordComponentAttributeAppender, Factory
Class Inheritance
All Implemented Interfaces
org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory, org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender

A record component attribute appender that does not append any attributes.

Field Summary

Modifier and TypeField and Description
public static final RecordComponentAttributeAppender.NoOp
INSTANCE

The singleton instance.

Constructor Summary

AccessConstructor and Description
private
NoOp()

Method Summary

Modifier and TypeMethod and Description
public void
apply(RecordComponentVisitor
The record component visitor to which the attributes that are represented by this attribute appender are written to.
recordComponentVisitor
,
RecordComponentDescription
The description of the record component to which the record component visitor belongs to.
recordComponentDescription
,
AnnotationValueFilter
The annotation value filter to apply when writing annotations.
annotationValueFilter
)

Implements org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.apply.

Applies this attribute appender to a given record component visitor.
public RecordComponentAttributeAppender
make(TypeDescription
The type for which a record component attribute appender is to be applied for.
typeDescription
)

Implements org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory.make.

Returns a record component attribute appender that is applicable for a given type description.
public static RecordComponentAttributeAppender.NoOp
public static RecordComponentAttributeAppender.NoOp[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

INSTANCEback to summary
public static final RecordComponentAttributeAppender.NoOp INSTANCE

The singleton instance.

Constructor Detail

NoOpback to summary
private NoOp()

Method Detail

applyback to summary
public void apply(RecordComponentVisitor recordComponentVisitor, RecordComponentDescription recordComponentDescription, AnnotationValueFilter annotationValueFilter)

Implements org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.apply.

Doc from org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.apply.

Applies this attribute appender to a given record component visitor.

Parameters
recordComponentVisitor:RecordComponentVisitor

The record component visitor to which the attributes that are represented by this attribute appender are written to.

recordComponentDescription:RecordComponentDescription

The description of the record component to which the record component visitor belongs to.

annotationValueFilter:AnnotationValueFilter

The annotation value filter to apply when writing annotations.

makeback to summary
public RecordComponentAttributeAppender make(TypeDescription typeDescription)

Implements org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory.make.

Doc from org.easymock.bytebuddy.implementation.attribute.RecordComponentAttributeAppender.Factory.make.

Returns a record component attribute appender that is applicable for a given type description.

Parameters
typeDescription:TypeDescription

The type for which a record component attribute appender is to be applied for.

Returns:RecordComponentAttributeAppender

The record component attribute appender which should be applied for the given type.

valueOfback to summary
public static RecordComponentAttributeAppender.NoOp valueOf(String name)
valuesback to summary
public static RecordComponentAttributeAppender.NoOp[] values()