skipDeclaringClassCapture

When true, MetamodelEntity construction will not capture declaringClass via StackWalker. The PSI materializer should set this on its scope — in source-mode the stack-walk would otherwise point at the materializer class itself, which is meaningless for rule evaluation. The materializer instead sets identity explicitly via MetamodelEntity.bindToSource.

Default false so the compiled-path behavior is unchanged.

Generated with STIG