pub struct JavaPlugin;Expand description
Java language plugin — jdtls (Eclipse JDT Language Server).
Requires JDK 21+ to run jdtls. Supports Java 8–25 project analysis.
Marker files searched up to depth 2 to support monorepo layouts
(e.g. services/backend/pom.xml).
Trait Implementations§
Source§impl LanguagePlugin for JavaPlugin
impl LanguagePlugin for JavaPlugin
Source§fn language_id(&self) -> &'static str
fn language_id(&self) -> &'static str
Short identifier used as a map key (e.g.,
"rust", "go", "typescript", "python").Source§fn file_extensions(&self) -> &'static [&'static str]
fn file_extensions(&self) -> &'static [&'static str]
File extensions that this language handles. Read more
Source§fn marker_files(&self) -> &'static [&'static str]
fn marker_files(&self) -> &'static [&'static str]
Marker files that indicate this language is used in the workspace. Read more
Source§fn marker_search_depth(&self) -> u32
fn marker_search_depth(&self) -> u32
Maximum directory depth to search for marker files. Read more
Source§fn lsp_candidates(&self) -> &[LspCandidate]
fn lsp_candidates(&self) -> &[LspCandidate]
LSP binary candidates in preference order. Read more
Source§fn install_hint(&self) -> &'static str
fn install_hint(&self) -> &'static str
Human-readable install guidance when no LSP binary is found.
Auto Trait Implementations§
impl Freeze for JavaPlugin
impl RefUnwindSafe for JavaPlugin
impl Send for JavaPlugin
impl Sync for JavaPlugin
impl Unpin for JavaPlugin
impl UnsafeUnpin for JavaPlugin
impl UnwindSafe for JavaPlugin
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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