protected IMethod[] getMethods() {
return getMethodsAndTypes().methods;
}
protected MethodsAndTypes getMethodsAndTypes() {
AbstractMethodReturnTypeGoal typedGoal = (AbstractMethodReturnTypeGoal) goal;
ISourceModule sourceModule = ((ISourceModuleContext) goal.getContext())
.getSourceModule();
IType[] types = typedGoal.getTypes();
String methodName = typedGoal.getMethodName();
IContext context = typedGoal.getContext();
IModelAccessCache cache = null;
if (context instanceof IModelCacheContext) {
cache = ((IModelCacheContext) context).getCache();
}