headroom-0.1.0.0: License Header Manager
Copyright(c) 2019-2020 Vaclav Svejcar
LicenseBSD-3
Maintainervaclav.svejcar@gmail.com
Stabilityexperimental
PortabilityPOSIX
Safe HaskellNone
LanguageHaskell2010

Headroom.Header.Impl.Java

Description

Support for detecting license header in Java source code files.

Synopsis

Documentation

headerSizeJava :: Text -> Int Source #

Returns size of license header (as number of lines) in given Java source code. Current implementation is pretty simple and it only takes line starting with one of the following keywords as the start of code itself:

  • package