@Override
    public List<String> getAllInformations() {
        ArrayList<String> strings = new ArrayList<>(descriptors);
        strings.add(type);
        return strings;
    }
@Override
    public List<String> getAllInformations() {
        ArrayList<String> strings = new ArrayList<>(descriptors);
        strings.add(type);
        return strings;
    }
@ Override public List < String > getAllInformations ( ) { ArrayList < String > strings = new ArrayList <> ( descriptors ) ; strings . add ( type ) ; return strings ; }
returns a List containing all the Descriptors and the type.
@return a List containing the Descriptors
returns a List containing all the Descriptors and the type .