bean.java

来自「proguard 一个java的混淆器」· Java 代码 · 共 55 行

JAVA
55
字号
import proguard.annotation.*;/** * This bean illustrates the use of annotations for configuring ProGuard. * * After having been compiled, it can be processed using: *     java -jar proguard.jar @examples.pro * * The annotations will preserve the class and its public getters and setters. */@Keep@KeepPublicGettersSetterspublic class Bean{    public boolean booleanProperty;    public int     intProperty;    public String  stringProperty;    public boolean isBooleanProperty()    {        return booleanProperty;    }    public void setBooleanProperty(boolean booleanProperty)    {        this.booleanProperty = booleanProperty;    }    public int getIntProperty()    {        return intProperty;    }    public void setIntProperty(int intProperty)    {        this.intProperty = intProperty;    }    public String getStringProperty()    {        return stringProperty;    }    public void setStringProperty(String stringProperty)    {        this.stringProperty = stringProperty;    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?