public class ClassNameExtractor extends Object implements ContextExtractor
Constructor and Description |
---|
ClassNameExtractor() |
Modifier and Type | Method and Description |
---|---|
String |
getPrefix(ITextViewer source,
int currentPosition)
If the last character is a space it returns an empty String
If not it returns the last substring up to a space
|
public String getPrefix(ITextViewer source, int currentPosition)
getPrefix
in interface ContextExtractor