Code Monkey home page Code Monkey logo

org.hawkinssoftware.rns-ast-analyzer's Introduction

RNS Java AST Analyzer for Eclipse

The compile-time component of [Role Normalization and Synthesis] parent, this Eclipse plugin implements publication constraints on public Java types and methods.

Artifact

An Eclipse plugin containing:

  1. RNS Build Analyzer, a project builder
  2. RNS Project Nature
    • extends the core Java Nature
  3. Problem markers for calling out code that violates the developer's architectural constraints

Installation

  1. Install the plugin into your Eclipse workspace.
  2. Activate the analyzer for any project by right-clicking it in the Package Explorer and selecting Toggle RNS Nature.

Usage

The developer specifies publication constraints using annotations:

  1. @InvocationConstraint restricts invocation of methods
  2. @VisibilityConstraint restricts visibility of types
  3. @ExtensionConstraint restricts extension of types (including implementation of interfaces)

Workspace errors will indicate any violations to RNS constraints (within any project having the RNS Nature)

Known Issues

  1. Performance is quite poor, especially for large projects with heavily integrated class hierarchies. Many improvements can be made, but this is only a prototype and does not warrant the effort.
  2. The plugin currently is not able to identify every violation during incremental builds. It overlooks a few, and will find them when a directly related file is touched. This is a bug and will be fixed.

org.hawkinssoftware.rns-ast-analyzer's People

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.