Class ConcreteReference
- java.lang.Object
-
- com.google.api.generator.engine.ast.ConcreteReference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConcreteReference.Builder
-
Constructor Summary
Constructors Constructor Description ConcreteReference()
-
Method Summary
-
-
-
Method Detail
-
accept
public void accept(AstNodeVisitor visitor)
Description copied from interface:AstNodeWrites the syntatically-correct Java code representation of this node.
-
wildcardUpperBound
@Nullable public abstract Reference wildcardUpperBound()
- Specified by:
wildcardUpperBoundin interfaceReference
-
generics
public abstract com.google.common.collect.ImmutableList<Reference> generics()
-
isStaticImport
public abstract boolean isStaticImport()
- Specified by:
isStaticImportin interfaceReference
-
simpleName
public String simpleName()
- Specified by:
simpleNamein interfaceReference
-
useFullName
public abstract boolean useFullName()
- Specified by:
useFullNamein interfaceReference
-
enclosingClassNames
public com.google.common.collect.ImmutableList<String> enclosingClassNames()
- Specified by:
enclosingClassNamesin interfaceReference
-
hasEnclosingClass
public boolean hasEnclosingClass()
- Specified by:
hasEnclosingClassin interfaceReference
-
isFromPackage
public boolean isFromPackage(String pkg)
- Specified by:
isFromPackagein interfaceReference
-
isSupertypeOrEquals
public boolean isSupertypeOrEquals(Reference other)
- Specified by:
isSupertypeOrEqualsin interfaceReference
-
isAssignableFrom
public boolean isAssignableFrom(Reference other)
- Specified by:
isAssignableFromin interfaceReference
-
isWildcard
public boolean isWildcard()
- Specified by:
isWildcardin interfaceReference
-
copyAndSetGenerics
public Reference copyAndSetGenerics(List<Reference> generics)
- Specified by:
copyAndSetGenericsin interfaceReference
-
withClazz
public static ConcreteReference withClazz(Class<?> clazz)
-
wildcard
public static ConcreteReference wildcard()
-
wildcardWithUpperBound
public static ConcreteReference wildcardWithUpperBound(Reference upperBoundReference)
-
builder
public static ConcreteReference.Builder builder()
-
-