Class BytecodeRecordComponent
java.lang.Object
org.eolang.jeo.representation.bytecode.BytecodeRecordComponent
The record component of a record class.
- Since:
- 0.14.0
-
Constructor Summary
ConstructorsConstructorDescriptionBytecodeRecordComponent(String name, String descriptor, String signature) Constructor.BytecodeRecordComponent(String name, String descriptor, String signature, BytecodeAnnotations annotations, BytecodeTypeAnnotations types) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionIterable<org.xembly.Directive> directives(int index, Format format) Convert to directives.voidwrite(org.objectweb.asm.ClassVisitor clazz) Write to class visitor.
-
Constructor Details
-
BytecodeRecordComponent
Constructor.- Parameters:
name- Namedescriptor- Descriptorsignature- Signature
-
BytecodeRecordComponent
public BytecodeRecordComponent(String name, String descriptor, String signature, BytecodeAnnotations annotations, BytecodeTypeAnnotations types) Constructor.- Parameters:
name- Namedescriptor- Descriptorsignature- Signatureannotations- Annotationstypes- Type annotations- Suppressed Checkstyle violations:
- ParameterNumber (10 lines)
-
-
Method Details
-
write
public void write(org.objectweb.asm.ClassVisitor clazz) Write to class visitor.- Parameters:
clazz- Class visitor
-
directives
Convert to directives.- Parameters:
index- Index of the record componentformat- Format of the directives- Returns:
- Directives
-