kandi X-RAY | scala-macro-aop Summary
kandi X-RAY | scala-macro-aop Summary
scala-macro-aop is a Scala library. scala-macro-aop has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
The @delegate macro annotation can be applied to class parameters. The macro will generate missing methods which delegate calls to the annotated value. Currently the implementation is at a POC stage, doesn’t support overloading, method type parameters or multiple parameter lists. ``scala trait Foo { def method1(): String def method2(p1: String): Long def method3(p1: String): Int def method4(p1: String, p2: Long): String }. class FooImpl extends Foo { def method1() = "m1" def method2(p1: String) = 42L def method3(p1: String) = p1.length() def method4(p1: String, p2: Long) = s"ok $p1 $p2" }. class FooWrapper(@delegate wrapped: Foo) extends Foo { def method2(p1: String) = 41L } ``.
The @delegate macro annotation can be applied to class parameters. The macro will generate missing methods which delegate calls to the annotated value. Currently the implementation is at a POC stage, doesn’t support overloading, method type parameters or multiple parameter lists. ``scala trait Foo { def method1(): String def method2(p1: String): Long def method3(p1: String): Int def method4(p1: String, p2: Long): String }. class FooImpl extends Foo { def method1() = "m1" def method2(p1: String) = 42L def method3(p1: String) = p1.length() def method4(p1: String, p2: Long) = s"ok $p1 $p2" }. class FooWrapper(@delegate wrapped: Foo) extends Foo { def method2(p1: String) = 41L } ``.
Support
Quality
Security
License
Reuse
Support
scala-macro-aop has a low active ecosystem.
It has 46 star(s) with 9 fork(s). There are 6 watchers for this library.
It had no major release in the last 6 months.
There are 2 open issues and 0 have been closed. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of scala-macro-aop is current.
Quality
scala-macro-aop has no bugs reported.
Security
scala-macro-aop has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
scala-macro-aop is licensed under the Apache-2.0 License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
scala-macro-aop releases are not available. You will need to build from source code and install.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of scala-macro-aop
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of scala-macro-aop
scala-macro-aop Key Features
No Key Features are available at this moment for scala-macro-aop.
scala-macro-aop Examples and Code Snippets
No Code Snippets are available at this moment for scala-macro-aop.
Community Discussions
No Community Discussions are available at this moment for scala-macro-aop.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install scala-macro-aop
You can download it from GitHub.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page