Is it possible to do this in java without problems? My IDE highlights my code as "Raw use of parameterized class 'Etat' " and "Unchecked call to 'add(E)' as a member of raw type 'java.util.ArrayList'" My code :
public abstract class Etat<T extends Transition> {}
public abstract class Transition<E extends Etat> {}