Package org.jf.dexlib2.analysis.util
Class TypeProtoUtils
java.lang.Object
org.jf.dexlib2.analysis.util.TypeProtoUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanextendsFrom(TypeProto candidate, String possibleSuper) static TypeProtogetSuperclassChain(TypeProto typeProto) Get the chain of superclasses of the given class.
-
Constructor Details
-
TypeProtoUtils
public TypeProtoUtils()
-
-
Method Details
-
getSuperclassChain
Get the chain of superclasses of the given class. The first element will be the immediate superclass followed by it's superclass, etc. up to java.lang.Object. Returns an empty iterable if called on java.lang.Object or a primitive. If any class in the superclass chain can't be resolved, the iterable will return Ujava/lang/Object; to represent the unknown class.- Returns:
- An iterable containing the superclasses of this class.
-
getSuperclassAsTypeProto
-
extendsFrom
-