Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 278 for CONSTRUCTOR (0.35 sec)

  1. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionPlaceholder.java

                Class<?> clazz = classNameTransformer.transform(type);
                if (clazz != null && causes.size() <= 1) {
                    Constructor<?> constructor = clazz.getConstructor(String.class);
                    Throwable reconstructed = (Throwable) constructor.newInstance(message);
                    if (!causes.isEmpty()) {
                        reconstructed.initCause(causes.get(0));
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java

                }
            }
    
            Constructor<?>[] constructors = source.getDeclaredConstructors();
            for (Constructor<?> constructor : constructors) {
                if (constructor.getParameterTypes().length > 0) {
                    problems.add("Cannot declare a constructor that takes arguments");
                    break;
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 26K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/contracts/firContractUtils.kt

        private fun <T> visitValueParameterReference(
            valueParameterReference: ConeValueParameterReference,
            constructor: (KaParameterSymbol) -> T
        ): T = constructor(
            if (valueParameterReference.parameterIndex == -1) firFunctionSymbol.receiverParameter
                ?: errorWithAttachment("${firFunctionSymbol::class} should contain a receiver") {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 7K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annnotations.kt

     */
    
    package org.jetbrains.kotlin.analysis.api
    
    @Target(
        AnnotationTarget.CLASS,
        AnnotationTarget.PROPERTY,
        AnnotationTarget.CONSTRUCTOR,
        AnnotationTarget.FUNCTION,
        AnnotationTarget.TYPEALIAS
    )
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:22:24 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  5. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/inlineFunctionUsage.ir.txt

          $this: VALUE_PARAMETER INSTANCE_RECEIVER name:<this> type:<root>.CodeFragment
          CONSTRUCTOR visibility:public <> () returnType:<root>.CodeFragment [primary]
            BLOCK_BODY
              DELEGATING_CONSTRUCTOR_CALL 'public constructor <init> () [primary] declared in kotlin.Any'
          FUN name:run visibility:public modality:FINAL <> () returnType:kotlin.Unit
            EXPRESSION_BODY
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Apr 30 10:27:47 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            return isAnnotatedWithIncubating(field) || isAnnotatedWithIncubating(field.jApiClass)
        }
    
        private static boolean isIncubatingConstructor(JApiConstructor constructor) {
            return isAnnotatedWithIncubating(constructor) || isAnnotatedWithIncubating(constructor.jApiClass)
        }
    
        protected boolean isOverride(JApiMethod method) {
            // No point in parsing the source file if the method is not there any more.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/compilerFacility/AbstractCompilerFacilityTest.kt

    import org.jetbrains.kotlin.psi.KtCodeFragment
    import org.jetbrains.kotlin.psi.KtElement
    import org.jetbrains.kotlin.psi.KtFile
    import org.jetbrains.kotlin.psi.KtPsiFactory
    import org.jetbrains.kotlin.test.Constructor
    import org.jetbrains.kotlin.test.builders.TestConfigurationBuilder
    import org.jetbrains.kotlin.test.directives.ConfigurationDirectives
    import org.jetbrains.kotlin.test.directives.JvmEnvironmentConfigurationDirectives
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/compare/comparator.go

    type Comparator struct {
    	envoy, istiod *configdump.Wrapper
    	w             io.Writer
    	context       int
    	location      string
    }
    
    // NewComparator is a comparator constructor
    func NewComparator(w io.Writer, istiodResponses map[string][]byte, envoyResponse []byte) (*Comparator, error) {
    	c := &Comparator{}
    	for _, resp := range istiodResponses {
    		istiodDump := &configdump.Wrapper{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Reader.java

     */
    @Deprecated
    public class MetadataXpp3Reader {
    
        private final MetadataStaxReader delegate;
    
        /**
         * Default constructor
         */
        public MetadataXpp3Reader() {
            delegate = new MetadataStaxReader();
        }
    
        /**
         * Constructor with ContentTransformer
         *
         * @param contentTransformer a transformer
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/FirReferenceResolveHelper.kt

            // If we are at a super-type constructor call, adjust the resolution expression so that we
            // get the constructor instead of the class.
            //
            // For the example:
            //
            // class A {
            //   constructor()
            // }
            // class B: <caret>A()
            //
            // We want to resolve to the secondary constructor in A. Therefore, we check that the caret is at a supertype
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Jun 10 20:18:28 UTC 2024
    - 37K bytes
    - Viewed (0)
Back to top