String[] | arrayConcat(String[] first, String second) Returns a new array adding the second array at the end of first array. |
int | combineHashCodes(int hashCode1, int hashCode2) Combines two hash codes to make a new one. |
char[] | concatCompoundNameToCharArray(String[] compoundName) Concatenate a String[] compound name to a continuous char[]. |
String | concatenateName(String name1, String name2, char separator)
|
String | concatWith(String[] array, char separator) Returns the concatenation of the given array parts using the given separator between each part. |
String | concatWith(String[] array, String name, char separator) Returns the concatenation of the given array parts using the given separator between each part and appending the given name at the end. |
String | defaultJavaExtension()
|
String | editedString(String original, TextEdit edit) Apply the given edit on the given string and return the updated string. |
boolean | equalArraysOrNull(int[] a, int[] b) Compares two arrays using equals() on the elements. |
boolean | equalArraysOrNull(Object[] a, Object[] b) Compares two arrays using equals() on the elements. |
boolean | equalsIgnoreJavaLikeExtension(String fileName, String string)
|
String | findLineSeparator(char[] text) Finds the first line separator used by the given text. |
void | fixTaskTags(Map defaultOptionsMap)
|
char[][][] | getAllTypeArguments(char[][] typeSignatures) Get all type arguments from an array of signatures. |
String | getDeclaringTypeSignature(String key)
|
char[][] | getJavaLikeExtensions() Returns the registered Java like extensions. |
String | getLineSeparator(String text, IJavaProject project) Returns the line separator found in the given text. |
String | getLineSeparator(char[] text, char[] buffer) Returns the line separator used by the given buffer. |
String | getNameWithoutJavaLikeExtension(String fileName) Returns the substring of the given file name, ending at the start of a Java like extension. |
IPackageFragment | getPackageFragment(char[] fileName, int pkgEnd, int jarSeparator)
|
String | getProblemArgumentsForMarker(String[] arguments) Put all the arguments in one String. |
byte[] | getResourceContentsAsByteArray(IFile file) Returns the given file's contents as a byte array. |
char[] | getResourceContentsAsCharArray(IFile file) Returns the given file's contents as a character array. |
char[] | getResourceContentsAsCharArray(IFile file, String encoding)
|
String | getSignature(Type type)
|
String[] | getTrimmedSimpleNames(String name) Returns a trimmed version the simples names returned by Signature. |
JavaElement | getUnresolvedJavaElement(FieldBinding binding, WorkingCopyOwner workingCopyOwner, BindingsToNodesMap bindingsToNodes) Return the java element corresponding to the given compiler binding. |
JavaElement | getUnresolvedJavaElement(int localSourceStart, int localSourceEnd, JavaElement type) Returns the IInitializer that contains the given local variable in the given type |
JavaElement | getUnresolvedJavaElement(MethodBinding methodBinding, WorkingCopyOwner workingCopyOwner, BindingsToNodesMap bindingsToNodes) Return the java element corresponding to the given compiler binding. |
JavaElement | getUnresolvedJavaElement(TypeBinding typeBinding, WorkingCopyOwner workingCopyOwner, BindingsToNodesMap bindingsToNodes) Return the java element corresponding to the given compiler binding. |
int | indexOfJavaLikeExtension(String fileName)
|
boolean | isExcluded(IPath resourcePath, char[][] inclusionPatterns, char[][] exclusionPatterns, boolean isFolderPath)
|
boolean | isExcluded(IResource resource, char[][] inclusionPatterns, char[][] exclusionPatterns)
|
boolean | isExcluded(IJavaElement element)
|
boolean | isJavaLikeFileName(String name) Returns true if the given name ends with one of the known java like extension. |
boolean | isJavaLikeFileName(char[] fileName) Returns true if the given name ends with one of the known java like extension. |
boolean | isReadOnly(IResource resource) Returns whether the given resource is read-only or not. |
boolean | isValidClassFileName(String name, String sourceLevel, String complianceLevel) Validate the given .class file name. |
boolean | isValidCompilationUnitName(String name, String sourceLevel, String complianceLevel) Validate the given compilation unit name. |
boolean | isValidFolderNameForPackage(String folderName, String sourceLevel, String complianceLevel) Returns true if the given folder name is valid for a package, false if it is not. |
String | localTypeName(String binaryTypeName, int lastDollar, int end)
|
void | log(Throwable e, String message)
|
void | log(int statusErrorID, String message)
|
void | log(IStatus status)
|
void | log(Throwable e)
|
ClassFileReader | newClassFileReader(IResource resource)
|
String | packageName(IPath pkgPath, String sourceLevel, String complianceLevel) Converts the given relative path into a package name. |
String | relativePath(IPath fullPath, int skipSegmentCount) Returns the toString() of the given full path minus the first given number of segments. |
void | resetJavaLikeExtensions()
|
int | scanTypeSignature(char[] string, int start) Scans the given string for a type signature starting at the given index and returns the index of the last character. |
void | setReadOnly(IResource resource, boolean readOnly) Sets or unsets the given resource as read-only in the file system. |
void | sort(char[][] list)
|
void | sort(Comparable[] objects) Sorts an array of Comparable objects in place. |
void | sort(int[] list)
|
void | sort(String[] strings) Sorts an array of strings in place using quicksort. |
void | sort(Object[] objects, Comparer comparer) Sorts an array of objects in place. |
String[] | splitOn(char divider, String string, int start, int end) Return a new array which is the split of the given string using the given divider. |
char[][] | splitTypeLevelsSignature(String typeSignature) Split signatures of all levels from a type unique key. |
boolean | startsWithIgnoreCase(String[] compoundName, String[] prefix, boolean partialMatch)
|
String | toAnchor(int startingIndex, char[] methodSignature, String methodName, boolean isVarArgs)
|
char[] | toAnchor(int startingIndex, char[] methodSignature, char[] methodName, boolean isVargArgs)
|
char[][] | toCharArrays(String[] a) Converts a String[] to char[][]. |
File | toLocalFile(URI uri, IProgressMonitor monitor)
|
String[] | typeParameterSignatures(AbstractMethodDeclaration method)
|
String | typeSignature(TypeReference type)
|
void | verbose(String log)
|
void | verbose(String log, PrintStream printStream)
|