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

de.florianmichael.asmfabricloader.api.event.InstrumentationEntrypoint Maven / Gradle / Ivy

/*
 * This file is part of AsmFabricLoader - https://github.com/FlorianMichael/AsmFabricLoader
 * Copyright (C) 2023-2024 FlorianMichael/EnZaXD 
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package de.florianmichael.asmfabricloader.api.event;

import java.lang.instrument.Instrumentation;

/**
 * This entrypoint gets called when the instrumentation is set up and the class loader is ready to load classes.
 */
public interface InstrumentationEntrypoint {

    void onGetInstrumentation(final Instrumentation instrumentation);

    static String getEntrypointName() {
        return "afl:instrumentation";
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy