Package org.eclipse.dltk.core

Examples of org.eclipse.dltk.core.IModelElementVisitor


    @SuppressWarnings("unchecked")
    private void findDeclaration(org.eclipse.dltk.core.ISourceModule sm, final String name,
            final List results, final Class type) {
      try {
        sm.accept(new IModelElementVisitor() {
          public boolean visit(IModelElement element) {
            Class e = element.getClass();
            boolean classCheck = type.isAssignableFrom(e);
            if (element.getElementName().equals(name) && classCheck) {
              results.add(element);
View Full Code Here


    }

    @SuppressWarnings("unchecked")
    private void findLocalDeclaration(final String name, final List results, final Class type) {
      try {
        sourceModule.accept(new IModelElementVisitor() {
          public boolean visit(IModelElement element) {
            Class e = element.getClass();
            boolean classCheck = type.isAssignableFrom(e);
            if (element.getElementName().equals(name) && classCheck) {
              results.add(element);
View Full Code Here

    @SuppressWarnings("unchecked")
    private void findDeclaration(org.eclipse.dltk.core.ISourceModule sm, final String name,
            final List results, final Class type) {
      try {
        sm.accept(new IModelElementVisitor() {
          public boolean visit(IModelElement element) {
            Class e = element.getClass();
            boolean classCheck = type.isAssignableFrom(e);
            if (element.getElementName().equals(name) && classCheck) {
              results.add(element);
View Full Code Here

    }

    @SuppressWarnings("unchecked")
    private void findLocalDeclaration(final String name, final List results, final Class type) {
      try {
        sourceModule.accept(new IModelElementVisitor() {
          public boolean visit(IModelElement element) {
            Class e = element.getClass();
            boolean classCheck = type.isAssignableFrom(e);
            if (element.getElementName().equals(name) && classCheck) {
              results.add(element);
View Full Code Here

TOP

Related Classes of org.eclipse.dltk.core.IModelElementVisitor

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.