@Test(expected=IllegalArgumentException.class) public void testEventListenersAddNull() { lib.addEventListener(null); }
public LibShapeDraw addEventListener(LSDEventListener listener) { if (listener == null) { throw new IllegalArgumentException("listener cannot be null"); } eventListeners.add(listener); return this; }
LibShapeDraw { public LibShapeDraw addEventListener(LSDEventListener listener) { if (listener == null) { throw new IllegalArgumentException("listener cannot be null"); } eventListeners.add(listener); return this; } }
LibShapeDraw { public LibShapeDraw addEventListener(LSDEventListener listener) { if (listener == null) { throw new IllegalArgumentException("listener cannot be null"); } eventListeners.add(listener); return this; } LibShapeDraw();  LibShapeDraw(String ownerId); }
LibShapeDraw { public LibShapeDraw addEventListener(LSDEventListener listener) { if (listener == null) { throw new IllegalArgumentException("listener cannot be null"); } eventListeners.add(listener); return this; } LibShapeDraw();  LibShapeDraw(String ownerId); boolean unregister(); @Deprecated static String getVersion(); @Deprecated static boolean isControllerInitialized(); LibShapeDraw verifyInitialized(); MinecraftAccess getMinecraftAccess(); boolean isVisible(); LibShapeDraw setVisible(boolean visible); boolean isVisibleWhenHidingGui(); LibShapeDraw setVisibleWhenHidingGui(boolean visibleWhenHidingGui); Set<Shape> getShapes(); LibShapeDraw addShape(Shape shape); LibShapeDraw removeShape(Shape shape); LibShapeDraw clearShapes(); Set<LSDEventListener> getEventListeners(); LibShapeDraw addEventListener(LSDEventListener listener); LibShapeDraw removeEventListener(LSDEventListener listener); LibShapeDraw clearEventListeners(); boolean debugDump(); String getInstanceId(); @Override String toString(); }
LibShapeDraw { public LibShapeDraw addEventListener(LSDEventListener listener) { if (listener == null) { throw new IllegalArgumentException("listener cannot be null"); } eventListeners.add(listener); return this; } LibShapeDraw();  LibShapeDraw(String ownerId); boolean unregister(); @Deprecated static String getVersion(); @Deprecated static boolean isControllerInitialized(); LibShapeDraw verifyInitialized(); MinecraftAccess getMinecraftAccess(); boolean isVisible(); LibShapeDraw setVisible(boolean visible); boolean isVisibleWhenHidingGui(); LibShapeDraw setVisibleWhenHidingGui(boolean visibleWhenHidingGui); Set<Shape> getShapes(); LibShapeDraw addShape(Shape shape); LibShapeDraw removeShape(Shape shape); LibShapeDraw clearShapes(); Set<LSDEventListener> getEventListeners(); LibShapeDraw addEventListener(LSDEventListener listener); LibShapeDraw removeEventListener(LSDEventListener listener); LibShapeDraw clearEventListeners(); boolean debugDump(); String getInstanceId(); @Override String toString();  }