Package org.pdtextensions.internal.corext.refactoring.rename

Examples of org.pdtextensions.internal.corext.refactoring.rename.RenameConstantProcessor


    case IModelElement.FIELD:
      if (((IField) element).getDeclaringType() == null) {
        return new RenameSupport(new RenameLocalVariableProcessor((IField) element), newName, flags);
      } else {
        if (PHPFlags.isConstant(((IField) element).getFlags())) {
          return new RenameSupport(new RenameConstantProcessor((IField) element), newName, flags);
        } else if (PHPFlags.isStatic(((IField) element).getFlags())) {
          return new RenameSupport(new RenameStaticPropertyProcessor((IField) element), newName, flags);
        } else {
          return new RenameSupport(new RenamePropertyProcessor((IField) element), newName, flags);
        }
View Full Code Here

TOP

Related Classes of org.pdtextensions.internal.corext.refactoring.rename.RenameConstantProcessor

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.