org.aspectj.apache.bcel.classfile
Class AttributeUtils
java.lang.Object
org.aspectj.apache.bcel.classfile.AttributeUtils
public class AttributeUtils
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttributeUtils
public AttributeUtils()
readAttributes
public static Attribute[] readAttributes(java.io.DataInputStream dataInputstream,
ConstantPool cpool)
writeAttributes
public static void writeAttributes(Attribute[] attributes,
java.io.DataOutputStream file)
throws java.io.IOException
- Write (serialize) a set of attributes into a specified output stream
- Throws:
java.io.IOException
getSignatureAttribute
public static Signature getSignatureAttribute(Attribute[] attributes)
getCodeAttribute
public static Code getCodeAttribute(Attribute[] attributes)
getExceptionTableAttribute
public static ExceptionTable getExceptionTableAttribute(Attribute[] attributes)
getConstantValueAttribute
public static ConstantValue getConstantValueAttribute(Attribute[] attributes)
accept
public static void accept(Attribute[] attributes,
ClassVisitor visitor)
hasSyntheticAttribute
public static boolean hasSyntheticAttribute(Attribute[] attributes)
getSourceFileAttribute
public static SourceFile getSourceFileAttribute(Attribute[] attributes)