Hi,

how can I check if a class is subclasse another in Lint?

For a direct extends, I use node.astExtending() in visitClassDeclaration
method.
But is doesn't works for indirect subclass. Then, I tried
LintClient.isSubclassOf[0], but
is doesn't works too. It's always  returns "null".

There a any LintClient subclass  that override this method?

Someone help me? Thanks.

[0]
https://android.googlesource.com/platform/tools/base/+/master/lint/libs/lint-api/src/main/java/com/android/tools/lint/client/api/LintClient.java


--
Adorilson Bezerra
Mestrando em Engenharia de Software

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adt-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to