java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Scope
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ClassScope
Bekannte direkte Unterklassen:
InterTypeScope

public class ClassScope extends Scope
  • Felddetails

  • Konstruktordetails

  • Methodendetails

    • checkParameterizedSuperTypeCollisions

      public void checkParameterizedSuperTypeCollisions()
    • checkParameterizedTypeBounds

      public void checkParameterizedTypeBounds()
    • detectHierarchyCycle

      public boolean detectHierarchyCycle(TypeBinding superType, TypeReference reference)
    • problemReporter

      public ProblemReporter problemReporter()
      Beschreibung aus Klasse kopiert: Scope
      See also the contract of ProblemReporter.close().
      Angegeben von:
      problemReporter in Klasse Scope
    • referenceType

      public TypeDeclaration referenceType()
    • hasDefaultNullnessFor

      public boolean hasDefaultNullnessFor(int location, int sourceStart)
      Beschreibung aus Klasse kopiert: Scope
      Answer a defaultNullness defined for the closest enclosing scope, using bits from Binding.NullnessDefaultMASK.
      Setzt außer Kraft:
      hasDefaultNullnessFor in Klasse Scope
    • checkRedundantDefaultNullness

      public Binding checkRedundantDefaultNullness(int nullBits, int sourceStart)
      Beschreibung aus Klasse kopiert: Scope
      Check whether the given null default is redundant at the given position inside this scope.
      Setzt außer Kraft:
      checkRedundantDefaultNullness in Klasse Scope
      Parameter:
      nullBits - locally defined nullness default, see Binding.NullnessDefaultMASK
      sourceStart -
      Gibt zurück:
      enclosing binding that already has a matching NonNullByDefault annotation, or the special binding Scope.NOT_REDUNDANT, indicating that a different enclosing nullness default was found, or null to indicate that no enclosing nullness default was found.
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object
    • addDepth

      public int addDepth()
    • invocationType

      public SourceTypeBinding invocationType()
      Beschreibung aus Klasse kopiert: Scope
      For Java scopes, the invocationType is always the same as the enclosingSourceType This distinction is important for AspectJ's inter-type declarations For inter-type declarations, the invocationType is the lexically enclosing type.
      Setzt außer Kraft:
      invocationType in Klasse Scope