Package mockit.asm.constantPool
Class AttributeWriter
java.lang.Object
mockit.asm.constantPool.AttributeWriter
- Direct Known Subclasses:
SignatureWriter
,StackMapTableWriter
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected @org.checkerframework.checker.index.qual.NonNegative int
The index of the constant pool item that contains the name of the associated attribute.protected final ConstantPoolGeneration
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
AttributeWriter
(ConstantPoolGeneration cp, String attributeName) -
Method Summary
Modifier and TypeMethodDescriptionabstract @org.checkerframework.checker.index.qual.NonNegative int
getSize()
void
put
(ByteVector out) protected final void
put
(ByteVector out, @org.checkerframework.checker.index.qual.NonNegative int size) protected final void
setAttribute
(String attributeName)
-
Field Details
-
cp
-
attributeIndex
protected @org.checkerframework.checker.index.qual.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 @org.checkerframework.checker.index.qual.NonNegative int getSize() -
put
-
put
protected final void put(@NonNull ByteVector out, @org.checkerframework.checker.index.qual.NonNegative int size)
-