Package com.antlersoft.analyzer

Examples of com.antlersoft.analyzer.DBClass


    DBType found=null;
    try
    {
      if ( base_type==null)
      {
        DBClass referenced=(DBClass)db.findWithIndex( DBClass.CLASS_NAME_INDEX, name);
        if ( referenced!=null)
        {
          found=DBType.getFromClass( db, referenced);
          if ( array_references.length()>0)
            found=(DBType)db.findWithIndex( DBType.TYPE_KEY_INDEX,
View Full Code Here


   * try to find sourceToFind in all Java projects
   */
  private IJavaElement findTypeInAllJavaProjects(SourceObject sourceToFind)
    throws JavaModelException {

  DBClass notContainedClass = sourceToFind.getDBClass();
  while (notContainedClass.getContainingClass() != null)
  {
    notContainedClass = notContainedClass.getContainingClass();
  }
    String fullyQualifiedName = notContainedClass.getName();

    // for all projects

    IWorkspaceRoot root = ResourcesPlugin.getWorkspace().getRoot();
    IProject[] projects = root.getProjects();
View Full Code Here

TOP

Related Classes of com.antlersoft.analyzer.DBClass

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.