Package jadx.api.metadata.annotations
Class VarNode
java.lang.Object
jadx.api.metadata.annotations.VarNode
- All Implemented Interfaces:
ICodeAnnotation,ICodeNodeRef
Variable info
-
Nested Class Summary
Nested classes/interfaces inherited from interface jadx.api.metadata.ICodeAnnotation
ICodeAnnotation.AnnType -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionVarNode(MethodNode mth, int reg, int ssa, ArgType type, String name) protectedVarNode(MethodNode mth, SSAVar ssaVar) -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic @Nullable VarNodeget(MethodNode mth, CodeVar codeVar) static @Nullable VarNodeget(MethodNode mth, RegisterArg reg) static @Nullable VarNodeget(MethodNode mth, SSAVar ssaVar) intgetMth()@Nullable StringgetName()static @Nullable ICodeAnnotationgetRef(MethodNode mth, RegisterArg reg) intgetReg()intgetSsa()getType()inthashCode()voidsetDefPosition(int pos) voidtoString()
-
Field Details
-
mth
-
reg
private final int reg -
ssa
private final int ssa -
type
-
name
-
defPos
private int defPos -
varRef
-
-
Constructor Details
-
VarNode
-
VarNode
-
-
Method Details
-
get
-
get
-
get
-
getRef
-
getMth
-
getReg
public int getReg() -
getSsa
public int getSsa() -
getType
-
getName
-
setName
-
getVarRef
-
getDefPosition
public int getDefPosition()- Specified by:
getDefPositionin interfaceICodeNodeRef
-
setDefPosition
public void setDefPosition(int pos) - Specified by:
setDefPositionin interfaceICodeNodeRef
-
getAnnType
- Specified by:
getAnnTypein interfaceICodeAnnotation
-
hashCode
public int hashCode() -
equals
-
toString
-