pub struct JavaAnalyzer { /* private fields */ }Expand description
Java language analyzer using tree-sitter.
Implementations§
Trait Implementations§
Source§impl LanguageAnalyzer for JavaAnalyzer
impl LanguageAnalyzer for JavaAnalyzer
Source§fn file_extensions(&self) -> &[&str]
fn file_extensions(&self) -> &[&str]
File extensions this analyzer handles (e.g., &[“go”])
Source§fn parse_file(&self, path: &Path, content: &str) -> Result<ParsedFile>
fn parse_file(&self, path: &Path, content: &str) -> Result<ParsedFile>
Parse a source file into a ParsedFile.
Source§fn extract_components(&self, parsed: &ParsedFile) -> Vec<Component>
fn extract_components(&self, parsed: &ParsedFile) -> Vec<Component>
Extract architectural components from a parsed file.
Source§fn extract_dependencies(&self, parsed: &ParsedFile) -> Vec<Dependency>
fn extract_dependencies(&self, parsed: &ParsedFile) -> Vec<Dependency>
Extract dependencies (imports, type references, etc.) from a parsed file.
Auto Trait Implementations§
impl Freeze for JavaAnalyzer
impl RefUnwindSafe for JavaAnalyzer
impl Send for JavaAnalyzer
impl Sync for JavaAnalyzer
impl Unpin for JavaAnalyzer
impl UnsafeUnpin for JavaAnalyzer
impl UnwindSafe for JavaAnalyzer
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more