Klasse ReferenceCollection

java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.builder.ReferenceCollection
Bekannte direkte Unterklassen:
AdditionalTypeCollection

public class ReferenceCollection extends Object
  • Feldübersicht

    Felder
    Modifizierer und Typ
    Feld
    Beschreibung
    static boolean
     
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    ReferenceCollection(char[][][] qualifiedNameReferences, char[][] simpleNameReferences, char[][] rootReferences)
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    void
    addDependencies(String[] typeNameDependencies)
    Add the given fully qualified names to this reference collection.
    boolean
     
    int
     
    boolean
    includes(char[] simpleName)
     
    boolean
    includes(char[][] qualifiedName)
     
    boolean
    includes(char[][][] qualifiedNames, char[][] simpleNames)
    Veraltet. 
    boolean
    includes(char[][][] qualifiedNames, char[][] simpleNames, char[][] rootNames)
     
    boolean
    insideRoot(char[] rootName)
     
    static char[][][]
    internQualifiedNames(char[][][] qualifiedNames)
    Note: this method may change order of the result data, the new array is always sorted.
    static char[][][]
    internQualifiedNames(char[][][] qualifiedNames, boolean keepWellKnown)
    Use a flyweight cache for the char arrays to avoid duplicated arrays with the same contents.
    static char[][][]
    internQualifiedNames(Set<String> qualifiedStrings)
     
    static char[][][]
    internQualifiedNames(StringSet qualifiedStrings)
     
    static char[][]
    internSimpleNames(char[][] simpleNames, boolean removeWellKnown)
    Use a flyweight cache for the char arrays to avoid duplicated arrays with the same contents.
    static char[][]
    internSimpleNames(Set<String> simpleStrings)
    Veraltet. 
    static char[][]
    internSimpleNames(Set<String> simpleStrings, boolean removeWellKnown)
     
    static char[][]
    internSimpleNames(StringSet simpleStrings, boolean removeWellKnown)
     

    Von Klasse geerbte Methoden java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Felddetails

    • REFERENCE_COLLECTION_DEBUG

      public static boolean REFERENCE_COLLECTION_DEBUG
  • Konstruktordetails

    • ReferenceCollection

      public ReferenceCollection(char[][][] qualifiedNameReferences, char[][] simpleNameReferences, char[][] rootReferences)
  • Methodendetails

    • addDependencies

      public void addDependencies(String[] typeNameDependencies)
      Add the given fully qualified names to this reference collection. Subsequent queries of includes(char[][][], char[][], char[][]) will report true if the given names intersect with one of the added type name dependencies.
      Siehe auch:
      • CompilationUnitScope.recordQualifiedReference(char[][])
    • includes

      public boolean includes(char[] simpleName)
    • includes

      public boolean includes(char[][] qualifiedName)
    • includes

      public boolean includes(char[][][] qualifiedNames, char[][] simpleNames)
      Veraltet.
    • includes

      public boolean includes(char[][][] qualifiedNames, char[][] simpleNames, char[][] rootNames)
    • insideRoot

      public boolean insideRoot(char[] rootName)
    • internQualifiedNames

      public static char[][][] internQualifiedNames(Set<String> qualifiedStrings)
    • internQualifiedNames

      public static char[][][] internQualifiedNames(StringSet qualifiedStrings)
    • internQualifiedNames

      public static char[][][] internQualifiedNames(char[][][] qualifiedNames)
      Note: this method may change order of the result data, the new array is always sorted.
    • internQualifiedNames

      public static char[][][] internQualifiedNames(char[][][] qualifiedNames, boolean keepWellKnown)
      Use a flyweight cache for the char arrays to avoid duplicated arrays with the same contents. After calling this method, identity comparison on the array contents of the resulting array will work for arrays with equal content.

      Note: this method may change order of the result data, the new array is always sorted.

      Optionally drops very common qualified names from the array to spare some bytes.

      Gibt zurück:
      a new array with interned elements.
    • internSimpleNames

      public static char[][] internSimpleNames(Set<String> simpleStrings)
      Veraltet.
    • internSimpleNames

      public static char[][] internSimpleNames(Set<String> simpleStrings, boolean removeWellKnown)
    • internSimpleNames

      public static char[][] internSimpleNames(StringSet simpleStrings, boolean removeWellKnown)
    • internSimpleNames

      public static char[][] internSimpleNames(char[][] simpleNames, boolean removeWellKnown)
      Use a flyweight cache for the char arrays to avoid duplicated arrays with the same contents. After calling this method, identity comparison on the array contents of the resulting array will work for arrays with equal content.

      Note: this method may change order of the result data, the new array is always sorted.

      Optionally drops very common qualified names from the array to spare some bytes.

      Gibt zurück:
      a new array with interned elements.
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object obj)
      Setzt außer Kraft:
      equals in Klasse Object