Examples of findClass()


Examples of org.eclipse.jdt.internal.core.builder.ClasspathLocation.findClass()

      }
      ICompilationUnit workingCopy = (ICompilationUnit) this.workingCopies.get(qualifiedTypeName);
      if (workingCopy != null) {
        answer = new NameEnvironmentAnswer(workingCopy, null /*no access restriction*/);
      } else {
        answer = location.findClass(
          sourceFileName, // doesn't include the file extension
          qPackageName,
          qSourceFileName)// doesn't include the file extension
      }
    } else {
View Full Code Here

Examples of org.eclipse.sapphire.Context.findClass()

            final String packageName = packageRef.getName().text();
           
            if( packageName != null )
            {
                final String fullClassName = packageName + "." + className;
                final Class<?> cl = context.findClass( fullClassName );
               
                if( cl != null )
                {
                    return cl;
                }
View Full Code Here

Examples of org.intellij.grammar.java.JavaHelper.findClass()

  public static void checkClassAvailability(@NotNull Project project, @Nullable String className, @Nullable String description) {
    if (StringUtil.isEmpty(className)) return;

    JavaHelper javaHelper = JavaHelper.getJavaHelper(project);
    if (javaHelper.findClass(className) == null) {
      String tail = StringUtil.isEmpty(description) ? "" : " (" + description + ")";
      addWarning(project, "class not found: " + className + tail);
    }
  }
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.