org.eclipse.cdt.refactoring
Class CRefactoringMatch
java.lang.Object
org.eclipse.cdt.refactoring.CRefactoringMatch
public class CRefactoringMatch
- extends java.lang.Object
A refactoring match initially is a plain text match. In the course of refactoring
it will be classified with a location (comment, code, ...) and with the information
whether it has been verified via AST or not.
Constructor Summary |
CRefactoringMatch(org.eclipse.core.resources.IFile file,
int offset,
int length,
int location)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
POTENTIAL
public static final int POTENTIAL
- See Also:
- Constant Field Values
AST_REFERENCE
public static final int AST_REFERENCE
- See Also:
- Constant Field Values
IN_COMMENT
public static final int IN_COMMENT
- See Also:
- Constant Field Values
AST_REFERENCE_OTHER
public static final int AST_REFERENCE_OTHER
- See Also:
- Constant Field Values
CRefactoringMatch
public CRefactoringMatch(org.eclipse.core.resources.IFile file,
int offset,
int length,
int location)
getAstInformation
public int getAstInformation()
getOffset
public int getOffset()
setLocation
public void setLocation(int location)
getLocation
public int getLocation()
getLength
public int getLength()
getFile
public org.eclipse.core.resources.IFile getFile()
setASTInformation
public void setASTInformation(int val)
getLabel
public java.lang.String getLabel()
isInComment
public boolean isInComment()