public class SmartFixManager extends Object implements MouseMotionListener, KeyListener
| Modifier and Type | Class and Description |
|---|---|
static class |
SmartFixManager.ReplaceChunk |
static class |
SmartFixManager.SmartFixMode |
| Constructor and Description |
|---|
SmartFixManager(GosuEditor gosuEditor) |
public static final String SHORTCUT
public SmartFixManager(GosuEditor gosuEditor)
public void performFix()
public JTextComponent getEditor()
public void setEditor(JTextComponent editor)
public IParsedElement getSourceOfIssue()
public void setSourceOfIssue(IParsedElement sourceOfIssue)
public int getOffset()
public void setOffset(int offset)
public int getLength()
public void setLength(int length)
public GosuEditor getGosuEditor()
public void setGosuEditor(GosuEditor gosuEditor)
public void updateState()
public void resetSmartHelpState()
public void showSmartFix(int offset,
int length,
String displayText)
public SmartFixManager.SmartFixMode getMode()
public IParsedElement getPeToFixWithAsStatement()
public IParsedElement getJavaStyleCast()
public String getTypeToCoerceTo()
public void mouseDragged(MouseEvent e)
mouseDragged in interface MouseMotionListenerpublic void mouseMoved(MouseEvent e)
mouseMoved in interface MouseMotionListenerpublic void keyTyped(KeyEvent e)
keyTyped in interface KeyListenerpublic void keyPressed(KeyEvent e)
keyPressed in interface KeyListenerpublic void keyReleased(KeyEvent e)
keyReleased in interface KeyListenerpublic static boolean isCaseParseIssue(IParseIssue parseIssue)
public static SmartFixManager.ReplaceChunk getReplaceChunk(IParsedElement sourceOfIssue, String gosuSource)
Copyright © 2022. All rights reserved.