butterknife
butterknife copied to clipboard
findBindingInfoForType(..) I don't understand debug into this fun
I made a lot of class and supper class ,can not debug into this fun Please make one for me .thx
Maybe I don't know this public <A extends Annotation> A getAnnotation(Class<A> annotationClass)
@JakeWharton
I don't know what you're asking, but this project is in maintenance mode. Consider switching to view binding.

findAllSupertypeBindings()
processedInThisRound All has @BindXXX class
for(..) {
//process superclass before subclass ...
Deque<TypeElement> superClasses = new ArrayDeque<>();
TypeElement superClass = getSuperClass(typeElement);
A class superclass is Object
SimpleActivity superclass is Activity -> ContextThemeWrapper ...
they're all Object or Activity->ContextThemeWrapper in deque
while (!superClasses.isEmpty()) {
ClasspathBindingSet classpathBinding =
findBindingInfoForType(superclass, requireViewInConstructor, supportedAnnotations,
parentHasConstructorWithView);
findBindingInfoForType(TypeElement typeElement, .. ){
for (){
for (){
typeElement is Object , Object(),getClass(),hashCode()
search OnClick OnCheckedChanged in superClass Object ???
this function all ways null , classpathBinding = null ???
maybe i didnt think of it ,maybe my step was wrong
}
}
}
hello~😀
hello brother~ 你好 兄弟~ お兄さん ~ Can you t teach me 😭 @JakeWharton