Package org.springframework.ide.eclipse.quickfix.processors

Examples of org.springframework.ide.eclipse.quickfix.processors.PropertyAttributeQuickAssistProcessor


      else if (ERROR_ID_NO_SETTER.equals(errorId)) {
        String propertyName = marker.getAttribute("PROPERTY", null);
        if (className != null && propertyName != null && file != null) {
          NodeInfo nodeInfo = findNodeInfo(marker, BeansSchemaConstants.ATTR_NAME, propertyName);
          if (nodeInfo != null) {
            proposals = new PropertyAttributeQuickAssistProcessor(nodeInfo.offset, nodeInfo.length,
                className, propertyName, file.getProject(), false,
                PropertyAttributeQuickAssistProcessor.Type.SETTER).computeQuickAssistProposals(null);
          }
        }
      }
      else if (ERROR_ID_NO_GETTER.equals(errorId)) {
        String propertyName = marker.getAttribute("PROPERTY", null);
        if (className != null && propertyName != null && file != null) {
          NodeInfo nodeInfo = findNodeInfo(marker, BeansSchemaConstants.ATTR_NAME, propertyName);
          if (nodeInfo != null) {
            proposals = new PropertyAttributeQuickAssistProcessor(nodeInfo.offset, nodeInfo.length,
                className, propertyName, file.getProject(), false,
                PropertyAttributeQuickAssistProcessor.Type.GETTER).computeQuickAssistProposals(null);
          }
        }
      }
View Full Code Here

TOP

Related Classes of org.springframework.ide.eclipse.quickfix.processors.PropertyAttributeQuickAssistProcessor

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.