Package proguard.classfile.editor
Class ClassEstimates
- java.lang.Object
-
- proguard.classfile.editor.ClassEstimates
-
public class ClassEstimates extends java.lang.Object
Typical sizes, counts, and lengths for elements in class files. These can be useful as initial sizes when creating or editing them.
-
-
Field Summary
Fields Modifier and Type Field Description static int
TYPICAL_BOOTSTRAP_METHODS_ATTRIBUTE_SIZE
static int
TYPICAL_CODE_LENGTH
static int
TYPICAL_CONSTANT_POOL_SIZE
static int
TYPICAL_EXCEPTION_TABLE_LENGTH
static int
TYPICAL_FIELD_COUNT
static int
TYPICAL_LINE_NUMBER_TABLE_LENGTH
static int
TYPICAL_METHOD_COUNT
static int
TYPICAL_PARAMETER_COUNT
static int
TYPICAL_STACK_SIZE
static int
TYPICAL_VARIABLES_SIZE
-
Constructor Summary
Constructors Constructor Description ClassEstimates()
-
-
-
Field Detail
-
TYPICAL_CONSTANT_POOL_SIZE
public static final int TYPICAL_CONSTANT_POOL_SIZE
- See Also:
- Constant Field Values
-
TYPICAL_FIELD_COUNT
public static final int TYPICAL_FIELD_COUNT
- See Also:
- Constant Field Values
-
TYPICAL_METHOD_COUNT
public static final int TYPICAL_METHOD_COUNT
- See Also:
- Constant Field Values
-
TYPICAL_PARAMETER_COUNT
public static final int TYPICAL_PARAMETER_COUNT
- See Also:
- Constant Field Values
-
TYPICAL_CODE_LENGTH
public static final int TYPICAL_CODE_LENGTH
- See Also:
- Constant Field Values
-
TYPICAL_LINE_NUMBER_TABLE_LENGTH
public static final int TYPICAL_LINE_NUMBER_TABLE_LENGTH
- See Also:
- Constant Field Values
-
TYPICAL_EXCEPTION_TABLE_LENGTH
public static final int TYPICAL_EXCEPTION_TABLE_LENGTH
- See Also:
- Constant Field Values
-
TYPICAL_VARIABLES_SIZE
public static final int TYPICAL_VARIABLES_SIZE
- See Also:
- Constant Field Values
-
TYPICAL_STACK_SIZE
public static final int TYPICAL_STACK_SIZE
- See Also:
- Constant Field Values
-
TYPICAL_BOOTSTRAP_METHODS_ATTRIBUTE_SIZE
public static final int TYPICAL_BOOTSTRAP_METHODS_ATTRIBUTE_SIZE
- See Also:
- Constant Field Values
-
-