aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/analysis
diff options
context:
space:
mode:
authorGravatar cparsons <cparsons@google.com>2018-04-24 08:07:02 -0700
committerGravatar Copybara-Service <copybara-piper@google.com>2018-04-24 08:09:17 -0700
commit0e86686e3b1769213f70fef08047946d3d29db29 (patch)
tree9720596348f871070b9c7e651d4bd9bcc78c19f7 /src/main/java/com/google/devtools/build/lib/analysis
parent451d2c9cd67d5d29e85784f403053f10b6e119ef (diff)
Introduce @SkylarkCallable.selfCall, to signify the containing class should be treated as a callable skylark object.
This will allow Skylark Provider objects to be better specified. For example, "JavaInfo" can have a fully-documented, fully-specified @SkylarkCallable method with selfCall=true to represent the method JavaInfo(), instead of being a subclass of BaseFunction and requiring a @SkylarkSignature annotation. There are no usages of this pattern introduced in this CL, and also no updates to docgen to support the new pattern. These will be introduced in another CL. RELNOTES: None. PiperOrigin-RevId: 194088227
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/analysis')
0 files changed, 0 insertions, 0 deletions