private void initFieldsValues ( TypeElement component , MethodSpec . Builder createdMethodBuilder ) { // Do not init instance fields for abstract components if ( component . getModifiers ( ) . contains ( Modifier . ABSTRACT ) ) { return ; } createdMethodBuilder . addStatement ( "$T.initComponentInstanceFields(this, new $T())" , VueGWTTools . class , component ) ; }
Init fields at creation by using an instance of the Java class