public static List<PointerType> getAllPointerTypesForPOS(POS pos) { List<PointerType> types = new ArrayList<>(); for (PointerType pt : ALL_TYPES) { if (pt.appliesTo(pos)) { types.add(pt); } } return Collections.unmodifiableList(types); }
public static List<PointerType> getAllPointerTypesForPOS(POS pos) { List<PointerType> types = new ArrayList<>(); for (PointerType pt : ALL_TYPES) { if (pt.appliesTo(pos)) { types.add(pt); } } return Collections.unmodifiableList(types); }