Enum FrameComparator.FrameMismatch.Location
- java.lang.Object
-
- java.lang.Enum<FrameComparator.FrameMismatch.Location>
-
- com.tonic.analysis.verifier.stackmap.FrameComparator.FrameMismatch.Location
-
- All Implemented Interfaces:
Serializable,Comparable<FrameComparator.FrameMismatch.Location>
- Enclosing class:
- FrameComparator.FrameMismatch
public static enum FrameComparator.FrameMismatch.Location extends Enum<FrameComparator.FrameMismatch.Location>
Which frame area the mismatch is in.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FrameComparator.FrameMismatch.LocationvalueOf(String name)Returns the enum constant of this type with the specified name.static FrameComparator.FrameMismatch.Location[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCALS
public static final FrameComparator.FrameMismatch.Location LOCALS
A local variable slot disagrees; reported as non-critical, since a wider declared local can still verify.
-
STACK
public static final FrameComparator.FrameMismatch.Location STACK
An operand stack slot or the stack depth disagrees; always reported as critical.
-
-
Method Detail
-
values
public static FrameComparator.FrameMismatch.Location[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FrameComparator.FrameMismatch.Location c : FrameComparator.FrameMismatch.Location.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FrameComparator.FrameMismatch.Location valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-