Class FrameComparator.FrameMismatch
- java.lang.Object
-
- com.tonic.analysis.verifier.stackmap.FrameComparator.FrameMismatch
-
- Enclosing class:
- FrameComparator
public static class FrameComparator.FrameMismatch extends Object
One difference between a declared and a computed frame slot; critical mismatches are stack-side.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFrameComparator.FrameMismatch.LocationWhich frame area the mismatch is in.
-
Constructor Summary
Constructors Constructor Description FrameMismatch(FrameComparator.FrameMismatch.Location location, int index, VerificationType declared, VerificationType computed, String description, boolean critical)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VerificationTypegetComputed()VerificationTypegetDeclared()StringgetDescription()intgetIndex()FrameComparator.FrameMismatch.LocationgetLocation()booleanisCritical()StringtoString()
-
-
-
Constructor Detail
-
FrameMismatch
public FrameMismatch(FrameComparator.FrameMismatch.Location location, int index, VerificationType declared, VerificationType computed, String description, boolean critical)
-
-
Method Detail
-
getLocation
public FrameComparator.FrameMismatch.Location getLocation()
- Returns:
- the location
-
getIndex
public int getIndex()
- Returns:
- the index
-
getDeclared
public VerificationType getDeclared()
- Returns:
- the declared
-
getComputed
public VerificationType getComputed()
- Returns:
- the computed
-
getDescription
public String getDescription()
- Returns:
- the description
-
isCritical
public boolean isCritical()
- Returns:
- whether critical
-
-