Buggy code:
public class BuildableTextureAtlas < S extends ITextureAtlasSource , T extends ITextureAtlas < S > > implements IBuildableTextureAtlas < S , T > { private final T mTextureAtlas ; private final ArrayList < BuildableTextureAtlas . TextureAtlasSourceWithWithLocationCallback < S > > mTextureAtlasSourcesToPlace = new ArrayList < BuildableTextureAtlas . TextureAtlasSourceWithWithLocationCallback < S > > ( ) ; public BuildableTextureAtlas ( final T pTextureAtlas ) { } @ Override public int getWidth ( ) { } @ Override public int getHeight ( ) { } @ Override public int getHardwareTextureID ( ) { } @ Override public boolean isLoadedToHardware ( ) { } @ Override public void setLoadedToHardware ( final boolean pLoadedToHardware ) { } @ Override public boolean isUpdateOnHardwareNeeded ( ) { } @ Override public void setUpdateOnHardwareNeeded ( final boolean pUpdateOnHardwareNeeded ) { } @ Override public BuildableTextureAtlas < S , T > load ( final TextureManager pTextureManager ) { } @ Override public BuildableTextureAtlas < S , T > unload ( final TextureManager pTextureManager ) { } @ Override public void loadToHardware ( final GLState pGLState ) throws IOException { } @ Override public void unloadFromHardware ( final GLState pGLState ) { } @ Override public void reloadToHardware ( final GLState pGLState ) throws IOException { } @ Override public void bind ( final GLState pGLState ) { } @ Override public void bind ( final GLState pGLState , final int pGLActiveTexture ) { } @ Override public PixelFormat getPixelFormat ( ) { } @ Override public TextureOptions getTextureOptions ( ) { } @ Override @ Deprecated public void addTextureAtlasSource ( final S pTextureAtlasSource , final int pTextureX , final int pTextureY ) { } @ Override @ Deprecated public void addTextureAtlasSource ( final S pTextureAtlasSource , final int pTextureX , final int pTextureY , final int pTextureAtlasSourcePadding ) { <START_BUG> this . addTextureAtlasSource ( pTextureAtlasSource , pTextureX , pTextureY , pTextureAtlasSourcePadding ) ; <END_BUG> } @ Override public void removeTextureAtlasSource ( final S pTextureAtlasSource , final int pTextureX , final int pTextureY ) { } @ Override public void clearTextureAtlasSources ( ) { } @ Deprecated @ Override public boolean hasTextureStateListener ( ) { } @ Override public boolean hasTextureAtlasStateListener ( ) { } @ Deprecated @ Override public ITextureAtlasStateListener < S > getTextureStateListener ( ) { } @ Override public ITextureAtlasStateListener < S > getTextureAtlasStateListener ( ) { } @ Deprecated @ Override public void setTextureStateListener ( final ITextureStateListener pTextureStateListener ) { } @ Override public void setTextureAtlasStateListener ( final ITextureAtlasStateListener < S > pTextureAtlasStateListener ) { } @ Override public void addEmptyTextureAtlasSource ( final int pTextureX , final int pTextureY , final int pWidth , final int pHeight ) { } @ Override public void addTextureAtlasSource ( final S pTextureAtlasSource , final Callback < S > pCallback ) { } @ Override public void removeTextureAtlasSource ( final ITextureAtlasSource pTextureAtlasSource ) { } @ Override public IBuildableTextureAtlas < S , T > build ( final ITextureAtlasBuilder < S , T > pTextureAtlasBuilder ) throws TextureAtlasBuilderException { } public static class TextureAtlasSourceWithWithLocationCallback < T extends ITextureAtlasSource > { private final T mTextureAtlasSource ; private final Callback < T > mCallback ; public TextureAtlasSourceWithWithLocationCallback ( final T pTextureAtlasSource , final Callback < T > pCallback ) { } public T getTextureAtlasSource ( ) { } public Callback < T > getCallback ( ) { } } }

Fix:
this . mTextureAtlas . addTextureAtlasSource ( pTextureAtlasSource , pTextureX , pTextureY , pTextureAtlasSourcePadding ) ;