package com.bio4j.angulillos;

interface HasFromArity { Arity fromArity(); }
interface HasToArity   { Arity   toArity(); }

/* ### Arities */
public enum Arity {

  One,        // Exactly one: X
  AtMostOne,  // One or none: Optional[X]
  AtLeastOne, // Non-empty list: NEList[X]
  Any;        // Usual list: List[X]

  /* #### In-arities */
  interface FromAtLeastOne extends FromAny, HasFromArity { default Arity fromArity() { return Arity.AtLeastOne; } }
  interface FromOne        extends FromAtLeastOne, FromAtMostOne, HasFromArity { default Arity fromArity() { return Arity.One; } }
  interface FromAtMostOne  extends FromAny, HasFromArity { default Arity fromArity() { return Arity.AtMostOne; } }
  interface FromAny        extends HasFromArity { default Arity fromArity() { return Arity.Any; } }

  /* #### Out-arities */
  interface ToAtLeastOne extends ToAny, HasToArity { default Arity toArity() { return Arity.AtLeastOne; } }
  interface ToOne        extends ToAtLeastOne, ToAtMostOne, HasToArity { default Arity toArity() { return Arity.One; } }
  interface ToAtMostOne  extends ToAny, HasToArity { default Arity toArity() { return Arity.AtMostOne; } }
  interface ToAny        extends HasToArity { default Arity toArity() { return Arity.Any; } }
}

@@ -329,32 +329,39 @@
 In-arities */%0A  
+public 
 interface FromAt
@@ -452,32 +452,39 @@
 LeastOne; %7D %7D%0A  
+public 
 interface FromOn
@@ -590,32 +590,39 @@
 rity.One; %7D %7D%0A  
+public 
 interface FromAt
@@ -712,32 +712,39 @@
 tMostOne; %7D %7D%0A  
+public 
 interface FromAn
@@ -853,16 +853,23 @@
 es */%0A  
+public 
 interfac
@@ -960,32 +960,39 @@
 LeastOne; %7D %7D%0A  
+public 
 interface ToOne 
@@ -1088,32 +1088,39 @@
 rity.One; %7D %7D%0A  
+public 
 interface ToAtMo
@@ -1210,16 +1210,23 @@
 ; %7D %7D%0A  
+public 
 interfac

make nested arity interfaces public --Codacy was wrong