Package org.gjt.jclasslib.structures.constants

Examples of org.gjt.jclasslib.structures.constants.ConstantInvokeDynamicInfo


    public void show(TreePath treePath) {

        int constantPoolIndex = constantPoolIndex(treePath);

        try {
            ConstantInvokeDynamicInfo entry = (ConstantInvokeDynamicInfo)services.getClassFile().getConstantPoolEntry(constantPoolIndex, ConstantInvokeDynamicInfo.class);

            constantPoolHyperlink(lblNameAndType,
                lblNameAndTypeVerbose,
                entry.getNameAndTypeIndex());

            classAttributeIndexHyperlink(lblBootstrap,
                null,
                entry.getBootstrapMethodAttributeIndex(), BootstrapMethodsAttribute.class, "BootstrapMethods #");

        } catch (InvalidByteCodeException ex) {
            lblNameAndTypeVerbose.setText(MESSAGE_INVALID_CONSTANT_POOL_ENTRY);
        }
View Full Code Here

TOP

Related Classes of org.gjt.jclasslib.structures.constants.ConstantInvokeDynamicInfo

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.