Package edu.gatech.cs2110.circuitsim.api
Annotation Type SubcircuitPin
-
@Retention(RUNTIME) public @interface SubcircuitPin
InstructsCircuitSimExtensionto find and inject the Pin component into anInputPinorOutputPinfield in a test class.When you annotate an
InputPinorOutputPinfield in a test class with this,CircuitSimExtensionwill search the subcircuit for a Pin component with direction (input/output) matching the type of the field, bitsizebits(), and labellabel(). Iflabel()is""(the default), it will search for a label matching the name of the field instead.
-
-
-
label
String label
The label of a matching Pin. If empty (the default),CircuitSimExtensionwill use the name of the field.- Returns:
- The label of a matching Pin.
- Default:
- ""
-
-