Package org.noname.designer.core.internal.evaluators

Source Code of org.noname.designer.core.internal.evaluators.MethodInvocationEvaluatorFactory

package org.noname.designer.core.internal.evaluators;

import org.eclipse.jdt.core.dom.MethodInvocation;
import org.noname.designer.core.interfaces.IEvaluator;

public class MethodInvocationEvaluatorFactory extends ASTEvaluatorFactory {

  @Override
  protected IEvaluator createEvaluator(Object adaptable) {
    if(adaptable instanceof MethodInvocation){
      MethodInvocation mi = (MethodInvocation) adaptable;
      return new MethodInvocationEvaluator(mi);
    }
    return null;
  }

}
TOP

Related Classes of org.noname.designer.core.internal.evaluators.MethodInvocationEvaluatorFactory

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.