Klasse Scope.Substitutor

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Scope.Substitutor
Bekannte direkte Unterklassen:
InferenceSubstitution
Umschließende Klasse:
Scope

public static class Scope.Substitutor extends Object
  • Felddetails

  • Konstruktordetails

    • Substitutor

      public Substitutor()
  • Methodendetails

    • substitute

      public ReferenceBinding[] substitute(Substitution substitution, ReferenceBinding[] originalTypes)
      Returns an array of types, where original types got substituted given a substitution. Only allocate an array if anything is different.
    • substitute

      public TypeBinding substitute(Substitution substitution, TypeBinding originalType)
      Returns a type, where original type was substituted using the receiver parameterized type. In raw mode (see Substitution.isRawSubstitution()), all parameterized types are converted to raw types. Cf. 4.8: "The type of a constructor (8.8), instance method (8.4, 9.4), or non-static field (8.3) M of a raw type C that is not inherited from its superclasses or superinterfaces is the raw type that corresponds to the erasure of its type in the generic declaration corresponding to C."
    • substitute

      public TypeBinding[] substitute(Substitution substitution, TypeBinding[] originalTypes)
      Returns an array of types, where original types got substituted given a substitution. Only allocate an array if anything is different.