Package org.eclipse.php.internal.core.typeinference.goals

Examples of org.eclipse.php.internal.core.typeinference.goals.AbstractMethodReturnTypeGoal


  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();
    }
View Full Code Here


                evalMultiType = new MultiTypeType();
              }
              isMulti = true;
              typeName = multi.group(1);
            }
            AbstractMethodReturnTypeGoal goal = (AbstractMethodReturnTypeGoal) getGoal();
            IType[] types = goal.getTypes();
            if (typeName.equals(SELF_RETURN_TYPE) && types != null) {
              for (IType t : types) {
                IEvaluatedType type = getEvaluatedType(
                    PHPModelUtils.getFullName(t), null);
                if (type != null) {
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.core.typeinference.goals.AbstractMethodReturnTypeGoal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.