protected ArrayList < AptControlField > initControls ( ) { ArrayList < AptControlField > controls = new ArrayList < AptControlField > ( ) ; if ( _clientDecl == null || _clientDecl . getFields ( ) == null ) return controls ; Collection < FieldDeclaration > declaredFields = _clientDecl . getFields ( ) ; for ( FieldDeclaration fieldDecl : declaredFields ) { if ( fieldDecl . getAnnotation ( org . apache . beehive . controls . api . bean . Control . class ) != null ) controls . add ( new AptControlField ( this , fieldDecl , _ap ) ) ; } return controls ; }
Initializes the list of ControlFields declared directly by this ControlClient