Package 

Annotation InternalApi


  • @Target(allowedTargets = {AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY, AnnotationTarget.CLASS}) 
    public @interface InternalApi
    
                        

    This annotation marks given method or property as internal, meaning it shouldn't be used outside of Datadog modules and it can be changed at any moment.

    This annotation participates in the lint check provided by the InternalApiUsageDetector.

    Note: Don't use this annotation on interfaces / non-final classes, because implementation will be flagged as internal as a whole, put it on individual methods/properties instead.