Package proguard.classfile.editor
Class ClassEstimates
- java.lang.Object
-
- proguard.classfile.editor.ClassEstimates
-
public class ClassEstimates extends java.lang.ObjectTypical 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 intTYPICAL_BOOTSTRAP_METHODS_ATTRIBUTE_SIZEstatic intTYPICAL_CODE_LENGTHstatic intTYPICAL_CONSTANT_POOL_SIZEstatic intTYPICAL_EXCEPTION_TABLE_LENGTHstatic intTYPICAL_FIELD_COUNTstatic intTYPICAL_LINE_NUMBER_TABLE_LENGTHstatic intTYPICAL_METHOD_COUNTstatic intTYPICAL_PARAMETER_COUNTstatic intTYPICAL_STACK_SIZEstatic intTYPICAL_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
-
-