Klasse ReferenceCollection
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.builder.ReferenceCollection
- Bekannte direkte Unterklassen:
AdditionalTypeCollection
-
Feldübersicht
-
Konstruktorübersicht
KonstruktorBeschreibungReferenceCollection
(char[][][] qualifiedNameReferences, char[][] simpleNameReferences, char[][] rootReferences) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addDependencies
(String[] typeNameDependencies) Add the given fully qualified names to this reference collection.boolean
int
hashCode()
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)
-
Felddetails
-
REFERENCE_COLLECTION_DEBUG
public static boolean REFERENCE_COLLECTION_DEBUG
-
-
Konstruktordetails
-
ReferenceCollection
public ReferenceCollection(char[][][] qualifiedNameReferences, char[][] simpleNameReferences, char[][] rootReferences)
-
-
Methodendetails
-
addDependencies
Add the given fully qualified names to this reference collection. Subsequent queries ofincludes(char[][][], char[][], char[][])
will report true if the given names intersect with one of the added type name dependencies.- Siehe auch:
-
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
-
internQualifiedNames
-
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
Veraltet. -
internSimpleNames
-
internSimpleNames
-
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() -
equals
-