| Class | Description |
|---|---|
| Async.MethodNameTransformer |
When a `public void` method has been annotated as `@Async`, ActFramework will
enhance the class by adding an new method as a copy of the original method, the name
of the new method will be the result of calling the original method.
|
| Element |
组合注解 对JDK的原生注解机制做一个增强,支持类似Spring的组合注解。
核心实现使用了递归获取指定元素上的注解以及注解的注解,以实现复合注解的获取。
|
| Annotation Type | Description |
|---|---|
| Alias |
Used to provide an alias to a field name.
|
| Async |
Mark a class or method to as "asynchronous"
|
| ComEager |
公共注解
|
| GuardeBy |
用来标识每个需要加锁的状态变量以及保护该变量的锁。
有助于代码的维护与审查,以及一些自动化的分析工具找到潜在的安全性错误。
|
| Immutable |
不可变类
|
| Label |
Used to provide label for a field/getter when output to CLI table or Excel/CSV etc.
|
| Lazy |
Mark an singleton class to be lazy initialized or a method
that is not subject to eager load (e.g.
|
| Metadata |
元注解
|
| NotThreadSafe |
线程不安全安全注解
|
| ThreadSafe |
线程安全注解
1.此注解放在类上,标识当前类为线程安全的。
2.此注解放在方法上,标识方法是线程安全的。
|
Copyright © 2019. All rights reserved.