Copyright | (c) 2019-2020 Vaclav Svejcar |
---|---|
License | BSD-3-Clause |
Maintainer | vaclav.svejcar@gmail.com |
Stability | experimental |
Portability | POSIX |
Safe Haskell | None |
Language | Haskell2010 |
This module provides extended support for Java source code files. Current implementation includes extracting of package name from currently processed Java source code file.
Synopsis
- extractVariables :: CtHeaderConfig -> Maybe TemplateMeta -> Maybe (Int, Int) -> Text -> Variables
- extractPackageName :: Text -> Maybe Text
Documentation
:: CtHeaderConfig | license header configuration |
-> Maybe TemplateMeta | extracted metadata from corresponding template |
-> Maybe (Int, Int) | license header position |
-> Text | input text |
-> Variables | extracted variables |
Extracts variables from Java source code.
List of Extracted Variables:
_java_package_name
- name of the Java package