Package spoon.support

Annotation Type UnsettableProperty


@Retention(RUNTIME) @Target(METHOD) public @interface UnsettableProperty
Tells that a metamodel property (ie a getter in metamodel interface) is unsettable because it does not make sense for a certain metamodel element. This is used when the Java static type system cannot express this contract. For instance, a catch variable cannot have a default expression.