Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for findPsi (7.28 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/symbols/KtFirConstructorSymbol.kt

    import org.jetbrains.kotlin.analysis.api.fir.KtFirAnalysisSession
    import org.jetbrains.kotlin.analysis.api.fir.annotations.KtFirAnnotationListForDeclaration
    import org.jetbrains.kotlin.analysis.api.fir.findPsi
    import org.jetbrains.kotlin.analysis.api.fir.symbols.pointers.FirCallableSignature
    import org.jetbrains.kotlin.analysis.api.fir.symbols.pointers.KtFirConstructorSymbolPointer
    Plain Text
    - Registered: Fri Feb 23 08:18:11 GMT 2024
    - Last Modified: Tue Nov 07 09:06:00 GMT 2023
    - 4K bytes
    - Viewed (0)
  3. 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)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

                    documentationRoot = project.layout.projectDirectory.dir('docsRoot')
                    javadocRoot = documentationRoot.dir('javadoc')
                }
            """
        }
    
        def "finds broken section links"() {
            given:
            sampleDoc << """
    === Dead Section Links
    This section doesn't exist: <<missing_section>>
    Also see this one, which is another dead link: <<other_missing_section>>
            """
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Nov 28 22:01:54 GMT 2022
    - 7.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java

    import com.google.common.eventbus.EventBus;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Abstract base class for tests that EventBus finds the correct subscribers.
     *
     * <p>The actual tests are distributed among the other classes in this package based on whether they
     * are annotated or abstract in the superclass.
     *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  6. 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)
  7. guava-tests/test/com/google/common/eventbus/outside/AbstractEventBusTest.java

    import com.google.common.eventbus.EventBus;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Abstract base class for tests that EventBus finds the correct subscribers.
     *
     * <p>The actual tests are distributed among the other classes in this package based on whether they
     * are annotated or abstract in the superclass.
     *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:19:38 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  8. internal/s3select/sql/stringfuncs.go

    		default:
    			s = append(s, r)
    		}
    
    	}
    	if hasLeadingPercent {
    		return strings.HasSuffix(text, string(s)), nil
    	}
    	return string(s) == text, nil
    }
    
    // matcher - Finds `pat` in `text`, and returns the part remainder of
    // `text`, after the match. If leadingPercent is false, `pat` must be
    // the prefix of `text`, otherwise it must be a substring.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  9. 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)
  10. maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepository.java

        //
        /**
         *
         * @param artifact an artifact
         * @return found artifact
         * @since 3.0-alpha-3
         */
        Artifact find(Artifact artifact);
    
        /**
         * Finds the versions of the specified artifact that are available in this repository.
         *
         * @param artifact The artifact whose available versions should be determined, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Feb 23 17:14:45 GMT 2023
    - 4.2K bytes
    - Viewed (0)
Back to top