Examples of AJProjectModelFacade


Examples of org.eclipse.ajdt.core.model.AJProjectModelFacade

    return AspectJCore.create(handle);
  }

  public static Set<IMethod> getDeclaredMethods(IType type) throws JavaModelException {
    Set<IMethod> methods = new HashSet<IMethod>();
    AJProjectModelFacade model = AJProjectModelFactory.getInstance().getModelForJavaElement(type);
    if (model.hasModel()) {
      List<IJavaElement> elements = model.getRelationshipsForElement(type, AJRelationshipManager.ASPECT_DECLARATIONS);
      for (IJavaElement element : elements) {
        if (element instanceof IntertypeElement) {
          methods.add((IMethod) element);
        }
      }
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.