public class NominalType extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
NominalType.RawNominalType
Represents a class or interface as defined in the code.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
static NominalType |
fromRaw(NominalType.RawNominalType rawType) |
com.google.common.collect.ImmutableSet<String> |
getAllPropsOfClass() |
com.google.common.collect.ImmutableSet<String> |
getAllPropsOfInterface() |
int |
getId() |
com.google.common.collect.ImmutableSet<NominalType> |
getInstantiatedInterfaces() |
NominalType |
getInstantiatedSuperclass() |
String |
getName() |
JSType |
getPropDeclaredType(String pname) |
NominalType.RawNominalType |
getRawNominalType() |
int |
hashCode() |
boolean |
isClass() |
boolean |
isFinalized()
True iff it has all properties and the RawNominalType is immutable
|
boolean |
isInterface() |
String |
toString() |
public static NominalType fromRaw(NominalType.RawNominalType rawType)
public NominalType.RawNominalType getRawNominalType()
public String getName()
public int 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 com.google.common.collect.ImmutableSet<NominalType> getInstantiatedInterfaces()
Copyright © 2009-2014 Google. All Rights Reserved.