Package com.strobel.assembler.ir.attributes

Examples of com.strobel.assembler.ir.attributes.InnerClassEntry


        if (dollarIndex == length - 1) {
            dollarIndex = -1;
        }

        if (dollarIndex >= 0) {
            final InnerClassEntry entry = findInnerClassEntry(name);

            if (entry != null) {
                final String innerClassName = entry.getInnerClassName();
                final int packageEnd = innerClassName.lastIndexOf('/');
                final String shortName = StringUtilities.isNullOrEmpty(entry.getShortName()) ? null : entry.getShortName();
                final String qualifiedName = packageEnd < 0 ? innerClassName : innerClassName.substring(packageEnd + 1).replace('/', '.');

                final TypeReference declaringType;

                if (!StringUtilities.isNullOrEmpty(entry.getOuterClassName())) {
                    declaringType = makeNamedType(entry.getOuterClassName().replace('/', '.'));
                }
                else {
                    int lastDollarIndex = name.lastIndexOf('$');

                    while (lastDollarIndex >= 1 &&
View Full Code Here


    }

    public TypeReference makeNamedType(final String name) {
        final int length = name.length();

        final InnerClassEntry entry = findInnerClassEntry(name);

        if (entry != null) {
            final String innerClassName = entry.getInnerClassName();
            final int packageEnd = innerClassName.lastIndexOf('/');
            final String shortName = StringUtilities.isNullOrEmpty(entry.getShortName()) ? null : entry.getShortName();
            final TypeReference declaringType;

            if (!StringUtilities.isNullOrEmpty(entry.getOuterClassName())) {
                declaringType = makeNamedType(entry.getOuterClassName().replace('/', '.'));
            }
            else {
                int lastDollarIndex = name.lastIndexOf('$');

                while (lastDollarIndex >= 1 &&
View Full Code Here

TOP

Related Classes of com.strobel.assembler.ir.attributes.InnerClassEntry

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.