btj / capsules Goto Github PK
View Code? Open in Web Editor NEWA static encapsulation checker and doclet for multi-package Java modules
Home Page: http://btj.github.io/capsules
License: Other
A static encapsulation checker and doclet for multi-package Java modules
Home Page: http://btj.github.io/capsules
License: Other
Exporting an enum requires putting an export annotation on each item
separately. Furthermore, the implicit members, such as the values() method,
cannot be exported.
Thanks to Vincent Goossens for reporting this issue.
The best approach is probably to automatically export all items and all
implicit members of an exported enum.
Original issue reported on code.google.com by [email protected]
on 29 Mar 2012 at 2:30
Consider the following capsule (not fully shown):
@SystemAPI
public class Superclass {
@SystemAPI
public void foo() {}
}
@SystemAPI
public class Subclass extends Superclass {}
Consider the following client code (outside the capsule) (not fully shown):
Subclass subclass = new Subclass();
subclass.foo();
The subclass.foo() call is reported as an error by the capsules checker.
This behavior does not make much sense since the client can access the method
anyway through the following code, which is accepted as correct by the checker:
((Superclass)subclass).foo();
Thanks to Vincent Goossens for reporting this issue.
Original issue reported on code.google.com by [email protected]
on 28 Mar 2012 at 8:43
The requirement that all packages of a capsule are below a single root package
means that many existing codebases need to be rearranged before the capsules
toolkit can be applied to them.
Original issue reported on code.google.com by [email protected]
on 29 Mar 2012 at 2:35
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.