proguard.AppView Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proguard-base Show documentation
Show all versions of proguard-base Show documentation
ProGuard is a free shrinker, optimizer, obfuscator, and preverifier for Java bytecode
/*
* ProGuard -- shrinking, optimization, obfuscation, and preverification
* of Java bytecode.
*
* Copyright (c) 2002-2021 Guardsquare NV
*/
package proguard;
import proguard.classfile.*;
import proguard.configuration.InitialStateInfo;
import proguard.io.ExtraDataEntryNameMap;
import proguard.resources.file.ResourceFilePool;
public class AppView
{
// App model.
public final ClassPool programClassPool;
public final ClassPool libraryClassPool;
public final ResourceFilePool resourceFilePool;
public final ExtraDataEntryNameMap extraDataEntryNameMap;
/**
* Stores information about the original state of the program class pool used for configuration debugging.
*/
public InitialStateInfo initialStateInfo;
public AppView(ClassPool programClassPool, ClassPool libraryClassPool)
{
this(programClassPool, libraryClassPool, new ResourceFilePool(), new ExtraDataEntryNameMap());
}
public AppView()
{
this(new ClassPool(), new ClassPool(), new ResourceFilePool(), new ExtraDataEntryNameMap());
}
public AppView(ClassPool programClassPool,
ClassPool libraryClassPool,
ResourceFilePool resourceFilePool,
ExtraDataEntryNameMap extraDataEntryNameMap)
{
this.programClassPool = programClassPool;
this.resourceFilePool = resourceFilePool;
this.libraryClassPool = libraryClassPool;
this.extraDataEntryNameMap = extraDataEntryNameMap;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy