Skip to content
This repository was archived by the owner on Jun 18, 2023. It is now read-only.
This repository was archived by the owner on Jun 18, 2023. It is now read-only.

the Aoplib4JReadonly aspect #91

@GoogleCodeExporter

Description

@GoogleCodeExporter
The goal would be to implement the equivalent of the C# readonly keyword.

The definition of the C# readonly:
"Identifies a field as being read-only. Read-only fields are more flexible than 
constants because they can be initialized at declaration or within an instance 
constructor. Static read-only fields can be initialized at declaration or 
within a static constructor."

The implementation can contain a @Aoplib4jReadOnly annotation; only the fields 
can be annotated.

Another idea would be to annotate also the classes and then ALL the fields will 
became readonly; the fields that cannot be readonly should be annotated with 
@Aoplib4jReaonlyException (it's a good idea ?!) 

Original issue reported on code.google.com by adyc...@gmail.com on 22 Jan 2011 at 5:14

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions