@ SuppressWarnings ( "unchecked" ) public < T extends ConfigurationSection > T getSection ( Class < T > sectionType ) { for ( ConfigurationSection s : sections ) { if ( sectionType . equals ( s . getClass ( ) ) ) { return ( T ) s ; } } return null ; }
Retrieve a single section from the container .