Package org.eclipse.jdt.internal.core.JavaProjectElementInfo

Examples of org.eclipse.jdt.internal.core.JavaProjectElementInfo.ProjectCache


    if (isExternal)
      resourcePath = resource.getLocation();

    try {
      JavaProjectElementInfo projectInfo = (JavaProjectElementInfo) getJavaModelManager().getInfo(project);
      ProjectCache projectCache = projectInfo == null ? null : projectInfo.projectCache;
      HashtableOfArrayToObject allPkgFragmentsCache = projectCache == null ? null : projectCache.allPkgFragmentsCache;
      boolean isJavaLike = org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(resourcePath.lastSegment());
      IClasspathEntry[] entries = isJavaLike ? project.getRawClasspath() // JAVA file can only live inside SRC folder (on the raw path)
          : ((JavaProject)project).getResolvedClasspath();
View Full Code Here


    if (isExternal)
      resourcePath = resource.getLocation();

    try {
      JavaProjectElementInfo projectInfo = (JavaProjectElementInfo) getJavaModelManager().getInfo(project);
      ProjectCache projectCache = projectInfo == null ? null : projectInfo.projectCache;
      HashtableOfArrayToObject allPkgFragmentsCache = projectCache == null ? null : projectCache.allPkgFragmentsCache;
      boolean isJavaLike = org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(resourcePath.lastSegment());
      IClasspathEntry[] entries = isJavaLike ? project.getRawClasspath() // JAVA file can only live inside SRC folder (on the raw path)
          : ((JavaProject)project).getResolvedClasspath();
View Full Code Here

    if (isExternal)
      resourcePath = resource.getLocation();

    try {
      JavaProjectElementInfo projectInfo = (JavaProjectElementInfo) getJavaModelManager().getInfo(project);
      ProjectCache projectCache = projectInfo == null ? null : projectInfo.projectCache;
      HashtableOfArrayToObject allPkgFragmentsCache = projectCache == null ? null : projectCache.allPkgFragmentsCache;
      boolean isJavaLike = org.eclipse.jdt.internal.core.util.Util.isJavaLikeFileName(resourcePath.lastSegment());
      IClasspathEntry[] entries = isJavaLike ? project.getRawClasspath() // JAVA file can only live inside SRC folder (on the raw path)
          : ((JavaProject)project).getResolvedClasspath();
View Full Code Here

TOP

Related Classes of org.eclipse.jdt.internal.core.JavaProjectElementInfo.ProjectCache

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.