Package jadx.api.data.impl
Class JadxNodeRef
java.lang.Object
jadx.api.data.impl.JadxNodeRef
- All Implemented Interfaces:
IJavaNodeRef,Comparable<IJavaNodeRef>
-
Nested Class Summary
Nested classes/interfaces inherited from interface jadx.api.data.IJavaNodeRef
IJavaNodeRef.RefType -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Comparator<IJavaNodeRef> private Stringprivate IJavaNodeRef.RefTypeprivate @Nullable String -
Constructor Summary
ConstructorsConstructorDescriptionJadxNodeRef(IJavaNodeRef.RefType refType, String declClass, @Nullable String shortId) -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(@NotNull IJavaNodeRef other) booleanstatic JadxNodeRefstatic JadxNodeRefstatic JadxNodeRefstatic @Nullable JadxNodeRefforJavaNode(JavaNode javaNode) static JadxNodeRefforMth(JavaMethod mth) static JadxNodeRefprivate static StringgetClassRefStr(JavaClass cls) @Nullable StringgetType()inthashCode()voidsetDeclClass(String declClass) voidsetRefType(IJavaNodeRef.RefType refType) voidsetShortId(@Nullable String shortId) toString()
-
Field Details
-
refType
-
declClass
-
shortId
-
COMPARATOR
-
-
Constructor Details
-
JadxNodeRef
public JadxNodeRef(IJavaNodeRef.RefType refType, String declClass, @Nullable @Nullable String shortId) -
JadxNodeRef
public JadxNodeRef()
-
-
Method Details
-
forJavaNode
-
forCls
-
forCls
-
forMth
-
forFld
-
forPkg
-
getClassRefStr
-
getType
- Specified by:
getTypein interfaceIJavaNodeRef
-
setRefType
-
getDeclaringClass
- Specified by:
getDeclaringClassin interfaceIJavaNodeRef
-
setDeclClass
-
getShortId
- Specified by:
getShortIdin interfaceIJavaNodeRef
-
setShortId
-
compareTo
- Specified by:
compareToin interfaceComparable<IJavaNodeRef>
-
hashCode
public int hashCode() -
equals
-
toString
-