public interface TypeI
| Modifier and Type | Method and Description |
|---|---|
ObjectTypeI |
autoboxAndGetObject() |
boolean |
containsArray() |
String |
getDisplayName() |
JSDocInfo |
getJSDocInfo() |
boolean |
isBottom() |
boolean |
isConstructor() |
boolean |
isEquivalentTo(TypeI type) |
boolean |
isFunctionType() |
boolean |
isInstanceofObject() |
boolean |
isInterface() |
boolean |
isNullable() |
boolean |
isOriginalConstructor() |
boolean |
isPrototypeObject() |
boolean |
isSubtypeOf(TypeI type) |
boolean |
isUnknownType() |
TypeI |
restrictByNotNullOrUndefined()
If this is a union type, returns a union type that does not include
the null or undefined type.
|
FunctionTypeI |
toMaybeFunctionType()
Downcasts this to a FunctionTypeI, or returns null if this is not
a function.
|
ObjectTypeI |
toMaybeObjectType()
If this type is a single object, downcast it to ObjectTypeI.
|
boolean isBottom()
boolean isConstructor()
boolean isOriginalConstructor()
boolean isEquivalentTo(TypeI type)
boolean isFunctionType()
boolean isInterface()
boolean isSubtypeOf(TypeI type)
boolean containsArray()
boolean isUnknownType()
boolean isNullable()
boolean isPrototypeObject()
boolean isInstanceofObject()
ObjectTypeI autoboxAndGetObject()
JSDocInfo getJSDocInfo()
TypeI restrictByNotNullOrUndefined()
FunctionTypeI toMaybeFunctionType()
ObjectTypeI toMaybeObjectType()
String getDisplayName()
Copyright © 2009-2016 Google. All Rights Reserved.