Class AttributeUtils
java.lang.Object
org.aspectj.apache.bcel.classfile.AttributeUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
accept
(Attribute[] attributes, ClassVisitor visitor) static Code
getCodeAttribute
(Attribute[] attributes) static ConstantValue
getConstantValueAttribute
(Attribute[] attributes) static ExceptionTable
getExceptionTableAttribute
(Attribute[] attributes) static Signature
getSignatureAttribute
(Attribute[] attributes) static SourceFile
getSourceFileAttribute
(Attribute[] attributes) static boolean
hasSyntheticAttribute
(Attribute[] attributes) static Attribute[]
readAttributes
(DataInputStream dataInputstream, ConstantPool cpool) static void
writeAttributes
(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 IOException Write (serialize) a set of attributes into a specified output stream- Throws:
IOException
-
getSignatureAttribute
-
getCodeAttribute
-
getExceptionTableAttribute
-
getConstantValueAttribute
-
accept
-
hasSyntheticAttribute
-
getSourceFileAttribute
-