All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.jgit.runtime.graalvm.SystemReaderSubstitution Maven / Gradle / Ivy

There is a newer version: 3.3.3
Show newest version
package io.quarkus.jgit.runtime.graalvm;

import java.util.concurrent.atomic.AtomicReference;

import org.eclipse.jgit.storage.file.FileBasedConfig;
import org.eclipse.jgit.util.SystemReader;

import com.oracle.svm.core.annotate.Alias;
import com.oracle.svm.core.annotate.RecomputeFieldValue;
import com.oracle.svm.core.annotate.TargetClass;

@TargetClass(SystemReader.class)
final class SystemReaderSubstitution {

    @Alias
    @RecomputeFieldValue(kind = RecomputeFieldValue.Kind.NewInstance, declClass = AtomicReference.class)
    private AtomicReference systemConfig;

    @Alias
    @RecomputeFieldValue(kind = RecomputeFieldValue.Kind.NewInstance, declClass = AtomicReference.class)
    private AtomicReference userConfig;

    @Alias
    @RecomputeFieldValue(kind = RecomputeFieldValue.Kind.NewInstance, declClass = AtomicReference.class)
    private AtomicReference jgitConfig;

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy