Interface EnumMethodForgeFactory
public interface EnumMethodForgeFactory
Enumeration method extension API for adding enum-methods.
-
Method Summary
Modifier and TypeMethodDescriptioninitialize
(EnumMethodInitializeContext context) Called by the compiler to receive the list of footprints.validate
(EnumMethodValidateContext context) Called by the compiler to allow validation of actual parameters beyond validation of the footprint information that the compiler does automatically.
-
Method Details
-
initialize
Called by the compiler to receive the list of footprints.- Parameters:
context
- contextual information- Returns:
- footprints
-
validate
Called by the compiler to allow validation of actual parameters beyond validation of the footprint information that the compiler does automatically.Can be used to pre-evaluate parameter expressions.
- Parameters:
context
- contextual information- Returns:
- enumeration method descriptor
-