static enum ExtractPrototypeMemberDeclarations.Pattern extends java.lang.Enum<ExtractPrototypeMemberDeclarations.Pattern>
Enum Constant and Description |
---|
USE_GLOBAL_TEMP |
USE_IIFE |
Modifier and Type | Field and Description |
---|---|
private int |
globalOverhead |
private int |
perExtractionOverhead |
private int |
perMemberOverhead |
Modifier and Type | Method and Description |
---|---|
static ExtractPrototypeMemberDeclarations.Pattern |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ExtractPrototypeMemberDeclarations.Pattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ExtractPrototypeMemberDeclarations.Pattern USE_GLOBAL_TEMP
public static final ExtractPrototypeMemberDeclarations.Pattern USE_IIFE
private final int globalOverhead
private final int perExtractionOverhead
private final int perMemberOverhead
public static ExtractPrototypeMemberDeclarations.Pattern[] values()
for (ExtractPrototypeMemberDeclarations.Pattern c : ExtractPrototypeMemberDeclarations.Pattern.values()) System.out.println(c);
public static ExtractPrototypeMemberDeclarations.Pattern valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null