Class AttributeWriter
java.lang.Object
mockit.asm.constantPool.AttributeWriter
- Direct Known Subclasses:
SignatureWriter, StackMapTableWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @NonNegative intThe index of the constant pool item that contains the name of the associated attribute.protected final ConstantPoolGeneration -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedAttributeWriter(ConstantPoolGeneration cp, String attributeName) -
Method Summary
Modifier and TypeMethodDescriptionabstract @NonNegative intgetSize()voidput(ByteVector out) protected final voidput(ByteVector out, @NonNegative int size) protected final voidsetAttribute(String attributeName)
-
Field Details
-
cp
-
attributeIndex
protected @NonNegative int attributeIndexThe index of the constant pool item that contains the name of the associated attribute.
-
-
Constructor Details
-
AttributeWriter
-
AttributeWriter
-
-
Method Details
-
setAttribute
-
getSize
public abstract @NonNegative int getSize() -
put
-
put
-