1 Star 0 Fork 0

ChinaLym / shoulder-lombok

Create your Gitee Account
Explore and code with more than 6 million developers,Free private repositories !:)
Sign up
Clone or download
Cancel
Notice: Creating folder will generate an empty file .keep, because not support in Git
Loading...
README.md

Shoulder-Lombok

scm: gitee or github

a lombok ext for shoulder-framework.

  • add a special annotation(@SLog) for Simplify use shoulder-framework.

Usage ?

Maven

add this dependency into your pom.xml

        <dependency>
            <groupId>cn.itlym.shoulder</groupId>
            <artifactId>lombok</artifactId>
            <version>0.1</version>
        </dependency>

or

    <properties>
        <!-- shoulder-lombok -->
        <shoulder-lombok.version>0.1</shoulder-lombok.version>
    </properties>

    <dependencies>
        <dependency>
            <groupId>cn.itlym.shoulder</groupId>
            <artifactId>lombok</artifactId>
            <version>${shoulder-lombok.version}</version>
        </dependency>
    </dependencies>

Better experience in Intellij IDEA

Download and install shoulder lombok-intellij-plugin from gitee or github

what will happen when use @SLog before your class ?

It will auto generate code like this while compiling.

private static final org.shoulder.core.log.Logger log = org.shoulder.core.log.LoggerFactory.getLogger(TargetType.class);

pic


To better use it in IDEA, see

Comments ( 0 )

Sign in for post a comment

About

实现了 Shoulder 语法糖(利用JAP,在 JAVA 编译时自动生成代码)。进一步解放使用者的双手~ 配合 shoulder-lombok-idea-plugin 食用更香~ spread retract
Cancel

Releases (1)

All

Contributors

All

Activities

load more
can not load any more
Java
1
https://gitee.com/ChinaLym/shoulder-lombok.git
git@gitee.com:ChinaLym/shoulder-lombok.git
ChinaLym
shoulder-lombok
shoulder-lombok
master

Search