Package spoon.reflect
Class ModelElementContainerDefaultCapacities
java.lang.Object
spoon.reflect.ModelElementContainerDefaultCapacities
Recommended default capacities for containers (primarily
ArrayList
)
of AST model elements. There are mostly only several linked elements, so
using default capacity (10, in case of ArrayList
) is a memory waste.-
Field Summary
Modifier and TypeFieldDescriptionstatic int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
static int
-
Method Summary
-
Field Details
-
PARAMETERS_CONTAINER_DEFAULT_CAPACITY
public static final int PARAMETERS_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
CASTS_CONTAINER_DEFAULT_CAPACITY
public static final int CASTS_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
BLOCK_STATEMENTS_CONTAINER_DEFAULT_CAPACITY
public static final int BLOCK_STATEMENTS_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
CASE_STATEMENTS_CONTAINER_DEFAULT_CAPACITY
public static final int CASE_STATEMENTS_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
FOR_INIT_STATEMENTS_CONTAINER_DEFAULT_CAPACITY
public static final int FOR_INIT_STATEMENTS_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
FOR_UPDATE_STATEMENTS_CONTAINER_DEFAULT_CAPACITY
public static final int FOR_UPDATE_STATEMENTS_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
CATCH_VARIABLE_MULTI_TYPES_CONTAINER_DEFAULT_CAPACITY
public static final int CATCH_VARIABLE_MULTI_TYPES_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
NEW_ARRAY_DEFAULT_EXPRESSIONS_CONTAINER_DEFAULT_CAPACITY
public static final int NEW_ARRAY_DEFAULT_EXPRESSIONS_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
SWITCH_CASES_CONTAINER_DEFAULT_CAPACITY
public static final int SWITCH_CASES_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
CATCH_CASES_CONTAINER_DEFAULT_CAPACITY
public static final int CATCH_CASES_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
RESOURCES_CONTAINER_DEFAULT_CAPACITY
public static final int RESOURCES_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
COMPILATION_UNIT_DECLARED_TYPES_CONTAINER_DEFAULT_CAPACITY
public static final int COMPILATION_UNIT_DECLARED_TYPES_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
COMPILATION_UNIT_IMPORTS_CONTAINER_DEFAULT_CAPACITY
public static final int COMPILATION_UNIT_IMPORTS_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
ANONYMOUS_EXECUTABLES_CONTAINER_DEFAULT_CAPACITY
public static final int ANONYMOUS_EXECUTABLES_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
CONSTRUCTOR_TYPE_PARAMETERS_CONTAINER_DEFAULT_CAPACITY
public static final int CONSTRUCTOR_TYPE_PARAMETERS_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
ANNOTATIONS_CONTAINER_DEFAULT_CAPACITY
public static final int ANNOTATIONS_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
COMMENT_CONTAINER_DEFAULT_CAPACITY
public static final int COMMENT_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
METHOD_TYPE_PARAMETERS_CONTAINER_DEFAULT_CAPACITY
public static final int METHOD_TYPE_PARAMETERS_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
TYPE_TYPE_PARAMETERS_CONTAINER_DEFAULT_CAPACITY
public static final int TYPE_TYPE_PARAMETERS_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
CONSTRUCTOR_CALL_TYPE_PARAMETERS_CONTAINER_DEFAULT_CAPACITY
public static final int CONSTRUCTOR_CALL_TYPE_PARAMETERS_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
FIELDS_CONTAINER_DEFAULT_CAPACITY
public static final int FIELDS_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
TYPE_BOUNDS_CONTAINER_DEFAULT_CAPACITY
public static final int TYPE_BOUNDS_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-
CASE_EXPRESSIONS_CONTAINER_DEFAULT_CAPACITY
public static final int CASE_EXPRESSIONS_CONTAINER_DEFAULT_CAPACITY- See Also:
- Constant Field Values
-