Package com.google.dart.engine.type

Examples of com.google.dart.engine.type.ParameterizedType


  @Override
  @SuppressWarnings("unchecked")
  public <E extends Element> E getAncestor(Class<E> elementClass) {
    E element = getBaseElement().getAncestor(elementClass);
    ParameterizedType definingType = getDefiningType();
    if (definingType instanceof InterfaceType) {
      InterfaceType definingInterfaceType = (InterfaceType) definingType;
      if (element instanceof ConstructorElement) {
        return (E) ConstructorMember.from((ConstructorElement) element, definingInterfaceType);
      } else if (element instanceof MethodElement) {
View Full Code Here

TOP

Related Classes of com.google.dart.engine.type.ParameterizedType

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.