getSourceRange() Returns the source range associated with this element.
abstractpublic boolean
isBinary() Returns whether this context is for a class file.
Method Detail
create
public static RefactoringStatusContext create(IMember member)(Code)
Creates an status entry context for the given member
Parameters: member - the java member for which the context is supposed to be created the status entry context or null if thecontext cannot be created
Creates an status entry context for the given import declaration
Parameters: declaration - the import declaration for which the context is supposed to be created the status entry context or null if thecontext cannot be created
Creates an status entry context for the given method binding
Parameters: method - the method binding for which the context is supposed to be created the status entry context or Context.NULL_CONTEXT if thecontext cannot be created
create
public static RefactoringStatusContext create(ITypeRoot typeRoot)(Code)
Creates an status entry context for the given type root.
Parameters: typeRoot - the type root containing the error the status entry context or Context.NULL_CONTEXT if thecontext cannot be created
Creates an status entry context for the given type root and source range.
Parameters: typeRoot - the type root containing the error Parameters: range - the source range that has caused the error or null if the source range is unknown the status entry context or null if thecontext cannot be created
Creates an status entry context for the given type root and AST node.
Parameters: typeRoot - the type root containing the error Parameters: node - an astNode denoting the source range that has caused the error the status entry context or Context.NULL_CONTEXT if thecontext cannot be created
Creates an status entry context for the given type root and selection.
Parameters: typeRoot - the type root containing the error Parameters: selection - a selection denoting the source range that has caused the error the status entry context or Context.NULL_CONTEXT if thecontext cannot be created