pub struct JavaValidator;Expand description
Java validator using javac and checkstyle
Implementations§
Source§impl JavaValidator
impl JavaValidator
Sourcepub fn check_common_issues(
&self,
content: &str,
file_path: &str,
) -> Vec<ValidationError>
pub fn check_common_issues( &self, content: &str, file_path: &str, ) -> Vec<ValidationError>
Checks for common Java issues
Sourcepub fn check_raw_types(
&self,
content: &str,
file_path: &str,
) -> Vec<ValidationWarning>
pub fn check_raw_types( &self, content: &str, file_path: &str, ) -> Vec<ValidationWarning>
Checks for raw type usage
Trait Implementations§
Source§impl Clone for JavaValidator
impl Clone for JavaValidator
Source§fn clone(&self) -> JavaValidator
fn clone(&self) -> JavaValidator
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for JavaValidator
impl Debug for JavaValidator
Source§impl Default for JavaValidator
impl Default for JavaValidator
Source§impl LanguageValidator for JavaValidator
impl LanguageValidator for JavaValidator
Auto Trait Implementations§
impl Freeze for JavaValidator
impl RefUnwindSafe for JavaValidator
impl Send for JavaValidator
impl Sync for JavaValidator
impl Unpin for JavaValidator
impl UnwindSafe for JavaValidator
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