Skip to content

Add Constraint Annotations #24

@tobiasstamann

Description

@tobiasstamann

On Annotation:

  • AccompaniedByAnnotations
  • AccompaniedByAnnotation(Class annotation, Anchor)
  • MustImplementInterfaces()
  • MustImplementInterface(Class interface, Anchor)
  • MustExtendClass(Class type, Reference)
  • MustDeclareMethod(String name, Class... paramTypes,Modifier... modifier)
  • MustHavePublicNoargsConstructor()
  • MustHaveConstructor(Class... paramTypes,Modifier... modifier)
  • NameMustMatchRegex(Anchor, String regexp)

On AnnotationAttributes:

  • MustMatchRegularExpression (String ... regularExpressions)
  • AccessPath (String accessPath, Anchor)
  • Min / Max

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions