Class VaporReference
- java.lang.Object
-
- com.google.api.generator.engine.ast.VaporReference
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVaporReference.Builder
-
Constructor Summary
Constructors Constructor Description VaporReference()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaccept(AstNodeVisitor visitor)Writes the syntatically-correct Java code representation of this node.static VaporReference.Builderbuilder()ReferencecopyAndSetGenerics(List<Reference> generics)abstract com.google.common.collect.ImmutableList<String>enclosingClassNames()booleanequals(Object o)StringfullName()abstract com.google.common.collect.ImmutableList<Reference>generics()booleanhasEnclosingClass()inthashCode()booleanisAssignableFrom(Reference other)booleanisFromPackage(String pkg)abstract booleanisStaticImport()booleanisSupertypeOrEquals(Reference other)booleanisWildcard()abstract Stringname()abstract Stringpakkage()abstract StringsimpleName()abstract ReferencesupertypeReference()abstract booleanuseFullName()ReferencewildcardUpperBound()
-
-
-
Method Detail
-
accept
public void accept(AstNodeVisitor visitor)
Description copied from interface:AstNodeWrites the syntatically-correct Java code representation of this node.
-
generics
public abstract com.google.common.collect.ImmutableList<Reference> generics()
-
simpleName
public abstract String simpleName()
- Specified by:
simpleNamein interfaceReference
-
useFullName
public abstract boolean useFullName()
- Specified by:
useFullNamein interfaceReference
-
enclosingClassNames
@Nullable public abstract com.google.common.collect.ImmutableList<String> enclosingClassNames()
- Specified by:
enclosingClassNamesin interfaceReference
-
wildcardUpperBound
@Nullable public Reference wildcardUpperBound()
- Specified by:
wildcardUpperBoundin interfaceReference
-
isStaticImport
public abstract boolean isStaticImport()
- Specified by:
isStaticImportin 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
-
builder
public static VaporReference.Builder builder()
-
-