private void addHashCode(TypeSpec.Builder classBuilder) {
        MethodSpec.Builder methodBuilder = MethodSpec.methodBuilder("hashCode")
                .addModifiers(Modifier.PUBLIC)
                .returns(int.class)
                .addAnnotation(Override.class)
                .addStatement("return _binderID");
        classBuilder.addMethod(methodBuilder.build());
    }
private void addHashCode ( TypeSpec . Builder classBuilder ) { MethodSpec . Builder methodBuilder = MethodSpec . methodBuilder ( "hashCode" ) . addModifiers ( Modifier . PUBLIC ) . returns ( int . class ) . addAnnotation ( Override . class ) . addStatement ( "return _binderID" ) ; classBuilder . addMethod ( methodBuilder . build ( ) ) ; }
Add proxy method to set hashcode to uniqueu id of binder