pub struct JavaParser;Expand description
Parses Java dependencies from pom.xml and build.gradle
Implementations§
Source§impl JavaParser
impl JavaParser
Sourcepub fn parse(&self, root: &Path) -> Result<Vec<Dependency>, ResearchError>
pub fn parse(&self, root: &Path) -> Result<Vec<Dependency>, ResearchError>
Parses dependencies from pom.xml or build.gradle
Sourcepub fn has_manifest(&self, root: &Path) -> bool
pub fn has_manifest(&self, root: &Path) -> bool
Checks if Java manifest files exist
Trait Implementations§
Source§impl Debug for JavaParser
impl Debug for JavaParser
Auto Trait Implementations§
impl Freeze for JavaParser
impl RefUnwindSafe for JavaParser
impl Send for JavaParser
impl Sync for JavaParser
impl Unpin for JavaParser
impl UnwindSafe for JavaParser
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