Interface Reference
-
- All Superinterfaces:
AstNode
- All Known Implementing Classes:
ConcreteReference,VaporReference
public interface Reference extends AstNode
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaccept(AstNodeVisitor visitor)Writes the syntatically-correct Java code representation of this node.ReferencecopyAndSetGenerics(List<Reference> generics)com.google.common.collect.ImmutableList<String>enclosingClassNames()StringfullName()com.google.common.collect.ImmutableList<Reference>generics()booleanhasEnclosingClass()booleanisAssignableFrom(Reference other)booleanisFromPackage(String pkg)booleanisStaticImport()booleanisSupertypeOrEquals(Reference other)booleanisWildcard()Stringname()Stringpakkage()StringsimpleName()booleanuseFullName()ReferencewildcardUpperBound()
-
-
-
Method Detail
-
accept
void accept(AstNodeVisitor visitor)
Description copied from interface:AstNodeWrites the syntatically-correct Java code representation of this node.
-
generics
com.google.common.collect.ImmutableList<Reference> generics()
-
name
String name()
-
simpleName
String simpleName()
-
fullName
String fullName()
-
pakkage
String pakkage()
-
useFullName
boolean useFullName()
-
isStaticImport
boolean isStaticImport()
-
hasEnclosingClass
boolean hasEnclosingClass()
-
isFromPackage
boolean isFromPackage(String pkg)
-
isSupertypeOrEquals
boolean isSupertypeOrEquals(Reference other)
-
isAssignableFrom
boolean isAssignableFrom(Reference other)
-
isWildcard
boolean isWildcard()
-
-