Class AttributeUtils
java.lang.Object
org.aspectj.apache.bcel.classfile.AttributeUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaccept(Attribute[] attributes, ClassVisitor visitor)static CodegetCodeAttribute(Attribute[] attributes)static ConstantValuegetConstantValueAttribute(Attribute[] attributes)static ExceptionTablegetExceptionTableAttribute(Attribute[] attributes)static SignaturegetSignatureAttribute(Attribute[] attributes)static SourceFilegetSourceFileAttribute(Attribute[] attributes)static booleanhasSyntheticAttribute(Attribute[] attributes)static Attribute[]readAttributes(DataInputStream dataInputstream, ConstantPool cpool)static voidwriteAttributes(Attribute[] attributes, DataOutputStream file)Write (serialize) a set of attributes into a specified output stream
-
Constructor Details
-
AttributeUtils
public AttributeUtils()
-
-
Method Details
-
readAttributes
-
writeAttributes
public static void writeAttributes(Attribute[] attributes, DataOutputStream file) throws IOExceptionWrite (serialize) a set of attributes into a specified output stream- Throws:
IOException
-
getSignatureAttribute
-
getCodeAttribute
-
getExceptionTableAttribute
-
getConstantValueAttribute
-
accept
-
hasSyntheticAttribute
-
getSourceFileAttribute
-