Package jadx.api.data.impl
Class JadxCodeRef
- java.lang.Object
-
- jadx.api.data.impl.JadxCodeRef
-
- All Implemented Interfaces:
IJavaCodeRef,java.lang.Comparable<IJavaCodeRef>
public class JadxCodeRef extends java.lang.Object implements IJavaCodeRef
-
-
Constructor Summary
Constructors Constructor Description JadxCodeRef()JadxCodeRef(CodeRefType attachType, int index)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)static JadxCodeRefforCatch(int handlerOffset)static JadxCodeRefforInsn(int offset)static JadxCodeRefforMthArg(int argIndex)static JadxCodeRefforVar(int regNum, int ssaVersion)static JadxCodeRefforVar(JavaVariable javaVariable)static JadxCodeRefforVar(VarNode varNode)CodeRefTypegetAttachType()intgetIndex()inthashCode()voidsetAttachType(CodeRefType attachType)voidsetIndex(int index)java.lang.StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jadx.api.data.IJavaCodeRef
compareTo
-
-
-
-
Constructor Detail
-
JadxCodeRef
public JadxCodeRef(CodeRefType attachType, int index)
-
JadxCodeRef
public JadxCodeRef()
-
-
Method Detail
-
forInsn
public static JadxCodeRef forInsn(int offset)
-
forMthArg
public static JadxCodeRef forMthArg(int argIndex)
-
forVar
public static JadxCodeRef forVar(int regNum, int ssaVersion)
-
forVar
public static JadxCodeRef forVar(JavaVariable javaVariable)
-
forVar
public static JadxCodeRef forVar(VarNode varNode)
-
forCatch
public static JadxCodeRef forCatch(int handlerOffset)
-
getAttachType
public CodeRefType getAttachType()
- Specified by:
getAttachTypein interfaceIJavaCodeRef
-
setAttachType
public void setAttachType(CodeRefType attachType)
-
getIndex
public int getIndex()
- Specified by:
getIndexin interfaceIJavaCodeRef
-
setIndex
public void setIndex(int index)
-
equals
public boolean equals(java.lang.Object o)
- 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
-
-