Package org.apache.jdo.impl.enhancer.classfile

Examples of org.apache.jdo.impl.enhancer.classfile.GenericAttribute


        //^olsen: move non-modifying code to Analyzer
        final byte[] data = new byte[2];
        data[0] = (byte)(SUNJDO_PC_EnhancedVersion >>> 8);
        data[1] = (byte)(SUNJDO_PC_EnhancedVersion & 0xff);
        final ClassAttribute annotatedAttr
            = new GenericAttribute(
                classFile.pool().addUtf8(SUNJDO_PC_EnhancedAttribute),
                data);
        classFile.attributes().addElement(annotatedAttr);
    }
View Full Code Here


        //^olsen: move non-modifying code to Analyzer
        final byte[] data = new byte[2];
        data[0] = (byte)(SUNJDO_PC_EnhancedVersion >>> 8);
        data[1] = (byte)(SUNJDO_PC_EnhancedVersion & 0xff);
        final ClassAttribute annotatedAttr
            = new GenericAttribute(
                classFile.pool().addUtf8(SUNJDO_PC_EnhancedAttribute),
                data);
        classFile.attributes().addElement(annotatedAttr);
    }
View Full Code Here

TOP

Related Classes of org.apache.jdo.impl.enhancer.classfile.GenericAttribute

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.