T
- The type of information stored about the slotpublic interface StaticSlot<T>
StaticSlot
interface must be implemented by variables that can
appear as members of a StaticScope
.Modifier and Type | Method and Description |
---|---|
StaticReference<T> |
getDeclaration()
Gets the declaration of this symbol.
|
JSDocInfo |
getJSDocInfo()
Gets the JSDoc for this slot.
|
String |
getName()
Gets the name of the slot.
|
T |
getType()
Returns the type information, if any, for this slot.
|
boolean |
isTypeInferred()
Returns whether the type has been inferred (as opposed to declared).
|
String getName()
T getType()
null
if no type is declared for it.boolean isTypeInferred()
StaticReference<T> getDeclaration()
JSDocInfo getJSDocInfo()
Copyright © 2009–2018 Google. All rights reserved.