MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / constructor

Method constructor

lib/compilers/java.ts:59–71  ·  view source on GitHub ↗
(compilerInfo: PreliminaryCompilerInfo, env: CompilationEnvironment)

Source from the content-addressed store, hash-verified

57 libPaths: string[];
58
59 constructor(compilerInfo: PreliminaryCompilerInfo, env: CompilationEnvironment) {
60 super(
61 {
62 // Default is to disable all "cosmetic" filters
63 disabledFilters: ['labels', 'directives', 'commentOnly', 'trim', 'debugCalls'],
64 ...compilerInfo,
65 },
66 env,
67 );
68 this.javaRuntime = this.compilerProps<string>(`compiler.${this.compiler.id}.runtime`);
69 this.mainRegex = /public static ?(.*?) void main\(java\.lang\.String\[]\)/;
70 this.libPaths = [];
71 }
72
73 override getSharedLibraryPathsAsArguments() {
74 return [];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected