public final class NominalType extends Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
com.google.common.collect.ImmutableSet<String> |
getAllPropsOfClass() |
com.google.common.collect.ImmutableSet<String> |
getAllPropsOfInterface() |
RawNominalType |
getId() |
JSType |
getInstanceAsJSType() |
com.google.common.collect.ImmutableSet<NominalType> |
getInstantiatedInterfaces() |
NominalType |
getInstantiatedSuperclass() |
String |
getName() |
JSType |
getPropDeclaredType(String pname) |
JSType |
getPrototype() |
RawNominalType |
getRawNominalType() |
boolean |
hasConstantProp(String pname) |
int |
hashCode() |
boolean |
isBuiltinObject() |
boolean |
isClass() |
boolean |
isDict() |
boolean |
isFinalized() |
boolean |
isGeneric() |
boolean |
isInterface() |
boolean |
isStruct() |
boolean |
isUninstantiatedGenericType() |
String |
toString() |
public RawNominalType getRawNominalType()
public JSType getInstanceAsJSType()
public boolean isBuiltinObject()
public boolean isStruct()
public boolean isDict()
public boolean isGeneric()
public boolean isUninstantiatedGenericType()
public String getName()
public RawNominalType getId()
public boolean isClass()
public boolean isInterface()
public boolean isFinalized()
public com.google.common.collect.ImmutableSet<String> getAllPropsOfInterface()
public com.google.common.collect.ImmutableSet<String> getAllPropsOfClass()
public NominalType getInstantiatedSuperclass()
public JSType getPrototype()
public com.google.common.collect.ImmutableSet<NominalType> getInstantiatedInterfaces()
public boolean hasConstantProp(String pname)
Copyright © 2009–2023 Google. All rights reserved.