Examples of PHPThisClassType


Examples of org.eclipse.php.internal.core.typeinference.PHPThisClassType

              && realType != null
              && declaringType.getElementName().equals(
                  node.getName())) {
            if (realType.getParent() instanceof IType) {
              IType ns = (IType) realType.getParent();
              instanceType = new PHPThisClassType(
                  ns.getElementName(),
                  realType.getElementName(), realType);
            } else {
              instanceType = new PHPThisClassType(
                  realType.getElementName(), realType);
            }
          } else {
            instanceType = new PHPTraitType(node.getName());
          }
View Full Code Here

Examples of org.eclipse.php.internal.core.typeinference.PHPThisClassType

  public void setCurrentType(IType type) {
    this.type = type;
    if (type != null) {
      if (type.getParent() instanceof IType) {
        IType ns = (IType) type.getParent();
        instanceType = new PHPThisClassType(ns.getElementName(),
            type.getElementName(), type);
      } else {
        instanceType = new PHPThisClassType(type.getElementName(), type);
      }

    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.