Package com.sun.tools.classfile

Examples of com.sun.tools.classfile.Signature


                    print(indent);
                    print(kind.text);
                    print(" generic local ");
                    print(entry.index);
                    print(" // ");
                    Descriptor d = new Signature(entry.signature_index);
                    try {
                        print(d.getFieldType(constant_pool).toString().replace("/", "."));
                    } catch (InvalidDescriptor e) {
                        print(report(e));
                    } catch (ConstantPoolException e) {
                        print(report(e));
                    }
View Full Code Here


        if (sigAttr == null) {
            d = m.descriptor;
            methodType = null;
            methodExceptions = null;
        } else {
            Signature methodSig = sigAttr.getParsedSignature();
            d = methodSig;
            try {
                methodType = (Type.MethodType) methodSig.getType(constant_pool);
                methodExceptions = methodType.throwsTypes;
                if (methodExceptions != null && methodExceptions.isEmpty())
                    methodExceptions = null;
            } catch (ConstantPoolException e) {
                // report error?
View Full Code Here

TOP

Related Classes of com.sun.tools.classfile.Signature

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.