Examples of validateMethodName()


Examples of org.python.pydev.refactoring.core.validator.NameValidator.validateMethodName()

            cellValidator.validate();
        }

        RefactoringStatus status = new RefactoringStatus();
        NameValidator nameValidator = new NameValidator(status, scopeAdapter);
        nameValidator.validateMethodName(getFunctionName());
        nameValidator.validateUniqueFunction(getFunctionName());

        if (status.hasError()) {
            page.setErrorMessage(status.getMessageMatchingSeverity(RefactoringStatus.WARNING));
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.