public class HandleFactory
extends java.lang.Object
| Constructor and Description |
|---|
HandleFactory() |
| Modifier and Type | Method and Description |
|---|---|
IJavaElement |
createElement(ClassScope scope,
ICompilationUnit unit,
java.util.HashSet existingElements,
java.util.HashMap knownScopes)
Returns a handle denoting the class member identified by its scope.
|
IJavaElement |
createElement(Scope scope,
int elementPosition,
ICompilationUnit unit,
java.util.HashSet existingElements,
java.util.HashMap knownScopes)
Create handle by adding child to parent obtained by recursing into parent scopes.
|
IJavaElement |
createLambdaTypeElement(LambdaExpression expression,
ICompilationUnit unit,
java.util.HashSet existingElements,
java.util.HashMap knownScopes)
Returns a handle denoting the lambda type identified by its scope.
|
Openable |
createOpenable(java.lang.String resourcePath,
IJavaSearchScope scope)
Creates an Openable handle from the given resource path.
|
public Openable createOpenable(java.lang.String resourcePath, IJavaSearchScope scope)
public IJavaElement createElement(ClassScope scope, ICompilationUnit unit, java.util.HashSet existingElements, java.util.HashMap knownScopes)
public IJavaElement createLambdaTypeElement(LambdaExpression expression, ICompilationUnit unit, java.util.HashSet existingElements, java.util.HashMap knownScopes)
public IJavaElement createElement(Scope scope, int elementPosition, ICompilationUnit unit, java.util.HashSet existingElements, java.util.HashMap knownScopes)