Package fr.xlim.ssd.capmanipulator.library

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


                byte cpTag = in.readByte();

                // we will create and add the object corresponding to the cpTag
                switch (cpTag) {
                    case ConstantPoolComponent.TAG_CLASS_REF:
                        ConstantClassRef cClass = new ConstantClassRefRead().load(in);
                        constantPoolComponent.getConstantPool().add(cClass);
                        break;

                    case ConstantPoolComponent.TAG_INSTANCE_FIELD_REF:
                        ConstantInstanceFieldRef cInstF = new ConstantInstanceFieldRefRead().load(in);
View Full Code Here


     *
     * @throws java.io.IOException
     */
    public ConstantClassRef load(CapInputStream in) throws UnableToReadCapFileException {

        ConstantClassRef constantClassRef = new ConstantClassRef();

        constantClassRef.setClassRef(new ClassRefRead().load(in));
        constantClassRef.setPadding(in.readByte());

        return constantClassRef;
    }
View Full Code Here

TOP

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

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.