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

lanchon.multidexlib2.BasicDexEntry Maven / Gradle / Ivy

The newest version!
/*
 * multidexlib2 - Copyright 2015-2022 Rodrigo Balerdi
 * (GNU General Public License version 3 or later)
 *
 * multidexlib2 is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published
 * by the Free Software Foundation, either version 3 of the License,
 * or (at your option) any later version.
 */

package lanchon.multidexlib2;

import javax.annotation.Nonnull;

import com.android.tools.smali.dexlib2.iface.DexFile;
import com.android.tools.smali.dexlib2.iface.MultiDexContainer;
import com.android.tools.smali.dexlib2.iface.MultiDexContainer.DexEntry;

public class BasicDexEntry, D extends DexFile>
		implements DexEntry {

	private final C container;
	private final String entryName;
	private final D dexFile;

	public BasicDexEntry(C container, String entryName, D dexFile) {
		this.container = container;
		this.entryName = entryName;
		this.dexFile = dexFile;
	}

	@Nonnull
	@Override
	public String getEntryName() {
		return entryName;
	}

	@Nonnull
	@Override
	public C getContainer() {
		return container;
	}

	@Nonnull
	@Override
	public D getDexFile() {
		return dexFile;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy