Package fr.xlim.ssd.capmanipulator.library

Examples of fr.xlim.ssd.capmanipulator.library.StaticFieldRef


        if ((fieldDescriptorInfo.getAccesFlags() & FieldDescriptorInfo.ACC_STATIC) >>> 3 == 1) {
            //the field is a Static Field
            StaticField fieldRef = new StaticField();
            fieldDescriptorInfo.setFieldRef(fieldRef);
            StaticFieldRef sFieldRef = new StaticFieldRefRead().load(in);
            ((StaticField) fieldRef).setStaticField(sFieldRef);

        } else {
            //the fied is an instance field
            ClassRef classref = new ClassRefRead().load(in);
View Full Code Here


     * @return a StaticFieldRef object (internal or external classref)
     * @throws java.io.IOException
     */
    public StaticFieldRef load(CapInputStream in)
            throws UnableToReadCapFileException {
        StaticFieldRef staticFieldRef;
        Byte buf = in.readByte();

        //if the most significant bit is 0 it's an internalStaticFieldRef
        if ((buf & 0x80) == 0) {
            short offset = in.readShort();
View Full Code Here

TOP

Related Classes of fr.xlim.ssd.capmanipulator.library.StaticFieldRef

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.