Interface Reference

All Superinterfaces:
AstNode
All Known Implementing Classes:
ConcreteReference, VaporReference

public interface Reference extends AstNode
  • Method Details

    • accept

      void accept(AstNodeVisitor visitor)
      Description copied from interface: AstNode
      Writes the syntatically-correct Java code representation of this node.
      Specified by:
      accept in interface AstNode
    • generics

      com.google.common.collect.ImmutableList<Reference> generics()
    • name

      String name()
    • simpleName

      String simpleName()
    • fullName

      String fullName()
    • pakkage

      String pakkage()
    • useFullName

      boolean useFullName()
    • enclosingClassNames

      @Nullable com.google.common.collect.ImmutableList<String> enclosingClassNames()
    • wildcardUpperBound

      @Nullable Reference wildcardUpperBound()
    • copyAndSetGenerics

      Reference copyAndSetGenerics(List<Reference> generics)
    • isStaticImport

      boolean isStaticImport()
    • hasEnclosingClass

      boolean hasEnclosingClass()
    • isFromPackage

      boolean isFromPackage(String pkg)
    • isSupertypeOrEquals

      boolean isSupertypeOrEquals(Reference other)
    • isAssignableFrom

      boolean isAssignableFrom(Reference other)
    • isWildcard

      boolean isWildcard()