New Check: ForbidPrivateTypesAsMethodReturnTypeCheck #67

romani opened this Issue Nov 3, 2012 · 2 comments

4 participants

open source initiative member

Private inner types(Classes, Interfaces, enums) should NOT be placed as return type for public method. We need to ignore such types if they are extends or implements smth (usually public interface) so clients of such class could keep them by public interface.

@BinnaryWolf BinnaryWolf was assigned Nov 3, 2012
@romani romani assigned alexkravin and unassigned BinnaryWolf Jul 7, 2014
@daniilyar daniilyar changed the title from New Check: FobidPrivateTypesAsMethodReturnTypeCheck to New Check: ForbidPrivateTypesAsMethodReturnTypeCheck Jul 14, 2014
@daniilyar daniilyar closed this Aug 15, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment