Package aQute.bnd.classfile
Interface Attribute
- All Known Implementing Classes:
AnnotationDefaultAttribute
,AnnotationsAttribute
,BootstrapMethodsAttribute
,CodeAttribute
,ConstantValueAttribute
,DeprecatedAttribute
,EnclosingMethodAttribute
,ExceptionsAttribute
,InnerClassesAttribute
,LineNumberTableAttribute
,LocalVariableTableAttribute
,LocalVariableTypeTableAttribute
,MethodParametersAttribute
,ModuleAttribute
,ModuleMainClassAttribute
,ModulePackagesAttribute
,NestHostAttribute
,NestMembersAttribute
,ParameterAnnotationsAttribute
,PermittedSubclassesAttribute
,RecordAttribute
,RuntimeInvisibleAnnotationsAttribute
,RuntimeInvisibleParameterAnnotationsAttribute
,RuntimeInvisibleTypeAnnotationsAttribute
,RuntimeVisibleAnnotationsAttribute
,RuntimeVisibleParameterAnnotationsAttribute
,RuntimeVisibleTypeAnnotationsAttribute
,SignatureAttribute
,SourceDebugExtensionAttribute
,SourceFileAttribute
,StackMapTableAttribute
,SyntheticAttribute
,TypeAnnotationsAttribute
,UnrecognizedAttribute
@ProviderType
public interface Attribute
-
Method Summary
Modifier and TypeMethodDescriptionint
static int
attributes_length
(Attribute[] attributes) name()
static Attribute
readAttribute
(DataInput in, ConstantPool constant_pool) static Attribute[]
readAttributes
(DataInput in, ConstantPool constant_pool) void
write
(DataOutput out, ConstantPool constant_pool) static void
writeAttributes
(DataOutput out, ConstantPool constant_pool, Attribute[] attributes)
-
Method Details
-
name
String name() -
write
- Throws:
IOException
-
attribute_length
int attribute_length() -
readAttributes
- Throws:
IOException
-
readAttribute
- Throws:
IOException
-
writeAttributes
static void writeAttributes(DataOutput out, ConstantPool constant_pool, Attribute[] attributes) throws IOException - Throws:
IOException
-
attributes_length
-