1 11 12 package org.eclipse.jdt.internal.ui.refactoring.contentassist; 13 14 import org.eclipse.jdt.core.ICompilationUnit; 15 16 import org.eclipse.jdt.internal.corext.refactoring.StubTypeContext; 17 18 19 public abstract class CompletionContextRequestor { 20 21 public abstract StubTypeContext getStubTypeContext(); 22 23 public ICompilationUnit getOriginalCu() { 24 return getStubTypeContext().getCuHandle(); 25 } 26 27 public String getBeforeString() { 28 return getStubTypeContext().getBeforeString(); 29 } 30 31 public String getAfterString() { 32 return getStubTypeContext().getAfterString(); 33 } 34 35 } 36 | Popular Tags |