Skip to content

Provide basic rule definitions for fields, methods, constructors... #38

@codecholeric

Description

@codecholeric

We should add to ArchRuleDefinition the factory methods

  • GivenFields fields()
  • GivenMethods methods()
  • GivenConstructors constructors()
  • GivenCodeUnits codeUnits()
  • GivenMembers members()

that provide an easy entrance to speak about the respective objects, i.e. provide a that(predicate) and should(condition) fluent API. At some later point, this API can be extended for generally useful methods like declaredIn(clazz) or similar.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions