Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for findPsi (5.26 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/psiUtils.kt

        else -> null
    }
    
    fun FirElement.findPsi(): PsiElement? =
        getAllowedPsi()
    
    fun FirBasedSymbol<*>.findPsi(): PsiElement? {
        return if (this is FirCallableSymbol<*>) {
            fir.unwrapFakeOverridesOrDelegated().findPsi()
        } else {
            fir.findPsi()
        } ?: FirSyntheticFunctionInterfaceSourceProvider.findPsi(fir)
    }
    
    /**
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Mar 22 16:46:56 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/FirSyntheticFunctionInterfaceSourceProvider.kt

    import org.jetbrains.kotlin.name.StandardClassIds
    import org.jetbrains.kotlin.psi.KtClassOrObject
    
    //todo introduce LibraryModificationTracker based cache?
    internal object FirSyntheticFunctionInterfaceSourceProvider {
        fun findPsi(fir: FirDeclaration): PsiElement? {
            return when (fir) {
                is FirSimpleFunction -> provideSourceForInvokeFunction(fir)
                is FirClass -> provideSourceForFunctionClass(fir)
                else -> null
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Jun 02 14:27:26 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ProfileActivationFilePathInterpolator.java

    import org.codehaus.plexus.interpolation.InterpolationException;
    import org.codehaus.plexus.interpolation.MapBasedValueSource;
    import org.codehaus.plexus.interpolation.RegexBasedInterpolator;
    
    /**
     * Finds an absolute path for {@link ActivationFile#getExists()} or {@link ActivationFile#getMissing()}
     *
     */
    @Named
    @Singleton
    public class ProfileActivationFilePathInterpolator {
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ProjectBuildList.java

            return items.stream()
                    .filter(pb -> taskSegment == pb.getTaskSegment())
                    .collect(Collectors.toMap(ProjectSegment::getProject, Function.identity()));
        }
    
        /**
         * Finds the first ProjectSegment matching the supplied project
         * @param mavenProject the requested project
         * @return The projectSegment or null.
         */
        public ProjectSegment findByMavenProject(MavenProject mavenProject) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/project/collector/MultiModuleCollectionStrategy.java

            return projects.stream().map(MavenProject::getFile).anyMatch(request.getPom()::equals);
        }
    
        /**
         * This method finds out whether collecting projects failed because of the following scenario:
         * - A multi-module project containing a module which is a plugin and another module which depends on it.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 09:07:17 GMT 2023
    - 9.1K bytes
    - Viewed (0)
  6. cni/pkg/repair/netns.go

    		return nil, err
    	}
    
    	if len(routes) == 0 {
    		return nil, fmt.Errorf("no routes found for %s", ip)
    	}
    
    	linkIndex := routes[0].LinkIndex
    	return netlink.LinkByIndex(linkIndex)
    }
    
    // getPodNetNs finds the network namespace for a given pod. There is not a great way to do this. Network namespaces live
    // under the procfs, /proc/<pid>/ns/net. In majority of cases, this is not used directly, but is rather bind mounted to
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Dec 20 22:14:13 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  7. istioctl/pkg/metrics/metrics.go

    		Short: "Prints the metrics for the specified workload(s) when running in Kubernetes.",
    		Long: `
    Prints the metrics for the specified service(s) when running in Kubernetes.
    
    This command finds a Prometheus pod running in the specified istio system
    namespace. It then executes a series of queries per requested workload to
    find the following top-level workload metrics: total requests per second,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
Back to top