@Beta public interface TypeLookup extends GlobalTypeLookup
CompilationUnit as well as on the classpath of that CompilationUnit.| Modifier and Type | Method and Description |
|---|---|
MutableAnnotationTypeDeclaration |
findAnnotationType(java.lang.String qualifiedName) |
MutableClassDeclaration |
findClass(java.lang.String qualifiedName) |
MutableEnumerationTypeDeclaration |
findEnumerationType(java.lang.String qualifiedName) |
MutableInterfaceDeclaration |
findInterface(java.lang.String qualifiedName) |
findTypeGlobally, findTypeGloballyMutableClassDeclaration findClass(java.lang.String qualifiedName)
qualifiedName - the qualified name of the type to look up. Nested class delimiter is expected to be the '.' (dot).MutableClassDeclaration with given qualified
name, or null if no such class declaration is
contained in the currently processed CompilationUnitMutableInterfaceDeclaration findInterface(java.lang.String qualifiedName)
qualifiedName - the qualified name of the type to look up. Nested class delimiter is expected to be the '.' (dot).MutableInterfaceDeclaration with given qualified
name, or null if no such interface declaration is
contained in the currently processed CompilationUnitMutableEnumerationTypeDeclaration findEnumerationType(java.lang.String qualifiedName)
qualifiedName - the qualified name of the type to look up. Nested class delimiter is expected to be the '.' (dot).MutableEnumerationTypeDeclaration with given
qualified name, or null if no such class declaration
is contained in the currently processed
CompilationUnitMutableAnnotationTypeDeclaration findAnnotationType(java.lang.String qualifiedName)
qualifiedName - the qualified name of the type to look up. Nested class delimiter is expected to be the '.' (dot).MutableAnnotationTypeDeclaration with given
qualified name, or null if no such class declaration
is contained in the currently processed
CompilationUnit