@Beta
public interface SourceTypeLookup
CompilationUnit
.Modifier and Type | Method and Description |
---|---|
AnnotationTypeDeclaration |
findSourceAnnotationType(java.lang.String qualifiedName) |
ClassDeclaration |
findSourceClass(java.lang.String qualifiedName) |
EnumerationTypeDeclaration |
findSourceEnumerationType(java.lang.String qualifiedName) |
InterfaceDeclaration |
findSourceInterface(java.lang.String qualifiedName) |
ClassDeclaration findSourceClass(java.lang.String qualifiedName)
qualifiedName
- the qualified name of the type to look up. Nested class delimiter is expected to be the '.' (dot).ClassDeclaration
with given qualified
name, or null
if no such class declaration is
contained in the currently processed CompilationUnit
InterfaceDeclaration findSourceInterface(java.lang.String qualifiedName)
qualifiedName
- the qualified name of the type to look up. Nested class delimiter is expected to be the '.' (dot).InterfaceDeclaration
with given qualified
name, or null
if no such interface declaration is
contained in the currently processed CompilationUnit
EnumerationTypeDeclaration findSourceEnumerationType(java.lang.String qualifiedName)
qualifiedName
- the qualified name of the type to look up. Nested class delimiter is expected to be the '.' (dot).EnumerationTypeDeclaration
with given
qualified name, or null
if no such class declaration
is contained in the currently processed
CompilationUnit
AnnotationTypeDeclaration findSourceAnnotationType(java.lang.String qualifiedName)
qualifiedName
- the qualified name of the type to look up. Nested class delimiter is expected to be the '.' (dot).AnnotationTypeDeclaration
with given
qualified name, or null
if no such class declaration
is contained in the currently processed
CompilationUnit