Package com.strobel.assembler.metadata

Examples of com.strobel.assembler.metadata.VariableDefinition


        for (final Variable v : variables) {
            if (v.isGenerated()) {
                nv.addExistingName(v.getName());
            }
            else {
                final VariableDefinition originalVariable = v.getOriginalVariable();

                if (originalVariable != null) {
/*
                    if (originalVariable.isFromMetadata() && originalVariable.hasName()) {
                        v.setName(originalVariable.getName());
                        continue;
                    }
*/

                    final String varName = originalVariable.getName();

                    if (StringUtilities.isNullOrEmpty(varName) || varName.startsWith("V_") || !isValidName(varName)) {
                        v.setName(null);
                    }
                    else {
View Full Code Here


    public final boolean isParameter() {
        if (_originalParameter != null) {
            return true;
        }

        final VariableDefinition originalVariable = _originalVariable;

        return originalVariable != null &&
               originalVariable.isParameter();
    }
View Full Code Here

        if (originalParameter != null) {
            return originalParameter;
        }

        final VariableDefinition originalVariable = _originalVariable;

        if (originalVariable != null) {
            return originalVariable.getParameter();
        }

        return null;
    }
View Full Code Here

TOP

Related Classes of com.strobel.assembler.metadata.VariableDefinition

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.