A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.scala-lang.org/api/2.13.2/scala-reflect/scala/reflect/api/Symbols$Symbol.html below:

Scala Reflection Library 2.13.2 - scala.reflect.api.Symbols.Symbol

  •  abstract def alternatives: List[Universe.Symbol]

    The overloaded alternatives of this symbol.

  •  abstract def annotations: List[Universe.Annotation]

    A list of annotations attached to this Symbol.

  •  abstract def companion: Universe.Symbol

    For a class: its companion object if exists.

  •  abstract def filter(cond: (Universe.Symbol) => Boolean): Universe.Symbol

    Filters the underlying alternatives (or a single-element list composed of the symbol itself if the symbol is not overloaded).

  •  abstract def fullName: String

    The encoded full path name of this symbol, where outer names and inner names are separated by periods.

  •  abstract def info: Universe.Type

    The type signature of this symbol.

  •  abstract def infoIn(site: Universe.Type): Universe.Type

    The type signature of this symbol seen as a member of given type site.

  •  abstract def isAbstract: Boolean

    Is this symbol abstract (i.e.

  •  abstract def isAbstractOverride: Boolean

    Is this symbol labelled as "abstract override"?

  •  abstract def isConstructor: Boolean

    Does this method represent a constructor?

  •  abstract def isFinal: Boolean

    Is this symbol final?

  •  abstract def isImplementationArtifact: Boolean

    Does this symbol represent an implementation artifact that isn't meant for public use? Examples of such artifacts are erasure bridges and outer fields.

  •  abstract def isImplicit: Boolean

    Does this symbol represent an implicit value, definition, class or parameter?

  •  abstract def isJava: Boolean

    Is this symbol defined by Java?

  •  abstract def isJavaAnnotation: Boolean

    Does this symbol represent a java annotation interface?

  •  abstract def isJavaEnum: Boolean

    Does this symbol represent a java enum class or a java enum value?

  •  abstract def isMacro: Boolean

    Is this symbol a macro?

  •  abstract def isPackage: Boolean

    Does this symbol represent the definition of a package? Known issues: https://github.com/scala/bug/issues/6732.

  •  abstract def isPackageClass: Boolean

    Does this symbol represent a package class? If yes, isClass is also guaranteed to be true.

  •  abstract def isParameter: Boolean

    Is this symbol a parameter (either a method parameter or a type parameter)?

  •  abstract def isPrivate: Boolean

    Does this symbol represent a private declaration or definition? If yes, privateWithin might tell more about this symbol's visibility scope.

  •  abstract def isPrivateThis: Boolean

    Does this symbol represent a declaration or definition written in a source file as private[this] or generated in tree/symbol form with the combination of flags LOCAL and PRIVATE? If yes, isPrivate is guaranteed to be true.

  •  abstract def isProtected: Boolean

    Does this symbol represent a protected declaration or definition? If yes, privateWithin might tell more about this symbol's visibility scope.

  •  abstract def isProtectedThis: Boolean

    Does this symbol represent a declaration or definition written in a source file as protected[this] or generated in tree/symbol form with the combination of flags LOCAL and PROTECTED? If yes, isProtected is guaranteed to be true,

  •  abstract def isPublic: Boolean

    Does this symbol represent a public declaration or definition?

  •  abstract def isSpecialized: Boolean

    Is this symbol a specialized type parameter or a generated specialized member?

  •  abstract def isStatic: Boolean

    Is this symbol static (i.e.

  •  abstract def isSynthetic: Boolean

    Does this symbol represent a synthetic (i.e.

  •  abstract def map(f: (Universe.Symbol) => Universe.Symbol): Universe.Symbol

    If this is a NoSymbol, returns NoSymbol, otherwise returns the result of applying f to this symbol.

  •  abstract def name: NameType

    The name of the symbol as a member of the Name type.

  •  abstract def orElse(alt: => Universe.Symbol): Universe.Symbol

    Provides an alternate if symbol is a NoSymbol.

  •  abstract def overrides: List[Universe.Symbol]

    Returns all symbols overridden by this symbol.

  •  abstract def owner: Universe.Symbol

    The owner of this symbol.

  •  abstract def pos: Universe.Position

    Position of the tree.

  •  abstract def privateWithin: Universe.Symbol

    Set when symbol has a modifier of the form private[X] or protected[X], NoSymbol otherwise.

  •  abstract def suchThat(cond: (Universe.Symbol) => Boolean): Universe.Symbol

    Does the same as filter, but crashes if there are multiple matches.

  •  abstract def typeSignature: Universe.Type
  •  abstract def typeSignatureIn(site: Universe.Type): Universe.Type
  •  abstract def allOverriddenSymbols: List[Universe.Symbol]
  •  abstract def associatedFile: AbstractFile

    Source file if this symbol is created during this compilation run, or a class file if this symbol is loaded from a *.class or *.jar.

  •  abstract def companionSymbol: Universe.Symbol

    For a class: the module or case class factory with the same name in the same package.


  • RetroSearch is an open source project built by @garambo | Open a GitHub Issue

    Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

    HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4