Package org.eclipse.wb.internal.core.model.description

Examples of org.eclipse.wb.internal.core.model.description.AbstractInvocationDescription


  public void openCommand() {
    if (getCreationSupport() instanceof ConstructorCreationSupport) {
      ConstructorCreationSupport creationSupport =
          (ConstructorCreationSupport) getCreationSupport();
      ClassInstanceCreation creation = creationSupport.getCreation();
      AbstractInvocationDescription description = creationSupport.getDescription();
      List<Expression> arguments = DomGenerics.arguments(creation);
      openCommand(description, arguments);
    }
    if (getCreationSupport() instanceof ImplicitFactoryCreationSupport) {
      ImplicitFactoryCreationSupport creationSupport =
          (ImplicitFactoryCreationSupport) getCreationSupport();
      MethodInvocation invocation = creationSupport.getInvocation();
      AbstractInvocationDescription description = creationSupport.getDescription();
      List<Expression> arguments = DomGenerics.arguments(invocation);
      openCommand(description, arguments);
    }
  }
View Full Code Here

TOP

Related Classes of org.eclipse.wb.internal.core.model.description.AbstractInvocationDescription

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.