Class StackMapFrame
- java.lang.Object
-
- proguard.util.SimpleProcessable
-
- proguard.classfile.attribute.preverification.StackMapFrame
-
- All Implemented Interfaces:
java.io.Serializable,Processable
- Direct Known Subclasses:
FullFrame,LessZeroFrame,MoreZeroFrame,SameOneFrame,SameZeroFrame
public abstract class StackMapFrame extends SimpleProcessable
This abstract class represents a stack map frame. Specific types of entries are subclassed from it.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static intFULL_FRAMEstatic intLESS_ZERO_FRAMEstatic intMORE_ZERO_FRAMEstatic intSAME_ONE_FRAMEstatic intSAME_ONE_FRAME_EXTENDEDstatic intSAME_ZERO_FRAMEstatic intSAME_ZERO_FRAME_EXTENDEDintu2offsetDelta-
Fields inherited from class proguard.util.SimpleProcessable
processingFlags, processingInfo
-
-
Constructor Summary
Constructors Constructor Description StackMapFrame()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract voidaccept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, StackMapFrameVisitor stackMapFrameVisitor)Accepts the given visitor.booleanequals(java.lang.Object object)intgetOffsetDelta()Returns the bytecode offset delta relative to the previous stack map frame.abstract intgetTag()Returns the stack map frame tag that specifies the entry type.inthashCode()java.lang.StringtoString()-
Methods inherited from class proguard.util.SimpleProcessable
addProcessingFlags, getProcessingFlags, getProcessingInfo, hasProcessingFlags, removeProcessingFlags, setProcessingFlags, setProcessingInfo
-
-
-
-
Field Detail
-
SAME_ZERO_FRAME
public static final int SAME_ZERO_FRAME
- See Also:
- Constant Field Values
-
SAME_ONE_FRAME
public static final int SAME_ONE_FRAME
- See Also:
- Constant Field Values
-
SAME_ONE_FRAME_EXTENDED
public static final int SAME_ONE_FRAME_EXTENDED
- See Also:
- Constant Field Values
-
LESS_ZERO_FRAME
public static final int LESS_ZERO_FRAME
- See Also:
- Constant Field Values
-
SAME_ZERO_FRAME_EXTENDED
public static final int SAME_ZERO_FRAME_EXTENDED
- See Also:
- Constant Field Values
-
MORE_ZERO_FRAME
public static final int MORE_ZERO_FRAME
- See Also:
- Constant Field Values
-
FULL_FRAME
public static final int FULL_FRAME
- See Also:
- Constant Field Values
-
u2offsetDelta
public int u2offsetDelta
-
-
Method Detail
-
getOffsetDelta
public int getOffsetDelta()
Returns the bytecode offset delta relative to the previous stack map frame.
-
getTag
public abstract int getTag()
Returns the stack map frame tag that specifies the entry type.
-
accept
public abstract void accept(Clazz clazz, Method method, CodeAttribute codeAttribute, int offset, StackMapFrameVisitor stackMapFrameVisitor)
Accepts the given visitor.
-
equals
public boolean equals(java.lang.Object object)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-